Modifier and Type | Class and Description |
---|---|
class |
ODFTemplate
ODFTemplate use for handling the ODF document.
|
class |
OOXMLTemplate
OOXMLTemplate use for handling the OOXML document.
|
Modifier and Type | Field and Description |
---|---|
protected Template |
ParseErrorException.template
Contains reference to error template.
|
Modifier and Type | Method and Description |
---|---|
Template |
ParseErrorException.getTemplate()
Return the template containing the error, or null if not defined.
|
Modifier and Type | Method and Description |
---|---|
void |
ParseErrorException.setTemplate(Template template)
Set a template containing the error.
|
Constructor and Description |
---|
ParseErrorException(java.lang.String message,
Template template)
Constructs a new exception with the specified detail message.
|
ParseErrorException(java.lang.String message,
Template template,
int lineNumber)
Constructs a new exception with the specified detail message.
|
ParseErrorException(java.lang.String message,
Template template,
int lineNumber,
int columnNumber)
Constructs a new exception with the specified detail message.
|
ParseErrorException(java.lang.String message,
Template template,
int lineNumber,
int columnNumber,
java.lang.String source)
Constructs a new exception with the specified detail message.
|
Modifier and Type | Method and Description |
---|---|
Template |
ITemplateEngine.createTemplate()
Creates a new and empty
Template for generating report by this engine. |
Template |
ITemplateEngine.createTemplate(java.io.File input,
java.io.File output)
Creates a new
Template object. |
Modifier and Type | Method and Description |
---|---|
void |
ITemplateEngine.evaluate(Template template)
Merge a template with current context and rendered stream into the writer.
|
void |
AbstractTemplateEngine.evaluate(Template template)
Merge a template with current context and rendered stream into the writer.
|
void |
AbstractTemplateEngine.evaluate(Template template,
ITemplateEngine parentEngine)
Merge a template with current context and rendered stream into the writer.
|
protected boolean |
AbstractTemplateEngine.isMemoryMode(Template template)
Tests if this template should process in memory mode.
This method is similar to code: |
protected abstract void |
AbstractTemplateEngine.postProcess(Template template)
Perform a post-processing after the template has been evaluated.
|
protected abstract void |
AbstractTemplateEngine.preProcess(Template template)
Perform a pre-processing before evaluate the template.
|
protected abstract void |
AbstractTemplateEngine.process(Template template)
Process a template evaluation.
|
protected abstract void |
AbstractTemplateEngine.process(Template template,
ITemplateEngine parentEngine)
Process a template evaluation.
|
Constructor and Description |
---|
PPTXParseErrorException(java.lang.String message,
Template template,
int lineNumber,
int columnNumber,
java.lang.String source)
Constructs a new exception with the specified detail message.
|
XLSXParseErrorException(java.lang.String message,
Template template,
java.lang.String[] position,
int columnNumber,
java.lang.String source)
Constructs a new exception with the specified detail message.
|
Modifier and Type | Method and Description |
---|---|
static void |
DOCXChildEngineHelper.manageArtifactFiles(ITemplateEngine engine,
ITemplateEngine parentEngine,
Template template,
DocumentInfo childDocInfo)
Manage artifact files : content_type.xml, word/_rels/document.xml.rels, numbering.xml for child engine.
|
Modifier and Type | Method and Description |
---|---|
Template |
DOCXEngine.createTemplate()
Creates a new
Template object for generating report by this engine. |
Template |
ODFEngine.createTemplate()
Creates a new
ODFTemplate object. |
Template |
XLSXEngine.createTemplate()
Creates a new
Template object for generating report by this engine. |
Template |
DefaultTemplateEngine.createTemplate()
Creates a new and empty
Template for generating report by this engine. |
Template |
PPTXEngine.createTemplate()
Creates a new
Template object for generating report by this engine. |
Template |
DOCXEngine.createTemplate(java.io.File input,
java.io.File output)
Creates a new
Template object. |
Template |
ODFEngine.createTemplate(java.io.File input,
java.io.File output)
Creates a new
ODFTemplate object. |
Template |
XLSXEngine.createTemplate(java.io.File input,
java.io.File output)
Creates a new
Template object. |
Template |
DefaultTemplateEngine.createTemplate(java.io.File input,
java.io.File output)
Creates a new
Template object. |
Template |
PPTXEngine.createTemplate(java.io.File input,
java.io.File output)
Creates a new
Template object. |
Template |
DOCXEngine.createTemplate(java.io.File input,
java.io.File output,
boolean ignoreLocation)
Creates a new
Template object. |
Template |
ODFEngine.createTemplate(java.io.File input,
java.io.File output,
boolean ignoreLocation)
Creates a new
Template object. |
Template |
XLSXEngine.createTemplate(java.io.File input,
java.io.File output,
boolean ignoreLocation)
Creates a new
Template object. |
Template |
DefaultTemplateEngine.createTemplate(java.io.File input,
java.io.File output,
boolean ignoreLocation)
Creates a new
Template object. |
Template |
PPTXEngine.createTemplate(java.io.File input,
java.io.File output,
boolean ignoreLocation)
Creates a new
Template object. |
Template |
DOCXEngine.createTemplate(java.io.File input,
java.io.File output,
boolean ignoreDocInfo,
boolean ignoreLocation)
Creates a new
Template object. |
Template |
DOCXEngine.getTemplate()
Return template.
|
Template |
ODFEngine.getTemplate()
Return template.
|
Template |
XLSXEngine.getTemplate()
Return template.
|
Template |
PPTXEngine.getTemplate()
Return template.
|
Modifier and Type | Method and Description |
---|---|
void |
DOCXEngine.evaluate(Template template)
Merge a template with current context and rendered stream into the writer.
|
void |
ODFEngine.evaluate(Template template)
Merge a template with current context and rendered stream into the writer.
|
void |
TextEngine.evaluate(Template template)
Merge a template with current context and rendered stream into the writer.
|
void |
XLSXEngine.evaluate(Template template)
Merge a template with current context and rendered stream into the writer.
|
void |
PPTXEngine.evaluate(Template template)
Merge a template with current context and rendered stream into the writer.
|
void |
DOCXEngine.getDocumentSubFileInfo(Template template,
java.lang.String name,
org.xml.sax.helpers.DefaultHandler handler)
Get content of sub file before evaluate
|
void |
DOCXEngine.getEntryContent(Template template,
java.lang.String entryName)
Get entry from input file and entryName.
|
protected void |
ODSEngine.handleForColumn(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forcol directive.
|
protected void |
DOCXEngine.handleForColumn(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forcol directive.
|
protected void |
XLSXEngine.handleForColumn(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forcol directive.
|
protected void |
PPTXEngine.handleForColumn(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forcol directive.
|
protected void |
RTFEngine.handleForPage(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forpage directive.
|
protected void |
ODSEngine.handleForPage(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forpage directive.
|
protected void |
DOCXEngine.handleForPage(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forpage directive.
|
protected void |
ODFEngine.handleForPage(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forpage directive.
|
protected void |
XLSXEngine.handleForPage(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forpage directive.
|
protected void |
DefaultTemplateEngine.handleForPage(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forpage directive.
|
protected void |
PPTXEngine.handleForPage(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forpage directive.
|
protected void |
ODPEngine.handleForPage(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forpage directive.
|
protected void |
RTFEngine.handleForRow(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forrow directive.
|
protected void |
HTMLEngine.handleForRow(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forrow directive.
|
protected void |
DOCXEngine.handleForRow(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forrow directive.
|
protected void |
ODFEngine.handleForRow(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forrow directive.
|
protected void |
XLSXEngine.handleForRow(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forrow directive.
|
protected void |
DefaultTemplateEngine.handleForRow(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forrow directive.
|
protected void |
PPTXEngine.handleForRow(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forrow directive.
|
protected void |
DOCXEngine.handleGridCol(Template template,
java.lang.StringBuffer inProcessBuffer)
Add id to w:gridCol tag.
|
protected void |
DefaultTemplateEngine.handleImport(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #include directive.
|
protected void |
DOCXEngine.handleIncludeSection(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #includeSection directive.
|
protected void |
DefaultTemplateEngine.handleIncludeSection(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #includeSection directive.
|
protected void |
PPTXEngine.handleIncludeSection(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #includeSection directive.
|
protected void |
DOCXEngine.handleIncludeSection(Template template,
java.lang.StringBuffer inProcessBuffer,
DocumentInfo child)
Handle the #includeSection directive.
|
protected void |
DOCXEngine.handleMergeColumns(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle $tableprop.mergeColumns directive
|
protected void |
XLSXEngine.handleMergeColumns(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle $tableprop.mergeColumns directive
|
protected void |
PPTXEngine.handleMergeColumns(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle $tableprop.mergeColumns directive
|
protected void |
DOCXEngine.handleMergeRows(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle $tableprop.mergeRows directive
|
protected void |
XLSXEngine.handleMergeRows(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle $tableprop.mergeRows directive
|
protected void |
PPTXEngine.handleMergeRows(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle $tableprop.mergeRows directive
|
protected void |
RTFEngine.handleSectionBegin(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #sectionBegin directive.
|
protected void |
DOCXEngine.handleSectionBegin(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #sectionBegin directive.
|
protected void |
DefaultTemplateEngine.handleSectionBegin(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #sectionBegin directive.
|
protected void |
PPTXEngine.handleSectionBegin(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #sectionBegin directive.
|
void |
DOCXEngine.intenalEvaluate(Template template) |
boolean |
DOCXEngine.isMemoryMode(Template template) |
protected void |
RTFEngine.postProcess(Template template)
Perform a post-processing after the template has been evaluated.
|
protected void |
ODSEngine.postProcess(Template template)
Perform a post-processing after the template has been evaluated.
|
protected void |
DOCXEngine.postProcess(Template template)
Perform a post-processing after the template has been evaluated.
|
protected void |
ODFEngine.postProcess(Template template)
Perform a post-processing after the template has been evaluated.
|
protected void |
DocBookEngine.postProcess(Template template)
Perform a post-processing after the template has been evaluated.
|
protected void |
XLSXEngine.postProcess(Template template)
Perform a post-processing after the template has been evaluated.
|
protected void |
DefaultTemplateEngine.postProcess(Template template)
Perform a post-processing after the template has been evaluated.
|
protected void |
PPTXEngine.postProcess(Template template)
Perform a post-processing after the template has been evaluated.
|
protected void |
ODPEngine.postProcess(Template template)
Perform a post-processing after the template has been evaluated.
|
protected void |
RTFEngine.preProcess(Template template)
Perform a pre-processing before evaluate the template.
|
protected void |
TextEngine.preProcess(Template template)
Perform a pre-processing before evaluate template.
|
protected void |
DefaultTemplateEngine.preProcess(Template template)
Perform a pre-processing before evaluate template.
|
void |
DefaultTemplateEngine.process(Template template)
Process a template.
|
void |
DefaultTemplateEngine.process(Template template,
ITemplateEngine parentEngine)
Process a template.
|
protected TemplateException |
ODSEngine.processException(Template template,
ParseErrorException e)
Call this method to process a
ParseErrorException . |
protected TemplateException |
XLSXEngine.processException(Template template,
ParseErrorException e)
Call this method to process a
ParseErrorException . |
protected TemplateException |
DefaultTemplateEngine.processException(Template template,
ParseErrorException e)
Call this method to process a
ParseErrorException . |
protected TemplateException |
PPTXEngine.processException(Template template,
ParseErrorException e)
Call this method to process a
ParseErrorException . |
protected TemplateException |
DefaultTemplateEngine.processVelocityException(Template template,
org.apache.velocity.exception.MethodInvocationException e)
Call this method to process an Velocity exception and return in new format (
ParseErrorException ). |
protected TemplateException |
RTFEngine.processVelocityException(Template template,
org.apache.velocity.exception.ParseErrorException e)
Call this method to process an Velocity exception and return in new format.
|
protected TemplateException |
DOCXEngine.processVelocityException(Template template,
org.apache.velocity.exception.ParseErrorException e)
Call this method to process an Velocity exception and return in new format.
|
protected TemplateException |
ODFEngine.processVelocityException(Template template,
org.apache.velocity.exception.ParseErrorException e)
Call this method to process an Velocity exception and return in new format.
|
protected TemplateException |
XLSXEngine.processVelocityException(Template template,
org.apache.velocity.exception.ParseErrorException e)
Call this method to process an Velocity exception and return in new format.
|
protected TemplateException |
DefaultTemplateEngine.processVelocityException(Template template,
org.apache.velocity.exception.ParseErrorException e)
Call this method to process an Velocity exception and return in new format (
ParseErrorException ). |
protected TemplateException |
PPTXEngine.processVelocityException(Template template,
org.apache.velocity.exception.ParseErrorException e)
Call this method to process an Velocity exception and return in new format.
|
protected void |
RTFEngine.translate(Template template,
java.lang.StringBuffer inProcessBuffer)
Translate the RTF document into valid VTL document.
|
protected void |
ODSEngine.translate(Template template,
java.lang.StringBuffer inProcessBuffer)
Process the template in
inProcessBuffer into valid format. |
void |
DOCXEngine.translate(Template template,
java.lang.StringBuffer inProcessBuffer)
Process the template in
inProcessBuffer into valid format. |
protected void |
ODFEngine.translate(Template template,
java.lang.StringBuffer inProcessBuffer)
Process the template in
inProcessBuffer into valid format. |
protected void |
XLSXEngine.translate(Template template,
java.lang.StringBuffer inProcessBuffer)
Process the template in
inProcessBuffer into valid format. |
protected void |
DefaultTemplateEngine.translate(Template template,
java.lang.StringBuffer inProcessBuffer)
Process the template in
inProcessBuffer into valid format. |
protected void |
PPTXEngine.translate(Template template,
java.lang.StringBuffer inProcessBuffer)
Process the template in
inProcessBuffer into valid format. |
void |
DOCXEngine.translate(Template template,
java.lang.StringBuffer inProcessBuffer,
DocumentInfo child)
Process the template in
inProcessBuffer into valid format. |
void |
DOCXEngine.translate(Template template,
java.lang.StringBuffer inProcessBuffer,
java.lang.String entryName,
DocumentInfo child)
Process the template in
inProcessBuffer into valid format. |
Modifier and Type | Method and Description |
---|---|
Directive |
TemplateParser.extractDirective(java.lang.StringBuffer buffer,
int offset,
java.lang.String directiveName,
java.lang.Class<?>[] parameterTypes,
Template template)
Extract a directive from buffer string.
|
Copyright © 2010 - No Magic Asia