We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

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 : input.zip (6.7 KB)
Current OP : current_OP.zip (35.3 KB)

Please give solution for this scenario.

Thank you.

@ssvel

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);
workbook.save(dataDir + "ACToPdf_out.pdf", pdfOptions);