Module pro.verron.officestamper
Package pro.verron.officestamper.preset
Interface CommentProcessorFactory.IReplaceWithProcessor
- Enclosing class:
CommentProcessorFactory
public static interface CommentProcessorFactory.IReplaceWithProcessor
Interface for processors that replace a single word with an expression defined
in a comment.
- Since:
- 1.0.8
- Version:
- ${version}
- Author:
- Joseph Verron, Tom Hombergs
-
Method Summary
Modifier and TypeMethodDescriptionvoid
replaceWordWith
(String expression) May be called to replace a single word inside a paragraph with an expression defined in a comment.
-
Method Details
-
replaceWordWith
May be called to replace a single word inside a paragraph with an expression defined in a comment. The comment must be applied to a single word for the replacement to take effect!- Parameters:
expression
- the expression to replace the text with
-