Independentsoft
Professional software libraries for developers
Home
Purchase
Support
Company
Contact
JPresentation
>
Tutorial
> Export to HTML
The following example shows you how to export a presentation to HTML format.
import com.independentsoft.office.presentation.Presentation; public class Example { public static void main(String[] args) { try { Presentation presentation = new Presentation("c:\\test\\input.pptx"); presentation.saveAsHtml("c:\\test\\output.html", true); } catch (Exception e) { System.out.println(e.getMessage()); e.printStackTrace(); } } }
Need help? Ask our developers:
Name*
Email*
Message*