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 TypeMethodDescriptionvoid
displayDocPartIf
(Boolean condition) Displays or removes the selected elements surrounding a specific comment in a document based on the given condition.void
displayDocPartIfAbsent
(Object condition) Displays or removes the selected elements surrounding a specific comment in a document based on the given condition.void
displayDocPartIfPresent
(Object condition) Displays or removes the selected elements surrounding a specific comment in a document based on the given condition.void
displayParagraphIf
(Boolean condition) Displays or removes the paragraph surrounding a specific comment in a document based on the given condition.void
displayParagraphIfAbsent
(Object condition) Displays or removes the paragraph surrounding a specific comment in a document based on the given condition.void
displayParagraphIfPresent
(Object condition) Displays or removes the paragraph surrounding a specific comment in a document based on the given condition.void
displayTableIf
(Boolean condition) Displays or removes the table surrounding a specific comment in a document based on the given condition.void
displayTableIfAbsent
(Object condition) Displays or removes the table surrounding a specific comment in a document based on the given condition.void
displayTableIfPresent
(Object condition) Displays or removes the table surrounding a specific comment in a document based on the given condition.void
displayTableRowIf
(Boolean condition) Displays or removes the table row surrounding a specific comment in a document based on the given condition.void
displayTableRowIfAbsent
(Object condition) Displays or removes the table row surrounding a specific comment in a document based on the given condition.void
displayTableRowIfPresent
(Object condition) Displays or removes the table row surrounding a specific comment in a document based on the given condition.void
displayWordsIf
(Boolean condition) Displays or removes the selected words surrounding a specific comment in a document based on the given condition.void
displayWordsIfAbsent
(Object condition) Displays or removes the selected words surrounding a specific comment in a document based on the given condition.void
displayWordsIfPresent
(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.
-