[Solved] How to read embeded MathMl from odt file

Writing a book, Automating Document Production - Discuss your special needs here
Post Reply
MeghaG
Posts: 2
Joined: Sun May 14, 2017 6:59 am

[Solved] How to read embeded MathMl from odt file

Post by MeghaG »

Hi,

I am trying to read a odt file to store the contain data into my database.
My odt file have images,Mathml equations etc..
I am not able to read MathMl/images formula from it.
When I am loading the comtent.xml document of odt file in place of MathMl I am getting plain string "Formula".
I want to gt mathml tag of it so that i can store in database and able to show it on webpages.

Please help me with java api/example to achieve the goal.
ps : I have tried odftoolkit.

Thanks in advance
Last edited by Hagar Delest on Mon May 15, 2017 9:11 am, edited 1 time in total.
Reason: tagged [Solved].
openoffice4 in ubantu16
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: How to read embeded MathMl from Odt file

Post by Villeroy »

Open the document file with a visual zip tool. You will find one or more sub folders "Object n"
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
MeghaG
Posts: 2
Joined: Sun May 14, 2017 6:59 am

Re: How to read embeded MathMl from Odt file

Post by MeghaG »

Thanks a lot @Villeroy... you saved me ...
openoffice4 in ubantu16
Post Reply