Interface ContentInliner
- All Known Implementing Classes:
AbstractInliner,BitmapContentInliner,FileStorageContentInliner,HtmlContentInliner,ImageContentInliner
public interface ContentInliner
Handle tags in format strings
-
Method Summary
Modifier and TypeMethodDescriptionGet Regexp Pattern for match format stringvoidinlineToDoc(OfficeComponent officeComponent, com.sun.star.text.XTextRange textRange, com.sun.star.text.XText destination, Object paramValue, Matcher paramsMatcher) Inline content into doc templatevoidinlineToDocx(org.docx4j.openpackaging.packages.WordprocessingMLPackage wordPackage, org.docx4j.wml.Text destination, Object paramValue, Matcher paramsMatcher) Inline content into docx templatevoidinlineToXls(org.apache.poi.hssf.usermodel.HSSFPatriarch patriarch, org.apache.poi.hssf.usermodel.HSSFCell destination, Object paramValue, Matcher paramsMatcher) Inline content into xls templatevoidinlineToXlsx(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
-
Method Details
-
getTagPattern
Pattern getTagPattern()Get Regexp Pattern for match format string- Returns:
- Pattern
-
inlineToXlsx
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 -
inlineToDoc
void inlineToDoc(OfficeComponent officeComponent, com.sun.star.text.XTextRange textRange, com.sun.star.text.XText destination, Object paramValue, Matcher paramsMatcher) throws Exception Inline content into doc template- Throws:
Exception
-
inlineToDocx
void inlineToDocx(org.docx4j.openpackaging.packages.WordprocessingMLPackage wordPackage, org.docx4j.wml.Text destination, Object paramValue, Matcher paramsMatcher) Inline content into docx template -
inlineToXls
void inlineToXls(org.apache.poi.hssf.usermodel.HSSFPatriarch patriarch, org.apache.poi.hssf.usermodel.HSSFCell destination, Object paramValue, Matcher paramsMatcher) Inline content into xls template
-