Interface OfficeStamper<T extends org.docx4j.openpackaging.packages.OpcPackage>

Type Parameters:
T - The type of the template that can be stamped.
All Known Implementing Classes:
DocxStamper, ExcelStamper, PowerpointStamper

public interface OfficeStamper<T extends org.docx4j.openpackaging.packages.OpcPackage>
This is an interface that defines the contract for stamping templates with context and returning the result as a document.
Since:
1.6.4
Version:
${version}
Author:
Joseph Verron
  • Method Summary

    Modifier and Type
    Method
    Description
    stamp(T template, Object context)
    Stamps the given template with the given context and returns the resulting document.
  • Method Details

    • stamp

      T stamp(T template, Object context)
      Stamps the given template with the given context and returns the resulting document.
      Parameters:
      template - The template to stamp.
      context - The context to use for stamping.
      Returns:
      The resulting document after stamping.