public interface PostProcessor
The PostProcessor interface defines a contract for performing transformations
or manipulations on instances of
WordprocessingMLPackage
.
Implementations of this interface are intended to encapsulate various
document processing operations, such as cleaning up document structure,
modifying content, or removing unused components.
A typical use of this interface might involve implementing custom logic to traverse and manipulate the contents of a WordprocessingMLPackage document, such as removing orphaned footnotes or endnotes.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(org.docx4j.openpackaging.packages.WordprocessingMLPackage document) Processes a given WordprocessingMLPackage document.
-
Method Details
-
process
void process(org.docx4j.openpackaging.packages.WordprocessingMLPackage document) Processes a given WordprocessingMLPackage document. This method is typically used for performing operations such as modifying content, cleaning up the document structure, or applying other transformations.- Parameters:
document
- the WordprocessingMLPackage document to process
-