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

Free Support Forum - aspose.com

Error Rending Graph In PPTX to PDF

The attached example works in both Slides 7.7.0 and 7.3.0 as a PPT, but not as a PPTX.

Hi Thomas,

Thanks for inquiring Aspose.Slides.

I have observed the presentation shared by you. Can you please share that what actually you want Aspose.Slides to offer you. Please share the sample code and generated output with us so that we may investigate and help you out. Please also share what problem you are having while using Aspose.Slides.

Many Thanks,

Attached are the outputs of the two previous examples. Notice that when the original file is a PPTX the graph does not render, but it works fine as a PPT. The code that executed both conversions is as follows…


PPT:
com.aspose.slides.Presentation ppt = new com.aspose.slides.Presentation( input.getFile().getAbsolutePath() );
com.aspose.slides.PdfOptions opts = new com.aspose.slides.PdfOptions();
opts.setSaveMetafilesAsPng( true );
opts.setCompliance( com.aspose.slides.PdfCompliance.Pdf15 );
ppt.save( tmpFile.getAbsolutePath(), com.aspose.slides.SaveFormat.Pdf, opts );

PPTX:
com.aspose.slides.PresentationEx ppt = new com.aspose.slides.PresentationEx( input.getFile().getAbsolutePath() );
com.aspose.slides.PdfOptions opts = new com.aspose.slides.PdfOptions();
opts.setSaveMetafilesAsPng( true );
opts.setCompliance( com.aspose.slides.PdfCompliance.Pdf15 );
ppt.save( tmpFile.getAbsolutePath(), com.aspose.slides.SaveFormat.Pdf, opts );


Hi Thomas,

I have worked with the presentation file shared by you and have been able observe the issue specified. An issue with ID SLIDESJAVA-34096 has been created in our issue tracking system to further investigate and resolve the issue for missing chart in generated PDF for PPTX. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESJAVA-34096) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.