Package com.nomagic.magicreport.engine
Class TemplateConstants
java.lang.Object
com.nomagic.magicreport.engine.TemplateConstants
Contain constants value for template engine.
- Since:
- Jun 20, 2007
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringUse additional element and owned element to get children of element.static final PatternContains valid pattern of context name.static final StringDefault template encoding.static final StringDefault report output encoding.static final StringDefault processing size.static final Stringstatic final StringKey for store report auto image.static final StringKey for enable template comment.static final StringKey to apply header/footer for child template to main templatestatic final StringKey to estimate docx output file sizestatic final StringKey to define max file size of DOCXstatic final StringKey to apply style for child template when the style duplicate with parent stylestatic final StringKey for ignoring style list of child template when using include/includesectionstatic final StringKey for apply only list of styles of child that not duplicated with parentstatic final StringKey to add line break or carriage return instead of line break from CharSequence in formatterstatic final StringKey for enable engine to render all content in HTML format.static final StringKey for using retina scalingstatic final StringKey for store image format of output template.static final StringKey for store report output encoding.static final StringKey for store report input file.static final StringKey for store report input format.static final StringKey for store report input location.static final StringKey for currently file location that is evaluated.static final Stringstatic final Stringstatic final Stringstatic final StringKey for store report input file.static final StringKey for store report input location.static final StringKey for store report output file.static final StringKey for store report output file.static final StringKey for store report template name.static final StringKey for enable engine to replace ODP hyperlink to page name.static final StringKey for store report output DPI.static final StringKey for store report output encoding.static final StringKey for store report output file.static final StringKey for store report output file.static final StringKey for store report output format.static final StringKey for global image output DPIstatic final StringKey for local image output DPIstatic final StringKey for store report output location.static final StringKeys for printing string if field value is null.static final StringKey for store report output resources.static final StringKey for pool size.static final StringKey for process location property.static final StringKey for size of process in memory.static final StringUse additional element and owned element to get children of element.static final StringKey for enable RTF RSID support.static final StringKey for disable engine to render all HTML content to HTML format.static final StringFlag for testing templatestatic final StringTrim trail spaces after Hash statement.static final StringKey to estimate xlsx output file sizestatic final StringKey for selecting the first or last hyperlink in the HTML String of any cell, and apply the selected hyperlink to the cell. -
Method Summary
-
Field Details
-
TEMPLATE_PROCESS_LOCATION
Key for process location property. A location of temporary directory for processing template. Template engine may require to create some temporary file or resources for evaluate the template.- See Also:
-
TEMPLATE_PROCESS_SIZE
Key for size of process in memory. If template size is larger than this value process will go on file system.- See Also:
-
TEMPLATE_POOL_SIZE
Key for pool size. You can set the number of the process ofConcurrentToolinstance for template engine. Default value is 1.Increase this value, may encounter problem on non-concurrent support environment.
- See Also:
-
TEMPLATE_IMAGE_FORMAT
Key for store image format of output template.- See Also:
-
TEMPLATE_AUTO_IMAGE
Key for store report auto image.- 0 = none
- 1 = fit to paper (large only)
- 2 = fit and rotate left (large only)
- 3 = fit and rotate right (large only)
- See Also:
-
TEMPLATE_INPUT_FILE
Key for store report input file.- See Also:
-
TEMPLATE_INPUT_LOCATION
Key for store report input location.- See Also:
-
TEMPLATE_MAIN_INPUT_FILE
Key for store report input file.- See Also:
-
TEMPLATE_MAIN_INPUT_LOCATION
Key for store report input location.- See Also:
-
TEMPLATE_INPUT_FORMAT
Key for store report input format.- See Also:
-
TEMPLATE_OUTPUT_ON_BLANK_FIELD
Keys for printing string if field value is null. If the variable reference $variable has no value, but you prefer a blank text field. Useengine.setProperty("template.output.on.blank.field", "")If this property isnull, engine will print the reference $variable as text. By default this value isnull- See Also:
-
TEMPLATE_INPUT_ENCODING
Key for store report output encoding.- See Also:
-
TEMPLATE_OUTPUT_FILE
Key for store report output file.- See Also:
-
TEMPLATE_OUTPUT_FILENAME
Key for store report output file.- See Also:
-
TEMPLATE_OUTPUT_LOCATION
Key for store report output location.- See Also:
-
TEMPLATE_MAIN_OUTPUT_FILE
Key for store report output file.- See Also:
-
TEMPLATE_MAIN_OUTPUT_LOCATION
Key for store report output file.- See Also:
-
TEMPLATE_OUTPUT_RESOURCES
Key for store report output resources.- See Also:
-
TEMPLATE_LATEST_INPUT_FILE
Key for currently file location that is evaluated.- See Also:
-
TEMPLATE_LATEST_INPUT_LOCATION
- See Also:
-
TEMPLATE_LATEST_OUTPUT_FILE
- See Also:
-
TEMPLATE_LATEST_OUTPUT_LOCATION
- See Also:
-
TEMPLATE_OUTPUT_FORMAT
Key for store report output format.- See Also:
-
TEMPLATE_OUTPUT_ENCODING
Key for store report output encoding.- See Also:
-
TEMPLATE_OUTPUT_DPI
Key for store report output DPI.- See Also:
-
TEMPLATE_OUTPUT_IMAGE_DPI_LOCAL
Key for local image output DPI- See Also:
-
TEMPLATE_OUTPUT_IMAGE_DPI
Key for global image output DPI- See Also:
-
TEMPLATE_NAME
Key for store report template name.- See Also:
-
TEMPLATE_COMMENT
Key for enable template comment. The template may corrupt the template structure by remove all necessary tag between comment. Possible value of this property istrueorfalse(Default: true)- See Also:
-
TEMPLATE_FORCE_HTML
Key for enable engine to render all content in HTML format. Generally, the engine automatically render the content in HTML format if and only if the content started with <html/>. (Default: false)- See Also:
-
TEMPLATE_SKIP_HTML_ALL
Key for disable engine to render all HTML content to HTML format. This key has more priority than the content that started with <html/> or template.force.html. (Default: false)- See Also:
-
TEMPLATE_TRIM_TRAIL_SPACE
Trim trail spaces after Hash statement.- See Also:
-
TEMPLATE_ICON_RETINALSCALE
Key for using retina scaling- See Also:
-
TEMPLATE_DOCX_IGNORECHILDSTYLE
Key for ignoring style list of child template when using include/includesection- See Also:
-
TEMPLATE_DOCX_IGNOREDUPCHILDSTYLE
Key for apply only list of styles of child that not duplicated with parent- See Also:
-
TEMPLATE_DOCX_FORCEAPPLYCHILDSTYLE
Key to apply style for child template when the style duplicate with parent style- See Also:
-
TEMPLATE_DOCX_APPLYCHILDHEADERFOOTER
Key to apply header/footer for child template to main template- See Also:
-
TEMPLATE_DOCX_NEWLINE_INSERTED
Key to add line break or carriage return instead of line break from CharSequence in formatter- See Also:
-
TEMPLATE_DOCX_CHECKSIZE
Key to estimate docx output file size- See Also:
-
TEMPLATE_XLSX_CHECKSIZE
Key to estimate xlsx output file size- See Also:
-
TEMPLATE_DOCX_CHECKSIZE_MAX
Key to define max file size of DOCX- See Also:
-
TEMPLATE_RTF_NEWLINE
Use additional element and owned element to get children of element.- See Also:
-
TEMPLATE_RTF_RSID
Key for enable RTF RSID support. In Word 2002, a new style of revision tracking was established. RSIDs (Revision Save IDs) indicate when text or a property was changed. This tracking id can make the generated document errors. Possible value of this property istrueorfalse(Default: false)- See Also:
-
TEMPLATE_ODP_USE_VIRTUAL_NAME
Key for enable engine to replace ODP hyperlink to page name. The OpenOffice.org will render page name pattern "page1", "page2",... and "Slide 1", "Slide 2",... with virtual name of "Slide 1", "Slide 2",... thus all the hyperlink pointing to these page name will not be working. If this property istrue, the engine will replace hyperlink name virtual name. (Default: true)- See Also:
-
TEMPLATE_XLSX_HTML_LINK
Key for selecting the first or last hyperlink in the HTML String of any cell, and apply the selected hyperlink to the cell.- See Also:
-
ADD_ADDITIONAL_ELEMENT
Use additional element and owned element to get children of element.- See Also:
-
CONTEXT_NAME_PATTERN
Contains valid pattern of context name. -
DEFAULT_INPUT_ENCODING
Default template encoding.- See Also:
-
DEFAULT_OUTPUT_ENCODING
Default report output encoding.- See Also:
-
RTF_FORMAT
- See Also:
-
DEFAULT_PROCESS_SIZE
Default processing size.- See Also:
-
TEMPLATE_TEST
Flag for testing template- See Also:
-