Class TemplateConstants

java.lang.Object
com.nomagic.magicreport.engine.TemplateConstants

@OpenApiAll public final class TemplateConstants extends Object
Contain constants value for template engine.
Since:
Jun 20, 2007
  • Field Details

    • TEMPLATE_PROCESS_LOCATION

      public static final String 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

      public static final String 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

      public static final String TEMPLATE_POOL_SIZE
      Key for pool size. You can set the number of the process of ConcurrentTool instance for template engine. Default value is 1.

      Increase this value, may encounter problem on non-concurrent support environment.

      See Also:
    • TEMPLATE_IMAGE_FORMAT

      public static final String TEMPLATE_IMAGE_FORMAT
      Key for store image format of output template.
      See Also:
    • TEMPLATE_AUTO_IMAGE

      public static final String 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

      public static final String TEMPLATE_INPUT_FILE
      Key for store report input file.
      See Also:
    • TEMPLATE_INPUT_LOCATION

      public static final String TEMPLATE_INPUT_LOCATION
      Key for store report input location.
      See Also:
    • TEMPLATE_MAIN_INPUT_FILE

      public static final String TEMPLATE_MAIN_INPUT_FILE
      Key for store report input file.
      See Also:
    • TEMPLATE_MAIN_INPUT_LOCATION

      public static final String TEMPLATE_MAIN_INPUT_LOCATION
      Key for store report input location.
      See Also:
    • TEMPLATE_INPUT_FORMAT

      public static final String TEMPLATE_INPUT_FORMAT
      Key for store report input format.
      See Also:
    • TEMPLATE_OUTPUT_ON_BLANK_FIELD

      public static final String 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. Use engine.setProperty("template.output.on.blank.field", "") If this property is null, engine will print the reference $variable as text. By default this value is null
      See Also:
    • TEMPLATE_INPUT_ENCODING

      public static final String TEMPLATE_INPUT_ENCODING
      Key for store report output encoding.
      See Also:
    • TEMPLATE_OUTPUT_FILE

      public static final String TEMPLATE_OUTPUT_FILE
      Key for store report output file.
      See Also:
    • TEMPLATE_OUTPUT_FILENAME

      public static final String TEMPLATE_OUTPUT_FILENAME
      Key for store report output file.
      See Also:
    • TEMPLATE_OUTPUT_LOCATION

      public static final String TEMPLATE_OUTPUT_LOCATION
      Key for store report output location.
      See Also:
    • TEMPLATE_MAIN_OUTPUT_FILE

      public static final String TEMPLATE_MAIN_OUTPUT_FILE
      Key for store report output file.
      See Also:
    • TEMPLATE_MAIN_OUTPUT_LOCATION

      public static final String TEMPLATE_MAIN_OUTPUT_LOCATION
      Key for store report output file.
      See Also:
    • TEMPLATE_OUTPUT_RESOURCES

      public static final String TEMPLATE_OUTPUT_RESOURCES
      Key for store report output resources.
      See Also:
    • TEMPLATE_LATEST_INPUT_FILE

      public static final String TEMPLATE_LATEST_INPUT_FILE
      Key for currently file location that is evaluated.
      See Also:
    • TEMPLATE_LATEST_INPUT_LOCATION

      public static final String TEMPLATE_LATEST_INPUT_LOCATION
      See Also:
    • TEMPLATE_LATEST_OUTPUT_FILE

      public static final String TEMPLATE_LATEST_OUTPUT_FILE
      See Also:
    • TEMPLATE_LATEST_OUTPUT_LOCATION

      public static final String TEMPLATE_LATEST_OUTPUT_LOCATION
      See Also:
    • TEMPLATE_OUTPUT_FORMAT

      public static final String TEMPLATE_OUTPUT_FORMAT
      Key for store report output format.
      See Also:
    • TEMPLATE_OUTPUT_ENCODING

      public static final String TEMPLATE_OUTPUT_ENCODING
      Key for store report output encoding.
      See Also:
    • TEMPLATE_OUTPUT_DPI

      public static final String TEMPLATE_OUTPUT_DPI
      Key for store report output DPI.
      See Also:
    • TEMPLATE_OUTPUT_IMAGE_DPI_LOCAL

      public static final String TEMPLATE_OUTPUT_IMAGE_DPI_LOCAL
      Key for local image output DPI
      See Also:
    • TEMPLATE_OUTPUT_IMAGE_DPI

      public static final String TEMPLATE_OUTPUT_IMAGE_DPI
      Key for global image output DPI
      See Also:
    • TEMPLATE_NAME

      public static final String TEMPLATE_NAME
      Key for store report template name.
      See Also:
    • TEMPLATE_COMMENT

      public static final String 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 is true or false (Default: true)
      See Also:
    • TEMPLATE_FORCE_HTML

      public static final String 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

      public static final String 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

      public static final String TEMPLATE_TRIM_TRAIL_SPACE
      Trim trail spaces after Hash statement.
      See Also:
    • TEMPLATE_ICON_RETINALSCALE

      public static final String TEMPLATE_ICON_RETINALSCALE
      Key for using retina scaling
      See Also:
    • TEMPLATE_DOCX_IGNORECHILDSTYLE

      public static final String TEMPLATE_DOCX_IGNORECHILDSTYLE
      Key for ignoring style list of child template when using include/includesection
      See Also:
    • TEMPLATE_DOCX_IGNOREDUPCHILDSTYLE

      public static final String TEMPLATE_DOCX_IGNOREDUPCHILDSTYLE
      Key for apply only list of styles of child that not duplicated with parent
      See Also:
    • TEMPLATE_DOCX_FORCEAPPLYCHILDSTYLE

      public static final String TEMPLATE_DOCX_FORCEAPPLYCHILDSTYLE
      Key to apply style for child template when the style duplicate with parent style
      See Also:
    • TEMPLATE_DOCX_APPLYCHILDHEADERFOOTER

      public static final String TEMPLATE_DOCX_APPLYCHILDHEADERFOOTER
      Key to apply header/footer for child template to main template
      See Also:
    • TEMPLATE_DOCX_NEWLINE_INSERTED

      public static final String 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

      public static final String TEMPLATE_DOCX_CHECKSIZE
      Key to estimate docx output file size
      See Also:
    • TEMPLATE_XLSX_CHECKSIZE

      public static final String TEMPLATE_XLSX_CHECKSIZE
      Key to estimate xlsx output file size
      See Also:
    • TEMPLATE_DOCX_CHECKSIZE_MAX

      public static final String TEMPLATE_DOCX_CHECKSIZE_MAX
      Key to define max file size of DOCX
      See Also:
    • TEMPLATE_RTF_NEWLINE

      public static final String TEMPLATE_RTF_NEWLINE
      Use additional element and owned element to get children of element.
      See Also:
    • TEMPLATE_RTF_RSID

      public static final String 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 is true or false (Default: false)
      See Also:
    • TEMPLATE_ODP_USE_VIRTUAL_NAME

      public static final String 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 is true, the engine will replace hyperlink name virtual name. (Default: true)
      See Also:
    • ADD_ADDITIONAL_ELEMENT

      public static final String ADD_ADDITIONAL_ELEMENT
      Use additional element and owned element to get children of element.
      See Also:
    • CONTEXT_NAME_PATTERN

      public static final Pattern CONTEXT_NAME_PATTERN
      Contains valid pattern of context name.
    • DEFAULT_INPUT_ENCODING

      public static final String DEFAULT_INPUT_ENCODING
      Default template encoding.
      See Also:
    • DEFAULT_OUTPUT_ENCODING

      public static final String DEFAULT_OUTPUT_ENCODING
      Default report output encoding.
      See Also:
    • RTF_FORMAT

      public static final String RTF_FORMAT
      See Also:
    • DEFAULT_PROCESS_SIZE

      public static final String DEFAULT_PROCESS_SIZE
      Default processing size.
      See Also:
    • TEMPLATE_TEST

      public static final String TEMPLATE_TEST
      Flag for testing template
      See Also: