Free Support Forum -

Broken underline found in pdf

When a workbook, contains cell(s) with format “underlined” together with the cell(s) is/are right-aligned,
is saved by using: (, SaveFormat.PDF)

, broken underline will be found in the output pdf.

For my example, the sheet contains a cell with text as “appendix 1”, the underline is broken under the letter “x”.


Thanks for using Aspose APIs.

We tested your issue with the sample Excel file and it generated the correct output Pdf. We tested the issue with the most recent version i.e. Aspose.Cells for Java (Latest Version) Please use the most recent version and it should fix your issue.

If your issue still occurs, then please provide us your Excel file and converted Pdf, we will look into it further and help you asap.

Download Link:
Sample Excel File and Output (15.3 KB)


Workbook wb = new Workbook(dirPath + "sample.xlsx"); + "out.pdf", SaveFormat.PDF);