Class HtmlContentInliner
java.lang.Object
io.jmix.reports.yarg.formatters.impl.inline.HtmlContentInliner
- All Implemented Interfaces:
ContentInliner
Handle HTML with format string: ${html}
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet Regexp Pattern for match format stringvoid
inlineToDoc
(OfficeComponent officeComponent, com.sun.star.text.XTextRange textRange, com.sun.star.text.XText destination, Object paramValue, Matcher matcher) Inline content into doc templatevoid
inlineToDocx
(org.docx4j.openpackaging.packages.WordprocessingMLPackage wordPackage, org.docx4j.wml.Text text, Object paramValue, Matcher matcher) Inline content into docx templatevoid
inlineToXls
(org.apache.poi.hssf.usermodel.HSSFPatriarch patriarch, org.apache.poi.hssf.usermodel.HSSFCell resultCell, Object paramValue, Matcher matcher) Inline content into xls templatevoid
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
-
Field Details
-
REGULAR_EXPRESSION
- See Also:
-
-
Constructor Details
-
HtmlContentInliner
public HtmlContentInliner()
-
-
Method Details
-
getTagPattern
Description copied from interface:ContentInliner
Get Regexp Pattern for match format string- Specified by:
getTagPattern
in interfaceContentInliner
- 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 interfaceContentInliner
- 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 interfaceContentInliner
-
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 interfaceContentInliner
-
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 interfaceContentInliner
-