surendrasyam


I need to programatically create word documents from .net by pumping information from the database. I have a field with tex-math information. I want to convert this field to a editable equation type in word 2003.


Can any one suggest me a method to accomplish this.

Thank you.



Re: Visual Studio Tools for Office Tex to Word 2003 Equation

Cindy Meister

This forum targets the VSTO technology, not general Office interop. In the Please Read First message at the top of the forum you'll find a list of resource links for interop questions. Please use them in the future.

This is not possible using the Word interop in Office 2003. The Equation Editor is a licensed product and provides no interop interface. You'd need to find a product that can function as an OLE Server within Word documents. Or one that can build the equations as a graphic that you can then embed in the Word document.

An alternative approach would be to create the document in the Word 2007 OpenXML file format. The Equation Editor for that version also has a complete XML schema so that you can build the equation and embed it in the XML package. Microsoft has released a converter for earlier Office versions (back to 2000) that will let Word open AND edit Word 2007 OpenXML files (although an equation will become a static graphic in Word 2003). The converter will have been installed by automatic update if this is activated.

You can find out more about the OpenXML file formats at OpenXMLDeveloper.org






Re: Visual Studio Tools for Office Tex to Word 2003 Equation

surendrasyam


Cindy, Thank you for the help.