Conversion issues in xlsx to pdf

Dear Team,

We have issues in PDF conversion for xlsx to pdf.

Issue : Text line spit and printed in next page of pdf. Find the input and current output.

Input : (6.7 KB)
Current OP : (35.3 KB)

Please give solution for this scenario.

Thank you.


Could you please try below code and let us know your feedback.

// Create a new Workbook.
Workbook workbook = new Workbook(dataDir + "Proof correction for  Article 1432.xlsx");
PdfSaveOptions pdfOptions = new PdfSaveOptions();
pdfOptions.setAllColumnsInOnePagePerSheet(true); + "ACToPdf_out.pdf", pdfOptions);