Read Data from an odt file using vbscript

Java, C++, C#, Delphi, ??? - Using the UNO bridges

Read Data from an odt file using vbscript

Postby AbdulMoid » Fri Mar 27, 2020 10:15 am

Hi all,

I am trying to read data from an .odt file using vbscript in UFT but couldn't find any luck. Can anyone help?
Last edited by MrProgrammer on Fri Mar 27, 2020 4:07 pm, edited 1 time in total.
Reason: Moved from Writer forum to External Programs
LibreOffice Version: 6.3.0.4 on Windows 10
AbdulMoid
 
Posts: 1
Joined: Fri Mar 27, 2020 10:11 am

Re: Read Data from an odt file using vbscript

Postby Villeroy » Fri Mar 27, 2020 12:57 pm

It is a zip archive. All the text is in context.xml. For detailed specifications, refer to http://opendocumentformat.org/
Use your preferred XML parser and read all the text betweeen <text> </text> tags.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, no OpenOffice, LibreOffice 6.4
User avatar
Villeroy
Volunteer
 
Posts: 28341
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany


Return to External Programs

Who is online

Users browsing this forum: No registered users and 2 guests