After using the company’s products, I converted the PPT into HTML format.I wanted to create a page turning effect.Which classes and methods can be applied.I’ve now implemented the mouse-back flip.I’ll send you a code snippet to look at.
private void presentation2Html(String sourceFileName,String targetFileName) {
// Instantiate a Presentation object that represents a presentation file
Presentation pres = new Presentation(sourceFileName);
HtmlOptions options = new HtmlOptions();
ResponsiveHtmlController controller = new ResponsiveHtmlController();
options.setHtmlFormatter(HtmlFormatter.createSlideShowFormatter("", true));
// options.setHtmlFormatter(HtmlFormatter.createDocumentFormatter("", true));
// options.setJpegQuality((byte) 100);
// options.setIncludeComments(true);
File file = new File(targetFileName);
file.getParentFile().mkdirs();
// Saving the presentation to HTML
pres.save(targetFileName.replaceAll("//", "/"), com.aspose.slides.SaveFormat.Html, options);
}