Free Support Forum -

Styling lost when converting Word or PowerPoint to pdf

I have a Word and a PowerPoint document containing various graphic elements. When the documents are converted to pdf using Aspose, some of the graphic elements is changed. The documents is attached to this support case as a zip file (2.8 MB)

The code for converting is very simple:

Document document = new Aspose.Words.Document(@“c:\temp\picture effects.docx”);
document.Save(@“c:\temp\picture effects.pdf”, SaveFormat.Pdf);

Presentation presentation = new Presentation(@“c:\temp\test figures.pptx”);
presentation.Save(@“c:\temp\test figures.pdf”, SaveFormat.Pdf);

For the word document on page 6 the 3d effect for the “Hello World!” label is lost. On page 7 one of the
dinosaur is rotated and another missing the black color.

For the PowerPoint document on page 3 the images is not longer tilted.On page 4 the chart is missing. On page 5 the giraffe has a wrong background.

Is this an error? Or can something be done to avoid the changes?,

Thanks for the sample documents and details.

We reproduced the issue(s) and the following there tickets are logged into the database:

  • WORDSNET-20458: SmartArt object looses 3D effect during DOCX to PDF Conversion
  • WORDSNET-20459: Graphics Object has Incorrect Rotation during DOCX to PDF Conversion
  • WORDSNET-20460: Fill Color of Graphics Object Lost during DOCX to PDF Conversion

We reproduced the issues as you pointed out. The following tickets are logged into the database.

  • SLIDESNET-41941: Image tiling is disturbed on in exported PDF on Slide 3
  • SLIDESNET-41942: Chart is missing in exported PDF on Slide 4
  • SLIDESNET-41943: The giraffe on slide 5 has wrong shadow effects in exported PDF

Once we have an update on any of the logged tickets, we will let you know.