We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Taking Equations using Aspose


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.

Thanks for your request. The equation in your document is represented as OfficeMath. Please see the attached screenshot.
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,