PresentationEditor

public final class PresentationEditor

Provides specialized editing capabilities for presentation documents. Supports template-based document generation and manipulation of OpenXML PowerPoint documents.

Functions

Link copied to clipboard
public final void applyTemplateModel(FileInputStream stream)
Applies a template model to the presentation document from a stream.
public final void applyTemplateModel(String jsonTemplate)
Applies a template model to the presentation document from a JSON string.
Link copied to clipboard
public final void close()
Closes the editor and releases all associated resources.
Link copied to clipboard
public final static PresentationEditor edit(Document document)
Creates a new PresentationEditor instance and begins editing the specified document.
Link copied to clipboard
public final void save()
Saves the current changes made in the editor.
Link copied to clipboard
public final void saveAs(FileOutputStream stream)
Saves the current changes to the specified stream.
public final void saveAs(String path)
Saves the current changes to a file at the specified path.
Link copied to clipboard
public final void saveWithModelAs(FileOutputStream stream)
Saves the presentation document with the applied template model to a stream.
public final void saveWithModelAs(String path)
Saves the presentation document with the applied template model to a file.