Lose table properties in landscape from RTF to PDF after Document.save

Hello

We have a program that generates an RTF document (eg. attached table-landscape.rtf).

We are trying to convert this to a PDF document using Aspose (Words-14.6.0.jar.)

The
RTF document reads fine in MS Word. But in the Aspose-generated PDF
document, the table and column widths are modified.

Our java code is simple :

try {
Document initDoc = new Document(“table-landscape.rtf”);
initDoc.save(“table-landscape.pdf”);

} catch (Exception e) {
e.printStackTrace();
}

Please note that this happens only when the page is in landscape, AND that it seems that the calculation of the table width seems to correspond to a page in portrait (it’s calculated as if the orientation landscape was not considered.)

Please help.
Thanks
Nick Harding

Hi Nicholas,

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

We apologize for your inconvenience.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan