Hello dear support,
I tried the following example:
http://samples.syncfusion.com/sfmvcsamplebrowser/8.1.0.30/MVC/DocIO_MVC/Samples/3.5/insertcontent/formattablebut everytime i open the generated document I get an error message, telling me the document is broken.
Even short test snippets, such as the following, create this error, as soon as I try to create nested tables.
Im using Win 7 64bit and Word 2010.
Snippet:
IWordDocument document = new WordDocument();
IWSection section = document.AddSection();
IWTable table = section.AddTable();
RowFormat format = new RowFormat();
// Inserting table with a row and a column.
table.ResetCells(1, 1);
// Insert an inner Table in Column 1, Row 1
IWTable innerTable = table[0, 0].AddTable();
// Inner Table gets 2 Fields
innerTable.ResetCells(2, 1);
//Fill field
IWParagraph par = innerTable[0, 0].AddParagraph();
par.AppendText("Test inner 0,0");
//Fill field
par = innerTable[1, 0].AddParagraph();
par.AppendText("Test inner 1,0");
What I'am doing wrong?