I'm writing a VB.NET program (with Visual Studio 2008) that exports text and images to a new MS Word 2007 DOCX document. So far, I have successfully exported plain text, and also images (using the VML w:pict tags).
Now, I need to add formatting to the document content, but I'm not sure what to do next. If I export rich text or HTML, the 'code' shows up in the document instead of the formatted text.
So, can anyone point me to some tutorials or help me out with taking formatted text from a database in RTF or HTML format and exporting it to a dynamically-generated DOCX file?
Thanks!
BTW, I asked this question on experts-exchange, and no one has answered yet, so if you want points, you could post an answer there also :)
http://www.experts-exchange.com/Software/Server_Software/OpenXML_OXML/Q_23576111.html