Hi there,
in a current project we use aspose.words (.Net) to fill out a table in a word file.
We clone the second row of the table, identified through a bookmark, and append it to the table, then we set the text in the cells, including text size.
When we change the font size, the font size is changed in other parts of the document aswell. As visible in the attached files. Somehow the font size of the different parts is connected.
There are no other modifications through code except cloneing the rows and inserting text in the cells through:
c = row.Cells[index];
c.RemoveAllChildren();
Paragraph p = new Paragraph(doc);
p.ParagraphFormat.Style.Font.Size = 24;
p.ParagraphFormat.Style.Font.Name = "Arial";
Run r = new Run(doc, "–/--");
p.AppendChild(r);
c.AppendChild(p);
with “row” being the current row.
This also happens when i add a Paragraph with Font.Size and Name to the end of the document.
When we load another document and access the table cell and first paragraph format, the font is also wrong wheras the ParagraphBreakFont property seems to be correct.
Aspose.words version is 15.12.0.0.
Slightly urgent, so any anwer would be appreciated.
Kind regards,
Torsten