Module pro.verron.officestamper
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 functionality for stamping Powerpoint presentations with
context and writing the result to an OutputStream.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
stamp
(org.docx4j.openpackaging.packages.PresentationMLPackage template, Object context, OutputStream outputStream) Stamps the template with the context and writes the result to the outputStream.
-
Constructor Details
-
PowerpointStamper
public PowerpointStamper()
-
-
Method Details
-
stamp
public void stamp(org.docx4j.openpackaging.packages.PresentationMLPackage template, Object context, OutputStream outputStream) throws OfficeStamperException Description copied from interface:OfficeStamper
Stamps the template with the context and writes the result to the outputStream.- Specified by:
stamp
in interfaceOfficeStamper<org.docx4j.openpackaging.packages.PresentationMLPackage>
- Parameters:
template
- template to stampcontext
- context to use for stampingoutputStream
- output stream to write the result to- Throws:
OfficeStamperException
- if the stamping fails
-