I am getting some formatting issues. When I generate the table using builder.InsertCell() logic.I am able to render the desired table in MS WORD. Please see the attatchment. But I am not able to render formatting properly using builder.InsertCell() . If you see the attachment all the cells are stick with each other. If I want to increase the eg:- "Media Type" cell width manually or dynamically it also increase the "Language" and "Restriction" cells.
Now if u see the template.doc which I sent you in attatchment, there is another table with heading "Media Rights" this is what I required. Here each cells in table are free from wach other. In this table if I increase the "Media Type" cell width by manually or dynamically "Sublicense" and "Restriction" cells width does not change.
Below are my questions if I am generating table using builder.InsertCell() :
1. How to make table cells free of each rows?
2. How to set the left indent? please see the second table "Row No" cell starting position
3. How to fixed the width of a cell ? currently it start increasing the width of cell if the content is big in a cell. I am using below code:
Aspose.Words.Tables.CellFormat cellFormat = builder.CellFormat;
cellFormat.Width = 40;
4. Last but not least "HOW CAN I CREATE SAME TABLE AS IT SHOWN IN TEMPLATE WITH HEADING "MEDIA RIGHTS" FROM BUILDER.INSERTCELL()"
I will be very thankfull to you if you can provide me some sample which fullfill my above questions?