All Classes and Interfaces

Class
Description
Abstract ITypeResolver that takes a String from the implementing sub class and creates a Run of text from it.
Base class for comment processors.
This class is an abstract implementation of the DocumentWalker interface.
Thrown when an error occurs while processing a comment in the docx template.
Factory interface for creating ICommentProcessor instances.
Factory class to create the correct comment processor for a given comment.
Allows registration of ICommentProcessor objects.
Utility class for working with comments in a DOCX document.
CommentWrapper class.
Walks through a document and calls the methods on each paragraph and run.
This ITypeResolver creates a formatted date String for expressions that return a Date object.
EvaluationContextConfigurer that has a better default security, especially doesn't allow Especially known injections.
Processor for the IDisplayIfProcessor comment.
Utility class to retrieve elements from a document.
This class walks the document and calls abstract methods for each element it encounters.
Extracts images from a docx document.
The DocxStamper class is an implementation of the OpcStamper interface that is used to stamp DOCX templates with a context object and write the result to an output stream.
Provides configuration parameters for DocxStamper.
This class represents an exception that can be thrown during the processing of a Docx file using the DocxStamper library.
Allows for custom configuration of a spring expression language EvaluationContext.
Resolves expressions against a given context object.
Utility class for working with expressions in a text.
This ITypeResolver may serve as a fallback when there is no ITypeResolver available for a certain type.
In a .docx template used by DocxStamper, you can comment paragraphs of text to manipulate them.
Interface for processors that may be used to delete commented paragraphs or tables from the document, depending on a given condition.
This class describes an image which will be inserted into document.
This ITypeResolver allows context objects to return objects of type Image.
Represents a run (i.e.
Implementations of this interface are responsible for processing the repeat paragraph instruction.
Interface for processors which may be called to mark a document part to be copied once for each element in the passed-in list.
Interface for processors that can repeat a table row.
Interface for processors that replace a single word with an expression defined in a comment.
This interface is used to resolve a table in the template document.
A type resolver is responsible for mapping an object of a certain Java class to an object of the DOCX4J api that can be put into the .docx document.
Resolves LocalDate objects by formatting them with a DateTimeFormatter.
Resolves LocalDateTime values to a formatted string.
Resolves LocalTime values to the format specified by the DateTimeFormatter passed to the constructor.
Represents a Matcher that checks if an expression starts with a specified prefix and ends with a specified suffix.
Merges runs with the same style that are next to each other.
EvaluationContextConfigurer that does no customization.
Utility class for deleting objects from a Document.
OpcStamper is an interface that defines the contract for stamping templates with context and writing the result to an OutputStream.
This class is used to repeat paragraphs and tables.
Walks through a document and replaces placeholders with values from the given expression context.
Utility class for creating paragraphs.
A "Run" defines a region of text within a docx document with a common set of properties.
Replaces expressions in a document with the values provided by the ExpressionResolver.
The interface for all pre-processors.
The ProcessorExceptionHandler class is responsible for capturing and handling uncaught exceptions that occur in a thread.
Removes all ProofErr elements from the document.
This class is responsible for processing the <ds:repeat> tag.
Repeats a table row for each element in a list.
Processor that replaces the current run with the provided expression.
Utility class to handle runs.
Utility class to handle section breaks in paragraphs.
Main class of the docx-stamper library.
Represents a table with several columns, a headers line, and several lines of content
This class is a wrapper around a method call which can be executed by the Spring Expression Language.
The invoker is used to call the method in question.
Resolves methods that are used as expression functions or comment processors.
Utility class for table cells
TableResolver class.
A functional interface representing runnable task able to throw an exception.
Registry for all implementations of ITypeResolver that are used by DocxStamper.
This exception is thrown if an expression could not be processed by any comment processor.