public class DocxDocumentMergerAndConverter extends Object
| Constructor and Description |
|---|
DocxDocumentMergerAndConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
convertMergedOutput(fr.opensagres.xdocreport.document.IXDocReport report,
fr.opensagres.xdocreport.template.IContext context,
fr.opensagres.xdocreport.converter.Options options,
OutputStream outputStream) |
void |
generateMergedOutput(fr.opensagres.xdocreport.document.IXDocReport report,
fr.opensagres.xdocreport.template.IContext context,
OutputStream outputStream) |
fr.opensagres.xdocreport.document.IXDocReport |
loadDocumentAsIDocxReport(InputStream documentTemplateAsStream,
fr.opensagres.xdocreport.template.TemplateEngineKind freemarkerOrVelocityTemplateKind) |
InputStream |
loadDocumentAsStream(String filePath) |
void |
mergeAndConvertOutput(String templatePath,
OutputStream outputStream,
fr.opensagres.xdocreport.converter.Options options,
fr.opensagres.xdocreport.template.TemplateEngineKind templateEngineKind,
Map<String,Object> nonImageVariableMap) |
void |
mergeAndGenerateOutput(InputStream inputStream,
OutputStream outputStream,
fr.opensagres.xdocreport.template.TemplateEngineKind templateEngineKind,
Map<String,Object> nonImageVariableMap) |
void |
mergeAndGenerateOutput(InputStream inputStream,
OutputStream outputStream,
fr.opensagres.xdocreport.template.TemplateEngineKind templateEngineKind,
Map<String,Object> nonImageVariableMap,
Map<String,String> imageVariablesWithPathMap) |
void |
mergeAndGenerateOutput(String templatePath,
OutputStream outputStream,
fr.opensagres.xdocreport.template.TemplateEngineKind templateEngineKind,
Map<String,Object> nonImageVariableMap) |
void |
mergeAndGenerateOutput(String templatePath,
OutputStream outputStream,
fr.opensagres.xdocreport.template.TemplateEngineKind templateEngineKind,
Map<String,Object> nonImageVariableMap,
Map<String,String> imageVariablesWithPathMap) |
void |
replaceImagesVariabalesInTemplate(fr.opensagres.xdocreport.document.IXDocReport report,
Map<String,String> variablesToBeReplaced,
fr.opensagres.xdocreport.template.IContext context) |
fr.opensagres.xdocreport.template.IContext |
replaceVariabalesInTemplateOtherThanImages(fr.opensagres.xdocreport.document.IXDocReport report,
Map<String,Object> variablesToBeReplaced) |
public InputStream loadDocumentAsStream(String filePath) throws IOException
IOExceptionpublic fr.opensagres.xdocreport.document.IXDocReport loadDocumentAsIDocxReport(InputStream documentTemplateAsStream, fr.opensagres.xdocreport.template.TemplateEngineKind freemarkerOrVelocityTemplateKind) throws IOException, fr.opensagres.xdocreport.core.XDocReportException
IOExceptionfr.opensagres.xdocreport.core.XDocReportExceptionpublic fr.opensagres.xdocreport.template.IContext replaceVariabalesInTemplateOtherThanImages(fr.opensagres.xdocreport.document.IXDocReport report,
Map<String,Object> variablesToBeReplaced)
throws fr.opensagres.xdocreport.core.XDocReportException
fr.opensagres.xdocreport.core.XDocReportExceptionpublic void replaceImagesVariabalesInTemplate(fr.opensagres.xdocreport.document.IXDocReport report,
Map<String,String> variablesToBeReplaced,
fr.opensagres.xdocreport.template.IContext context)
public void generateMergedOutput(fr.opensagres.xdocreport.document.IXDocReport report,
fr.opensagres.xdocreport.template.IContext context,
OutputStream outputStream)
throws fr.opensagres.xdocreport.core.XDocReportException,
IOException
fr.opensagres.xdocreport.core.XDocReportExceptionIOExceptionpublic void convertMergedOutput(fr.opensagres.xdocreport.document.IXDocReport report,
fr.opensagres.xdocreport.template.IContext context,
fr.opensagres.xdocreport.converter.Options options,
OutputStream outputStream)
throws fr.opensagres.xdocreport.core.XDocReportException,
IOException
fr.opensagres.xdocreport.core.XDocReportExceptionIOExceptionpublic void mergeAndGenerateOutput(String templatePath, OutputStream outputStream, fr.opensagres.xdocreport.template.TemplateEngineKind templateEngineKind, Map<String,Object> nonImageVariableMap) throws IOException, fr.opensagres.xdocreport.core.XDocReportException
IOExceptionfr.opensagres.xdocreport.core.XDocReportExceptionpublic void mergeAndConvertOutput(String templatePath, OutputStream outputStream, fr.opensagres.xdocreport.converter.Options options, fr.opensagres.xdocreport.template.TemplateEngineKind templateEngineKind, Map<String,Object> nonImageVariableMap) throws IOException, fr.opensagres.xdocreport.core.XDocReportException
IOExceptionfr.opensagres.xdocreport.core.XDocReportExceptionpublic void mergeAndGenerateOutput(InputStream inputStream, OutputStream outputStream, fr.opensagres.xdocreport.template.TemplateEngineKind templateEngineKind, Map<String,Object> nonImageVariableMap) throws IOException, fr.opensagres.xdocreport.core.XDocReportException
IOExceptionfr.opensagres.xdocreport.core.XDocReportExceptionpublic void mergeAndGenerateOutput(String templatePath, OutputStream outputStream, fr.opensagres.xdocreport.template.TemplateEngineKind templateEngineKind, Map<String,Object> nonImageVariableMap, Map<String,String> imageVariablesWithPathMap) throws IOException, fr.opensagres.xdocreport.core.XDocReportException
IOExceptionfr.opensagres.xdocreport.core.XDocReportExceptionpublic void mergeAndGenerateOutput(InputStream inputStream, OutputStream outputStream, fr.opensagres.xdocreport.template.TemplateEngineKind templateEngineKind, Map<String,Object> nonImageVariableMap, Map<String,String> imageVariablesWithPathMap) throws IOException, fr.opensagres.xdocreport.core.XDocReportException
IOExceptionfr.opensagres.xdocreport.core.XDocReportExceptionCopyright © 2017. All rights reserved.