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

Free Support Forum - aspose.com

Indentation changed unexpectedly


We have layout issues in the conversion from Cells to Pdf, for example see attachments issues.png and madeByAspose.pdf.
- Some rows are unexpectedly indented.
- Some text is too bold.

Conversion in Excel to Pdf is fine, see attachement madeByExcel.pdf.

We are using source code below for conversion:
SaveFormat saveFormat = SaveFormat.Pdf;
Workbook workbook = new Workbook(input);
workbook.Save(output, saveFormat);

Our Aspose.Cells is up-to-date, version 17.4.0.

Could you help us with fixing our issue?

Thanks a lot.


Thanks for the template files and screenshot.

After an initial test, I am able to reproduce the issue as you mentioned (via your attached screenshot) by converting your template file to PDF. I found that indentation is changed a bit and some text is bold in Excel to PDF rendering. I have logged a ticket with an id “CELLSNET-45309” into our database.

We will look into it soon.

Once we have an update on it, we will let you know here.

Thank you.

Please try our latest version/fix: Aspose.Cells for .NET v21.6.3 (attached)
Aspose.Cells21.6.3 For .Net2_AuthenticodeSigned.Zip (5.5 MB)
Aspose.Cells21.6.3 For .Net4.0.Zip (5.5 MB)
Aspose.Cells21.6.3 For .NetStandard20.Zip (5.5 MB)

Your issue should be fixed in it.
Let us know your feedback.