I have did MS-Word automation to convert OOML (Word-Equation) to MathML, but some cases word paragraph symbol (¶) shows in equation mode. My question is how to do automation, to change those symbol into normal mode using VSTO/VBA.
To hide paragraph symbols you could trigger the following line of code (VBA):
ActiveWindow.ActivePane.View.ShowAll = False
However, I am not sure if this solves your problem as you could see the symbol as a part of your equation (it would not be paragraph ending mark but just a symbol). To remove it in such situation you could just try to use Replace function
:
Replace("your string here with ¶", Chr(182), "")
where Chr(182) == ¶ .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.