Class AbstractOfficeGenerator
java.lang.Object
io.jmix.reportsflowui.view.reportwizard.template.generators.AbstractOfficeGenerator
- All Implemented Interfaces:
Generator
- Direct Known Subclasses:
DocxGenerator
,XlsxGenerator
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.xlsx4j.sml.Cell
createCell
(org.xlsx4j.sml.ObjectFactory factory, String stringContent, int colNum, long rowNum) org.xlsx4j.sml.Row
void
fillWordTableRow
(List<String> stringData, org.docx4j.wml.ObjectFactory factory, org.docx4j.wml.Tr tableRow) byte[]
generate
(ReportData reportData) protected abstract org.docx4j.openpackaging.packages.OpcPackage
generatePackage
(ReportData reportData)
-
Field Details
-
reportTemplatePlaceholder
-
-
Constructor Details
-
AbstractOfficeGenerator
public AbstractOfficeGenerator()
-
-
Method Details
-
generate
- Specified by:
generate
in interfaceGenerator
- Throws:
TemplateGenerationException
-
createRow
public org.xlsx4j.sml.Row createRow(org.xlsx4j.sml.ObjectFactory factory, String stringContent, int colNum, long rowNum) -
createCell
public org.xlsx4j.sml.Cell createCell(org.xlsx4j.sml.ObjectFactory factory, String stringContent, int colNum, long rowNum) -
fillWordTableRow
-
generatePackage
protected abstract org.docx4j.openpackaging.packages.OpcPackage generatePackage(ReportData reportData) throws TemplateGenerationException, org.docx4j.openpackaging.exceptions.Docx4JException, jakarta.xml.bind.JAXBException - Throws:
TemplateGenerationException
org.docx4j.openpackaging.exceptions.Docx4JException
jakarta.xml.bind.JAXBException
-