Class BaseXdocReportingService
java.lang.Object
ru.cg.webbpm.modules.reporting.impl.xdoc.service.BaseXdocReportingService
- All Implemented Interfaces:
ReportingService
- Direct Known Subclasses:
XdocDocxReportingService
,XdocOdtReportingService
- Author:
- a.petrov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected fr.opensagres.xdocreport.template.formatter.FieldsMetadata
createTemplateFieldsMetadata
(Map<String, Object> parameters) protected ReportingException
createUsupportedOutputFormatException
(String templateFormat, OutputFormat outputFormat) byte[]
generate
(ReportTemplate reportTemplate, OutputFormat outputFormat, Map<String, Object> parameters, String datasourceJndiName) protected abstract fr.opensagres.xdocreport.converter.Options
getConversionOptions
(OutputFormat outputFormat) protected fr.opensagres.xdocreport.document.IXDocReport
loadTemplate
(ReportTemplate reportTemplate)
-
Constructor Details
-
BaseXdocReportingService
public BaseXdocReportingService()
-
-
Method Details
-
generate
public byte[] generate(ReportTemplate reportTemplate, OutputFormat outputFormat, Map<String, Object> parameters, String datasourceJndiName) - Specified by:
generate
in interfaceReportingService
-
loadTemplate
protected fr.opensagres.xdocreport.document.IXDocReport loadTemplate(ReportTemplate reportTemplate) throws IOException, fr.opensagres.xdocreport.core.XDocReportException - Throws:
IOException
fr.opensagres.xdocreport.core.XDocReportException
-
createTemplateFieldsMetadata
-
getConversionOptions
protected abstract fr.opensagres.xdocreport.converter.Options getConversionOptions(OutputFormat outputFormat) -
createUsupportedOutputFormatException
protected ReportingException createUsupportedOutputFormatException(String templateFormat, OutputFormat outputFormat)
-