Class HtmlContentInliner

java.lang.Object
io.jmix.reports.yarg.formatters.impl.inline.HtmlContentInliner
All Implemented Interfaces:
ContentInliner

public class HtmlContentInliner extends Object implements ContentInliner
Handle HTML with format string: ${html}
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get Regexp Pattern for match format string
    void
    inlineToDoc(OfficeComponent officeComponent, com.sun.star.text.XTextRange textRange, com.sun.star.text.XText destination, Object paramValue, Matcher matcher)
    Inline content into doc template
    void
    inlineToDocx(org.docx4j.openpackaging.packages.WordprocessingMLPackage wordPackage, org.docx4j.wml.Text text, Object paramValue, Matcher matcher)
    Inline content into docx template
    void
    inlineToXls(org.apache.poi.hssf.usermodel.HSSFPatriarch patriarch, org.apache.poi.hssf.usermodel.HSSFCell resultCell, Object paramValue, Matcher matcher)
    Inline content into xls template
    void
    inlineToXlsx(org.docx4j.openpackaging.packages.SpreadsheetMLPackage pkg, org.docx4j.openpackaging.parts.SpreadsheetML.WorksheetPart worksheetPart, org.xlsx4j.sml.Cell newCell, Object paramValue, Matcher matcher)
    Inline content to xlsx template

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • HtmlContentInliner

      public HtmlContentInliner()
  • Method Details

    • getTagPattern

      public Pattern getTagPattern()
      Description copied from interface: ContentInliner
      Get Regexp Pattern for match format string
      Specified by:
      getTagPattern in interface ContentInliner
      Returns:
      Pattern
    • inlineToDoc

      public void inlineToDoc(OfficeComponent officeComponent, com.sun.star.text.XTextRange textRange, com.sun.star.text.XText destination, Object paramValue, Matcher matcher) throws Exception
      Description copied from interface: ContentInliner
      Inline content into doc template
      Specified by:
      inlineToDoc in interface ContentInliner
      Throws:
      Exception
    • inlineToDocx

      public void inlineToDocx(org.docx4j.openpackaging.packages.WordprocessingMLPackage wordPackage, org.docx4j.wml.Text text, Object paramValue, Matcher matcher)
      Description copied from interface: ContentInliner
      Inline content into docx template
      Specified by:
      inlineToDocx in interface ContentInliner
    • inlineToXls

      public void inlineToXls(org.apache.poi.hssf.usermodel.HSSFPatriarch patriarch, org.apache.poi.hssf.usermodel.HSSFCell resultCell, Object paramValue, Matcher matcher)
      Description copied from interface: ContentInliner
      Inline content into xls template
      Specified by:
      inlineToXls in interface ContentInliner
    • inlineToXlsx

      public void inlineToXlsx(org.docx4j.openpackaging.packages.SpreadsheetMLPackage pkg, org.docx4j.openpackaging.parts.SpreadsheetML.WorksheetPart worksheetPart, org.xlsx4j.sml.Cell newCell, Object paramValue, Matcher matcher)
      Description copied from interface: ContentInliner
      Inline content to xlsx template
      Specified by:
      inlineToXlsx in interface ContentInliner