index > Visual Studio Tools for Office > Generating an MS Word doc on the fly

Generating an MS Word doc on the fly

1. With Office 2003, is it possible to programmatically create a Microsoft Word document on the fly using XML for both the structure and content? If not, is this possible with the forthcoming Office 12 edition?

thanks.

Wee Bubba

Yes, it's quite possible. You can save a Word document as XML to see the WordProcessingML Word generates, but when creating a document you don't need all of that.

Word's XML vocabulary - WordProcessingML - is documented on microsoft.com. "Office 2003 XML" from O'Reilly discusses quite a few of the ins-and-outs, and tells you exactly what you do need in order to generate a document Word 2003 can interpret correctly.




-- Cindy Meister (Word MVP)
Cindy Meister
reply 2

You can use google to search for other answers

 

More Articles

• Retrieving an email's digital signature and verifying it.
• VSTO 2005 Command Bar opening WinForm problem
• Errors using Inspectors in Outlook AddIn
• Chart Component
• List Object in excel - how to stop user deleting rows
• Speed -- reading values in Excel
• storing a variable
• VSTO SE installation problems
• Outlook and ASP.NET
• Interop.Office
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Excel question
• .net COM Add-in for Excel - cannot find
• Deploying VSTO Word Project: could not f
• xsd document not "protected" f
• Using AxSpreadsheet
• VSTO 'V3' Outlook Add-In Questions
• Displaying an icon on a commandbarbutton
• Is it possible to use Globals class outs
• Problem with word automation in deleting
• EXCEL
• How could i develop Office Add-ins compa
• Excel Application Object question
• Optionj buttons... HELP!!!
• Determine selected cells in a ListObject
• C++ Excel Automation using Excel add-in

Hot Articles

• Remove delegate from Item.Read and Item.
• Keyboard event handling
• Published VSTO Excel Project but cannot
• SQL 2005 With Project 2003
• Outlook, contact form
• Office 2003 and Office XP.
• XML View and how to change reading pane
• Using VSTO to create Excel chart problem..
• HHC6003: Error: The file Itircl.dll has
• OL Addin problems (two of them)
• How to group the shapes within Excel Wor
• InfoPath XSL Bug
• serverDocument...does this always requir
• working with sql server data in ms excel
• Setting client's default homepage in ASP

Recommend Articles

• Bound ListObject insert problem
• How to create a hyper link to insert int
• Action Pane
• VSTO 2005 SE Problems on Vista RC1 &
• Template.Save() changes the behaviour of
• Upgrade a Combobox with queries list in
• excel vsto workbook appln
• How can I use the Page interface in the
• Outlook: Mark a mailitem as complete
• writing into the document (VSTO - C#)
• Adding outlook appointment item to share
• Browsing functions in registered xll
• Serious Error while deleting the row
• Connecting to a Remoting Server from an
• Best of Forum Q&A