Free Support Forum - aspose.com

Shapes are not positioned correctly in excel to pdf conversions

Hello,

When converting an excel file with shapes to pdf with excel, the placement of the shapes is kept.
When doing the same with aspose the shapes are moved, sometimes even ending up outside of the visible area of the resulting pdf.

I have attached some files showing the result:
shape_conversion.zip (731.2 KB)

  • Stormtrooper.xlsx - The original excel file with some shapes in the form of speech bubbles.
  • Excel_Pdf.pdf - A pdf of the original created from excel (placements are kept).
  • Aspose_Pdf.pdf - A pdf of the original created with aspose cells (speech bubbles have moved).

The “Aspose_Pdf” was created with Aspose.Cells v20.5.0 and the following C# code:

var workbook = new Workbook("Stormtrooper.xlsx");
workbook.Save("Aspose_Pdf.pdf", SaveFormat.Pdf);

@lars.olsson,
We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSNET-47391 - Shapes are not positioned correctly in excel to pdf conversions

@lars.olsson,

This is to inform you that we have fixed your issue now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

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