Excel XLS to PDF - Issue with Drawing Objects

I have attached two files in the zip. A source xls file that I am converting to PDF and the resulting PDF.

You can see that the PDF and XLS file do not look the same. The XLS contains a Drawing Object “TextBox” and an image in it. We think there is an issue with line spacing or font size that is not being converted accurately to PDF.

Included below is the code that I’m executing to convert the spreadsheet.

using (Workbook workbook = new Workbook(tmpFc.TheFile))
{
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.OnePagePerSheet = true;
pdfSaveOptions.OptimizationType = Aspose.Cells.Rendering.PdfOptimizationType.Standard;
workbook.Save(tmpFc.PDFFileName, pdfSaveOptions);
}

ConverstionIssue.zip (123.6 KB)

@david_j_meyer2_boeing_com
Hi,
We reproduced your problem. We have created an issue CELLSNET-50620 for this issue in our system. We will let you know as soon as we make progress.

@david_j_meyer2_boeing_com
hi,
Your issue has been resolved and the fixed functionality will be released with version 22.4. You can also consult for our hot fix.
Below is the file we got after repairing:
CELLSNET-50620.pdf (53.2 KB)

Awesome, Thanks!

@david_j_meyer2_boeing_com,

You are welcome.

The issues you have found earlier (filed as CELLSNET-50620) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi