Class Preprocessors

java.lang.Object
pro.verron.officestamper.preset.Preprocessors

public class Preprocessors extends Object
A helper class that provides pre-processing functionality for WordprocessingMLPackage documents.
  • Method Details

    • mergeSimilarRuns

      public static PreProcessor mergeSimilarRuns()
      Returns a PreProcessor object that merges same style runs that are next to each other in a WordprocessingMLPackage document.
      Returns:
      a PreProcessor object that merges similar runs.
    • removeLanguageProof

      public static PreProcessor removeLanguageProof()
      Returns a PreProcessor object that removes all ProofErr elements from the WordprocessingMLPackage document.
      Returns:
      a PreProcessor object that removes ProofErr elements.