Taking Equations using Aspose

Hi,

I am using Aspose Words for Java. I inserted a simple equation in MSWord. I tried to take to equation text using aspose api, but getting only partial output.I have attached the document.Please suggest atleast to take the text completely.

Hi
Thanks for your request. The equation in your document is represented as OfficeMath. Please see the attached screenshot.
https://reference.aspose.com/words/java/com.aspose.words/OfficeMath
OfficeMath nodes are not just containers of equation text, they also contains information about complex operation, like Sum, Integral etc. Unfortunately, in the current version you cannot get properties of these nodes. Since OfficeMath.ToTxt() returns only text, you do not see some of operations in this text. Unfortunately, in the current version there is no way to fully parse the equations.
Best regards,