Modifier and Type | Method and Description |
---|---|
ParseErrorException |
ParseErrorException.copy(java.lang.String message)
Creates and returns a copy of this object.
|
Modifier and Type | Class and Description |
---|---|
class |
ODSParseErrorException
Application-level exception thrown when a template has a syntax or other error which prevents it from being
parsed.
|
Constructor and Description |
---|
ODSParseErrorException(ParseErrorException message)
Constructs a new exception with the specified detail message.
|
Modifier and Type | Class and Description |
---|---|
class |
PPTXParseErrorException
Application-level exception thrown when a template has a syntax or other error which prevents it from being
parsed.
|
class |
XLSXParseErrorException
Application-level exception thrown when a template has a syntax or other error which prevents it from being
parsed.
|
Constructor and Description |
---|
PPTXParseErrorException(ParseErrorException message)
Constructs a new exception with the specified detail message.
|
XLSXParseErrorException(ParseErrorException message)
Constructs a new exception with the specified detail message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
FileTool.create(java.io.File templateFile)
A shortcut to create file which output filename is same as a name of template file and no import context object.
|
protected java.lang.String |
FileTool.create(java.io.File templateFile,
java.io.File outputFile,
java.lang.Object importedObject)
Generate the report output by using the template file.
|
java.lang.String |
FileTool.create(java.io.File templateFile,
java.lang.Object importObject)
A shortcut to create file which output filename is same as a name of template file.
|
java.lang.String |
FileTool.create(java.io.File templateFile,
java.lang.String outputFileName,
java.lang.Object importObject)
Generate the report output from given template file.
|
protected java.lang.String |
FileTool.create(java.io.File templateFile,
java.lang.String outputDir,
java.lang.String outputFileName,
java.lang.Object importedObject)
Generate the report output by using the template file.
|
java.lang.String |
FileTool.create(java.lang.String template)
A shortcut to create file which output filename is template name and no import context object.
|
java.lang.String |
FileTool.create(java.lang.String template,
java.lang.Object importObject)
A shortcut to create file which output filename is template name.
|
java.lang.String |
FileTool.create(java.lang.String templateFileName,
java.lang.String outputFileName,
java.lang.Object importObject)
Generate the report output from given template name.
|
java.lang.String |
FileTool.create(java.lang.String templateType,
java.lang.String template,
java.lang.String outputname,
java.lang.Object importObject)
Deprecated.
|
protected java.lang.String |
FileTool.create(java.lang.String templateDir,
java.lang.String templateFileName,
java.lang.String outputDir,
java.lang.String outputFileName,
java.lang.Object importedObject)
Generate the report output by using the template file.
|
ITool.Void |
FileTool.silentCreate(java.io.File templateFile)
A shortcut to create file which output filename is same as a name of input template file and no import context object.
|
ITool.Void |
FileTool.silentCreate(java.io.File templateFile,
java.lang.Object importObject)
A shortcut to create file which output filename is same as a name of input template file.
|
ITool.Void |
FileTool.silentCreate(java.io.File templateFile,
java.lang.String outputFileName,
java.lang.Object importObject)
Generate the report output from given template file.
|
ITool.Void |
FileTool.silentCreate(java.lang.String template)
A shortcut to create file which output filename is template name and no import context object.
|
ITool.Void |
FileTool.silentCreate(java.lang.String template,
java.lang.Object importObject)
A shortcut to create file which output filename is template name.
|
ITool.Void |
FileTool.silentCreate(java.lang.String template,
java.lang.String outputFileName,
java.lang.Object importObject)
Generate the report output from given template name.
|
ITool.Void |
FileTool.silentCreate(java.lang.String templateType,
java.lang.String template,
java.lang.String outputname,
java.lang.Object importObject)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected ParseErrorException |
RTFEngine.createParseErrorWrapper(ParseErrorException parseError,
java.io.Reader source)
Create a ParseErrorException from the message.
|
protected ParseErrorException |
ODSEngine.createParseErrorWrapper(ParseErrorException parseError,
java.io.Reader source)
Create a ParseErrorException from the message.
|
protected ParseErrorException |
DOCXEngine.createParseErrorWrapper(ParseErrorException parseError,
java.io.Reader source)
Create a ParseErrorException from the message.
|
protected ParseErrorException |
ODFEngine.createParseErrorWrapper(ParseErrorException parseError,
java.io.Reader source)
Create a ParseErrorException from the message.
|
protected ParseErrorException |
XLSXEngine.createParseErrorWrapper(ParseErrorException parseError,
java.io.Reader source)
Create a ParseErrorException from the message.
|
protected ParseErrorException |
PPTXEngine.createParseErrorWrapper(ParseErrorException parseError,
java.io.Reader source)
Create a ParseErrorException from the message.
|
Modifier and Type | Method and Description |
---|---|
protected ParseErrorException |
RTFEngine.createParseErrorWrapper(ParseErrorException parseError,
java.io.Reader source)
Create a ParseErrorException from the message.
|
protected ParseErrorException |
ODSEngine.createParseErrorWrapper(ParseErrorException parseError,
java.io.Reader source)
Create a ParseErrorException from the message.
|
protected ParseErrorException |
DOCXEngine.createParseErrorWrapper(ParseErrorException parseError,
java.io.Reader source)
Create a ParseErrorException from the message.
|
protected ParseErrorException |
ODFEngine.createParseErrorWrapper(ParseErrorException parseError,
java.io.Reader source)
Create a ParseErrorException from the message.
|
protected ParseErrorException |
XLSXEngine.createParseErrorWrapper(ParseErrorException parseError,
java.io.Reader source)
Create a ParseErrorException from the message.
|
protected ParseErrorException |
PPTXEngine.createParseErrorWrapper(ParseErrorException parseError,
java.io.Reader source)
Create a ParseErrorException from the message.
|
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 . |
Modifier and Type | Method and Description |
---|---|
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 |
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.
|
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