How do I extract OMML or MathML from an OfficeMath object?
Hi Alex,
<span style=“font-size:
10.0pt;font-family:“Courier New”;color:#2B91AF;mso-no-proof:yes”>Document<span style=“font-size:10.0pt;font-family:“Courier New”;mso-no-proof:yes”> doc = new Document(MyDir
- “in.docx”);<o:p></o:p>
foreach (OfficeMath om in doc.GetChildNodes(NodeType.OfficeMath, true))
{
Console.Write(om.GetText());
}
doc.Save(MyDir + "out.html");
Hello again Tahir,
Hi Alex,
Hi Alex,
Hi Awais (or other Aspose support members reading this thread)
How is this enquiry progressing? Identify a way to properly support Math equations converting documents is a high priority feature for us. Exporting to images just won’t cut it unfortunately and is not a solution for us.
Rodney Tamblyn
CEO | OceanBrowser Ltd
http://ob3.cc @ocnb3
Hi Rodney,
Hi Awais,
Hi Alex,
Document doc = new Document(“c:\temp\x.docx”);Node[] equations = doc.getChildNodes(NodeType.OFFICE_MATH, true).toArray();
OfficeMath eq = (OfficeMath)equations[0];
eq.removeAllChildren();
eq.remove();doc.save(“C:\Temp\out.docx”);
Could you please ask somebody else to answer my last post? Preferably from your Auckland office?
Hi Alex,
The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan