Interface PreProcessor


public interface PreProcessor
The PreProcessor interface defines a method for processing a WordprocessingMLPackage document prior to executing specific operations. Implementations of this interface can modify, sanitize, or transform the document content as necessary.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(org.docx4j.openpackaging.packages.WordprocessingMLPackage document)
    Processes the provided WordprocessingMLPackage document based on implementation-specific behavior.
  • Method Details

    • process

      void process(org.docx4j.openpackaging.packages.WordprocessingMLPackage document)
      Processes the provided WordprocessingMLPackage document based on implementation-specific behavior. This method allows for manipulation or transformation of the document, such as modifying its content, sanitizing specific sections, or preparing the document for further actions.
      Parameters:
      document - the WordprocessingMLPackage document to be processed; cannot be null