Module pro.verron.officestamper
Package pro.verron.officestamper.api
Interface ParagraphPlaceholderReplacer
- All Known Implementing Classes:
PlaceholderReplacer
public interface ParagraphPlaceholderReplacer
The ParagraphPlaceholderReplacer interface represents an object that can resolve expressions in a paragraph
and replace them with values provided by an expression resolver.
-
Method Summary
Modifier and TypeMethodDescriptionvoidresolveExpressionsForParagraph(Paragraph paragraph, Object context, org.docx4j.openpackaging.packages.WordprocessingMLPackage document) Finds expressions in the given paragraph and replaces them with the values provided by the expression resolver.
-
Method Details
-
resolveExpressionsForParagraph
void resolveExpressionsForParagraph(Paragraph paragraph, Object context, org.docx4j.openpackaging.packages.WordprocessingMLPackage document) Finds expressions in the given paragraph and replaces them with the values provided by the expression resolver.- Parameters:
paragraph- the paragraph in which to replace expressionscontext- the context rootdocument- the document in which to replace all expressions
-