I’ve noticed problem with converting wide columns to PDF. - margines are ignored.
You can see it after exporting SME2.xls file (pages 4-6).
Thanks in advance for help.
I was able to reproduce this issue with the latest version Aspose.Cells for Java v126.96.36.199 and found margins are being ignored for the wide columns.
For elaboration, I have created a screenshot. I have logged this issue in our database. We will fix it and let you know asap.
Please see the code below and the output pdf.
This issue has been logged as CELLSJAVA-28848.
Workbook workbook = new Workbook();
workbook.save(path + “.out.pdf”, FileFormatType.PDF);
We have fixed following issues in the new fix. Please download: Aspose.Cells for Java v188.8.131.52
We have fixed the issue that right margin exceeds output page’s range. But
for the right border, we cannot plot it as same with the print preview
in ms excel. In fact the cell’s width has exceeded output page’s range
and currently we cannot handle this situation. We will try to enhance it
in later versions.