Read Data from an odt file using vbscript

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
AbdulMoid
Posts: 1
Joined: Fri Mar 27, 2020 10:11 am

Read Data from an odt file using vbscript

Post by AbdulMoid »

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
User avatar
Villeroy
Volunteer
Posts: 31269
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Read Data from an odt file using vbscript

Post by Villeroy »

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 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply