Interface CommentProcessorFactory.IDisplayIfProcessor
- Enclosing class:
CommentProcessorFactory
public static interface CommentProcessorFactory.IDisplayIfProcessor
Interface for processors used to delete paragraphs or tables from the document, depending on condition.
- Since:
- 1.0.0
- Version:
- ${version}
- Author:
- Joseph Verron, Tom Hombergs
-
Method Summary
Modifier and TypeMethodDescriptionvoiddisplayDocPartIf(Boolean condition) Displays or removes the selected elements surrounding a specific comment in a document based on the given condition.voiddisplayDocPartIfAbsent(Object condition) Displays or removes the selected elements surrounding a specific comment in a document based on the given condition.voiddisplayDocPartIfPresent(Object condition) Displays or removes the selected elements surrounding a specific comment in a document based on the given condition.voiddisplayParagraphIf(Boolean condition) Displays or removes the paragraph surrounding a specific comment in a document based on the given condition.voiddisplayParagraphIfAbsent(Object condition) Displays or removes the paragraph surrounding a specific comment in a document based on the given condition.voiddisplayParagraphIfPresent(Object condition) Displays or removes the paragraph surrounding a specific comment in a document based on the given condition.voiddisplayTableIf(Boolean condition) Displays or removes the table surrounding a specific comment in a document based on the given condition.voiddisplayTableIfAbsent(Object condition) Displays or removes the table surrounding a specific comment in a document based on the given condition.voiddisplayTableIfPresent(Object condition) Displays or removes the table surrounding a specific comment in a document based on the given condition.voiddisplayTableRowIf(Boolean condition) Displays or removes the table row surrounding a specific comment in a document based on the given condition.voiddisplayTableRowIfAbsent(Object condition) Displays or removes the table row surrounding a specific comment in a document based on the given condition.voiddisplayTableRowIfPresent(Object condition) Displays or removes the table row surrounding a specific comment in a document based on the given condition.voiddisplayWordsIf(Boolean condition) Displays or removes the selected words surrounding a specific comment in a document based on the given condition.voiddisplayWordsIfAbsent(Object condition) Displays or removes the selected words surrounding a specific comment in a document based on the given condition.voiddisplayWordsIfPresent(Object condition) Displays or removes the selected words surrounding a specific comment in a document based on the given condition.
-
Method Details
-
displayParagraphIf
Displays or removes the paragraph surrounding a specific comment in a document based on the given condition.- Parameters:
condition- if non-null, keep the paragraph surrounding the comment, else remove.
-
displayParagraphIfPresent
Displays or removes the paragraph surrounding a specific comment in a document based on the given condition.- Parameters:
condition- if non-null, keep the paragraph surrounding the comment, else remove.
-
displayParagraphIfAbsent
Displays or removes the paragraph surrounding a specific comment in a document based on the given condition.- Parameters:
condition- if null, keep the paragraph surrounding the comment, else remove.
-
displayTableRowIf
Displays or removes the table row surrounding a specific comment in a document based on the given condition.- Parameters:
condition- if true, keep the table row surrounding the comment, else remove.
-
displayTableRowIfPresent
Displays or removes the table row surrounding a specific comment in a document based on the given condition.- Parameters:
condition- if non-null, keep the table row surrounding the comment, else remove.
-
displayTableRowIfAbsent
Displays or removes the table row surrounding a specific comment in a document based on the given condition.- Parameters:
condition- if null, keep the table row surrounding the comment, else remove.
-
displayTableIf
Displays or removes the table surrounding a specific comment in a document based on the given condition.- Parameters:
condition- if true, keep the table surrounding the comment, else remove.
-
displayTableIfPresent
Displays or removes the table surrounding a specific comment in a document based on the given condition.- Parameters:
condition- if non-null, keep the table surrounding the comment, else remove.
-
displayTableIfAbsent
Displays or removes the table surrounding a specific comment in a document based on the given condition.- Parameters:
condition- if null, keep the table surrounding the comment, else remove.
-
displayWordsIf
Displays or removes the selected words surrounding a specific comment in a document based on the given condition.- Parameters:
condition- if true, keep the selected words surrounding the comment, else remove.
-
displayWordsIfPresent
Displays or removes the selected words surrounding a specific comment in a document based on the given condition.- Parameters:
condition- if non-null, keep the selected words surrounding the comment, else remove.
-
displayWordsIfAbsent
Displays or removes the selected words surrounding a specific comment in a document based on the given condition.- Parameters:
condition- if null, keep the selected words surrounding the comment, else remove.
-
displayDocPartIf
Displays or removes the selected elements surrounding a specific comment in a document based on the given condition.- Parameters:
condition- if true, keep the selected elements surrounding the comment, else remove.
-
displayDocPartIfPresent
Displays or removes the selected elements surrounding a specific comment in a document based on the given condition.- Parameters:
condition- if non-null, keep the selected elements surrounding the comment, else remove.
-
displayDocPartIfAbsent
Displays or removes the selected elements surrounding a specific comment in a document based on the given condition.- Parameters:
condition- if null, keep the selected elements surrounding the comment, else remove.
-