Not able to convert my pptx to html properly

Hi All,

I am trying to convert my pptx file to html by using below code . It is Converting all pptx to html file but all transition, effects are not working in html file.Kindly help me to achieve this.

String path = “/opt/lampp/ppthtml/”;
//Accessing the presentation
Presentation pres = new Presentation(path + “sample1.pptx”);
HtmlOptions htmlOpt = new HtmlOptions();
htmlOpt.setHtmlFormatter(HtmlFormatter.createDocumentFormatter("", false));
//Saving the Presentation1 to HTML
pres.save("/opt/lampp/demo1.html", SaveFormat.Html, htmlOpt);
System.out.println(“Program executed successfully”);


Besides, if anyone is not able to fix above then please share me the code so that i can extract each and every object and its all properties from the ppt file

Hi Dheeraj,

Thank you for your interest in Aspose.Slides.

I have observed your comments and like to request you to please share with us the source file, generated output file and a file as expected output so that we may proceed further to help you out. About working with the content on slide, I request you to please visit this documentation link for your kind reference.

Please share if I may help you further in this regard.

Best Regards,