Creating Rows in Word

Hi,
I have one Mail merge document,which contains one table with 3 rows and 3 columns. I define this table in the Template Document of Mail merge. Now I want to insert one more row programatically.Is this possible? If possible how will do that?

Hi,

Although current object model does not provide special approach for expanding existing tables, you can try to use something like this:


builder.MoveToCell(0, 2, 0, 0);

builder.InsertCell();

builder.InsertCell();

builder.InsertCell();

builder.EndRow();

builder.EndTable();




Hello

What is your planning to add a "real" InsertTableRow() method to the aspose.word object model ? People has been asking it on this forums since longtime.

Thanks

Jan

Hello Jan,

Unfortunately, it is hard to tell you an exact timeline, I hope it is several months or so. Implementing such method is possible if the whole object model is changed and some classes like Table, Tables, Row, Rows etc are added. We realize that the new model is more convenient and needed by our customers very much, but implementing it is a pretty difficult process and cannot be done quickly. So please be patient.

Thanks for your request.