Class PowerpointStamper
java.lang.Object
pro.verron.officestamper.experimental.PowerpointStamper
- All Implemented Interfaces:
OfficeStamper<org.docx4j.openpackaging.packages.PresentationMLPackage>
public class PowerpointStamper
extends Object
implements OfficeStamper<org.docx4j.openpackaging.packages.PresentationMLPackage>
The PowerpointStamper class implements the OfficeStamper interface to provide capability for stamping PowerPoint
presentations with context and writing the result to an OutputStream.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance of the PowerpointStamper class. -
Method Summary
-
Constructor Details
-
PowerpointStamper
public PowerpointStamper()Constructs a new instance of the PowerpointStamper class. This constructor initializes an instance of PowerpointStamper, which implements the OfficeStamper interface. The class provides functionality to apply variable-based stamping on PowerPoint templates and outputs the modified presentation.
-
-
Method Details
-
stamp
public org.docx4j.openpackaging.packages.PresentationMLPackage stamp(org.docx4j.openpackaging.packages.PresentationMLPackage template, Object context) throws OfficeStamperException Description copied from interface:OfficeStamperStamps the given template with the given context and returns the resulting document.- Specified by:
stampin interfaceOfficeStamper<org.docx4j.openpackaging.packages.PresentationMLPackage>- Parameters:
template- The template to stamp.context- The context to use for stamping.- Returns:
- The resulting document after stamping.
- Throws:
OfficeStamperException
-