Convert xls2pdf. Wrong indentation from the top of the cell in some words


#1

Hi,

I use Aspose.Java for convert XLS to PDF. In one of my document position of some text has a slight upward shift due to which the text is not very clearly visible. I attached zip with original xls and result of convert (use Aspose and Office). Problem text highlighted in red oval (in 1_aspose.pdf).
1.zip (171.8 KB)

I use following code for convert:
setXLSLic();
com.aspose.cells.Workbook ws = new com.aspose.cells.Workbook(dataDir + “1.xls”);
com.aspose.cells.PdfSaveOptions pdfSaveOpt = new
com.aspose.cells.PdfSaveOptions(SaveFormat.PDF);
pdfSaveOpt.setCustomPropertiesExport(com.aspose.cells.PdfCustomPropertiesExport.STANDARD);
ws.save(dataDir+“1.pdf”,pdfSaveOpt);

Thanks,
Evgeny.


#2

@aleksand,
We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSJAVA-42952 - Wrong indentation from the top of the cell in some words

#3

@aleksand,

Please try our latest version/fix: Aspose.Cells for Java v19.6.5 (attached)

Your issue should be fixed in it.

Let us know your feedback.
Aspose_Cells_Java_v19.6.5.zip (6.5 MB)


#4

The issues you have found earlier (filed as CELLSJAVA-42952) have been fixed in Aspose.Cells for Java 19.7. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi