Class Preprocessors
java.lang.Object
pro.verron.officestamper.preset.Preprocessors
A helper class that provides pre-processing functionality for WordprocessingMLPackage documents.
-
Method Summary
Modifier and TypeMethodDescriptionstatic PreProcessor
Returns a PreProcessor object that merges same style runs that are next to each other in a WordprocessingMLPackage document.static PreProcessor
Returns a PreProcessor object that removes all language informations such as grammatical and orthographics markers in a WordprocessingMLPackage document.static PreProcessor
Returns a PreProcessor object that removes allProofErr
elements from the WordprocessingMLPackage document.static PreProcessor
Returns a PreProcessor object that removes comments information that is not conforming to the expected patterns.
-
Method Details
-
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
Returns a PreProcessor object that removes allProofErr
elements from the WordprocessingMLPackage document.- Returns:
- a PreProcessor object that removes ProofErr elements.
-
removeLanguageInfo
Returns a PreProcessor object that removes all language informations such as grammatical and orthographics markers in a WordprocessingMLPackage document.- Returns:
- a PreProcessor object that removes language markers.
-
removeMalformedComments
Returns a PreProcessor object that removes comments information that is not conforming to the expected patterns.- Returns:
- a PreProcessor object that removes malformed comments markers.
-