public interface IAnnotatedDocument
Defines methods that are required for access to annotations, such as comments. Needs to be implemented by DocumentFormatInstance
-derived class to perform annotation redactions.
Learn more
Modifier and Type | Method and Description |
---|---|
RedactionResult |
deleteAnnotations(Pattern regularExpression)
Deletes all annotations, matching regular expression within the document.
|
RedactionResult |
redactAnnotation(Pattern regularExpression,
String replacement)
Replaces the matching text in all annotations within the document.
|
RedactionResult redactAnnotation(Pattern regularExpression, String replacement)
Replaces the matching text in all annotations within the document.
regularExpression
- Regular expression to search and replacereplacement
- Textual replacementRedactionResult deleteAnnotations(Pattern regularExpression)
Deletes all annotations, matching regular expression within the document.
regularExpression
- Regular expression to match