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 Type
    Method
    Description
    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.
  • 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 expressions
      context - the context root
      document - the document in which to replace all expressions