public class ODPEngine extends ODFEngine
Modifier and Type | Class and Description |
---|---|
protected class |
ODPEngine.PostProcessHandler
Handle the post process in XML parser.
|
colorList, fontList, manifestList, styleList
velocityContext
context, isAborted, preProcessFile, processFile, properties
Constructor and Description |
---|
ODPEngine()
A class constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
handleForPage(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forpage directive.
|
protected void |
handleVTLSyntax(java.lang.StringBuffer inProcessBuffer)
Manage and format the VTL syntax along with ODF syntax.
|
protected void |
postProcess(Template template)
Perform a post-processing after the template has been evaluated.
|
addColor, addFont, addList, addObject, addStyle, createComment, createParseErrorWrapper, createTemplate, createTemplate, createTemplate, evaluate, getEntrySet, getTemplate, handleContent, handleForRow, handleMeta, lineCount, processVelocityException, splitVTLExpression, translate
abort, checkFileNotFoundException, destroy, getClassLoader, getFormatter, handleImport, handleIncludeSection, handleSectionBegin, isNoSpaceException, preProcess, process, process, processException, processVelocityException, setClassLoader, setFormatter, setLatestLocation, setLocation, setProperty, trimTrailSpace
addContext, addInvalidReferenceHandler, addObserver, addReferenceInsertionHandler, evaluate, getConcurrentToolException, getContext, getCurrentRuntimeInstance, getInvalidReferenceHandler, getProcessSize, getProperties, getProperty, getReferenceInsertionHandler, isMemoryMode, notifyObservers, observers, setConcurrentToolException, setContext, setCurrentRuntimeInstance
protected void handleForPage(Template template, java.lang.StringBuffer inProcessBuffer) throws ParseErrorException
handleForPage
in class ODFEngine
template
- Template source.inProcessBuffer
- in process buffer.ParseErrorException
- when error while translation, or syntax not recognized.protected void handleVTLSyntax(java.lang.StringBuffer inProcessBuffer)
handleVTLSyntax
in class ODFEngine
inProcessBuffer
- the ODF content.protected void postProcess(Template template) throws TemplateException
postProcess
in class ODFEngine
template
- template after evaluated.ParseErrorException
- if a syntax or other error which prevents it from being
parsed.InitializationEngineException
- error while initializing engineTemplateException
- other error while processing the templateAbstractTemplateEngine.postProcess(com.nomagic.magicreport.Template)
Copyright © 2010 - No Magic Asia