When a workbook, contains cell(s) with format “underlined” together with the cell(s) is/are right-aligned,
is saved by using:
workbook.save (, 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”.