Hello,
I create an .odt document with DocumentBuilder of Aspose Words (aspose-words-17.10.0-jdk16.jar).
I simply build a table with two empty cell in this way:
m_aspDocumentBuilder.startTable();
Cell tempCell = m_aspDocumentBuilder.insertCell();
tempCell.getCellFormat().getBorders().getTop();
m_aspDocumentBuilder.insertCell();
m_aspDocumentBuilder.endTable();
In the resulting table (as you can see in attached document DocbuilderTest.zip (3.4 KB)
), the second cell doesn’t have the top border.
If I remove the line with “getBorders()” call, the border is still there.
Why calling this getter removes the border?
Best Regards