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 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 interface OfficeStamper<org.docx4j.openpackaging.packages.PresentationMLPackage>
      Parameters:
      template - template to stamp
      context - context to use for stamping
      outputStream - output stream to write the result to
      Throws:
      OfficeStamperException - if the stamping fails