Table borders removed by getter function

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

@renato.mauro,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-16030. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

@renato.mauro,
The issues you have found earlier (filed as WORDSNET-16030) have been fixed in this Aspose.Words for .NET 17.12 update and this Aspose.Words for Java 17.12 update.
Please also check the following articles: