Convert PowerPoint to SWF Flash

Convert PPT(X) to SWF

The Save method exposed by Presentation class can be used to convert the whole presentation into SWF document. The following example shows how to convert a presentation into SWF document by using options provided by SWFOptions class.You can also include comments in generated SWF using ISWFOptions class and INotesCommentsLayoutingOptions interface.

Presentation pres = new Presentation("Sample.pptx");
try {
    SwfOptions swfOptions = new SwfOptions();
    swfOptions.setViewerIncluded(false);
    swfOptions.getNotesCommentsLayouting().setNotesPosition(NotesPositions.BottomFull);
    
    // Saving presentation
    pres.save("Sample.swf", SaveFormat.Swf, swfOptions);
} finally {
    if (pres != null) pres.dispose();
}