Creating a basic table with text in Word

Jan 8, 2011 at 8:48 PM

I am new to OOXML and I want to learn how to make tables with text in Word.

To start, how would I create a 4 x 4 table with some plain text in each cell?

I'm using the following class:

DocumentFormat.OpenXml.Wordprocessing.Document doc = document.MainDocumentPart.Document;

What would the code be to add my desired table with text to this document?

Jan 10, 2011 at 5:47 PM

Found this great article:

http://www.codeproject.com/KB/office/OpenXML-SDK-HelloWorld.aspx