Package pro.verron.officestamper.api
@NullMarked
package pro.verron.officestamper.api
Core API interfaces and types for the OfficeStamper library.
Defines the contract for stamping templates with data, including the main OfficeStamper interface, configuration, resolvers, processors, and document part abstractions.
Ensures non-null values by default.
-
ClassDescriptionThe Comment interface provides methods for managing comments in a document.The
CommentHookerclass is responsible for preparing comment processors in a Word document.A collector class that gathersCommentRangeStartelements during document traversal.Abstract base class for processing comments within a paragraph.A factory for creatingCommentProcessorinstances.The CommentRemover class is a concrete implementation of the PostProcessor interface.Represents a tree of contexts used for expression evaluation during document stamping.Represents a custom function encapsulating a name, parameter types, and a functional implementation.Represents a contract for classes that require the implementation of a BiFunction.The NeedsFunctionImpl interface specifies a contract for classes that require the implementation of a function that operates on a specific type and produces a result.Represents a contract for classes requiring the implementation of a TriFunction.Represents a part of a WordprocessingML-based document.Deprecated, for removal: This API element is subject to removal in a future version.Factory interface for creatingEvaluationContextinstances.ExceptionResolver is a functional interface used to resolve the behavior when an exception occurs during the processing of a placeholder.Represents a hook that can be used to extend or customize the behavior of an OfficeStamper document processing flow.A post-processor implementation that removes smart tags from a WordprocessingML document.Provides utility methods for working withHookinstances in the context of a WordprocessingML-based document.The Insert record represents a container for managing collections of document elements that can be inserted into a DOCX document.The ObjectResolver interface provides a contract for resolving objects to create a run with the resolved content.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.Interface representing the configuration for the Office Stamper functionality.OfficeStamperException is a subclass of RuntimeException that represents an exception that can be thrown during the processing of an Office document using the OfficeStamper library.The Paragraph interface represents a paragraph in a text document.ThePlaceholderHookerclass is a pre-processor that prepares inline placeholders in aWordprocessingMLPackagedocument.ATraversalUtilVisitorimplementation that collects paragraphs matching a given pattern.The PostProcessor interface defines a contract for performing transformations or manipulations on instances ofWordprocessingMLPackage.The PreProcessor interface defines a method for processing a WordprocessingMLPackage document prior to executing specific operations.Represents a context within a document processing operation.Defines security modes for expression evaluation and similar features.StreamStamper<T extends org.docx4j.openpackaging.packages.OpcPackage>This class implements the functionality of anOfficeStampermeant for dealing with streams of data.This is an abstract class that provides a generic implementation for resolving objects to strings.Represents a table in a document that can be manipulated by the office stamper.Represents a row within a table that can be manipulated by the office stamper.Interface for reporting placeholder resolution events for traceability.