OfficeMath

Trying to read the contents of an office math object into word.
I need to convert the equations into our own format.
All I can get back is getText() which doesn’t have what I need. I.E. integrals, /.

I found a thread in this area

But it was a year ago . Can anyone point me in the correct direction ?

All help gratefully accepted.

Hi George,

Thanks for your inquiry. We will consider providing an API to be able to export individual nodes (such as Paragraphs) to WordML/OOXML format as per WORDSNET-8078. After this feature is available, you'll be able to export equations to OOXML. Your request has been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

Hi Awais,



Thanks for your response. This could be an issue for me but I may not be understanding this correctly.



Can you tell me how to get equation details out of an officeMath object so I can present them in HTML ?



Are we saying this is impossible at the moment ?



Cheers,

JMC

Hi George,


Thanks for your inquiry. Yes, currently you can not export an OfficeMath object to WordML/OOXML format. However, you can export equations to HTML/TXT formats as follows:

OfficeMath.ToString(SaveFormat.Html);

We will inform you via this thread as soon as exporting to WordML format is supported. We apologize for any inconvenience.

Best regards,