public class ReportProperties
extends PropertiesBase
An instance of this object provides access to values stored in the properties file. Each report object maintains its own set of properties. So, it is possible to use properties in the WindwardReports.properties file as global defaults and override them as needed per report.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ASIAN_SUPPORT
Sets if the server has asian fonts available for output.
|
static java.lang.String |
BASE_DIRECTORY
Set the base directory used for imported filesyss that have a relative path.
|
static java.lang.String |
CHECK_FOR_GLYPH_FONTNAMES
The list of fonts to consider when the specified font does not have the glyphs needed.
|
static java.lang.String |
CHECK_FOR_GLYPHS
Checks the font specified for text from an out tag and changes the font if it does not have glyphs for some of
the text.
|
static java.lang.String |
CHECK_FOR_OLE_IMAGES
If true will check all images brought in via the out tag for an OLE header (used in Northwind & Access databases)
and will strip it off.
|
static java.lang.String |
CSV_CELL_SEPARATOR
The character used to seperate cells.
|
static java.lang.String |
CSV_NEWLINE
The string used to create a newline.
|
static java.lang.String |
CSV_QUOTE_CHAR
The character used to quote a cell.
|
static java.lang.String |
CSV_TRIM_WHITESPACE
Set to "true" if cells should have whitespace trimmed from beginning and end.
|
static java.lang.String |
DEFAULT_CHART_DPI
When charts are rendered, they are rendered at this resolution.
|
static java.lang.String |
DEFAULT_DRAWING_DPI
When rendering a drawing (Shape or SmartArt) or the output format is a bitmap, it is done at this resolution.
|
static java.lang.String |
DEFAULT_IMAGE_DPI
If a bitmap does not have it's DPI set, this is the value used.
|
static java.lang.String |
EXPAND_OUT_TEXT
What the engine will do when it has a CR or TAB in the text returned by an out tag.
|
static java.lang.String |
FORCE_BITMAP_FORMAT
This will force all bitmaps in the created report to be of the requested format.
|
static java.lang.String |
HIDE_CHART_WORKSHEET_DATA
Every chart object in DOCX, PPTX, & XLSX output has an Excel worksheet behind it with the data.
|
static java.lang.String |
HTML_CSS_FILENAME
Set to the CSS filename if the CSS file is distinct (note part of the html body.
|
static java.lang.String |
HTML_CSS_TYPE
Sets if the css information will be written to a separate file, as part of the html file, or skipped (because the
file already exists).
|
static java.lang.String |
HTML_EMBED_IMAGES
Set to "true" to have the engine to embed all images in the HTML file instead of using separate image files.
|
static java.lang.String |
HTML_FULL_FILE
The report can be generated as either a complete html file, or as just the body.
|
static java.lang.String |
HTML_SET_XHTML
Set to "true" to create a HTML file that conforms to the XHTML spec.
|
static java.lang.String |
HTML_SPLIT_PAGES
Set to "true" to have the engine to split HTML output into multiple documents, one for each page of the document.
|
static java.lang.String |
IGNORE_TAG_COLORS
If true then do not add color formatting before tags (if it is the tag's color).
|
static java.lang.String |
IMAGE_DPI
The Dots Per Inch to render the bitmaps at.
|
static java.lang.String |
IMAGE_FORMAT
The format to render in for ProcessImage.
|
static java.lang.String |
IMPORT_USE_CHILD_STYLES
When an imported template's style settings don't match the master document this determines if default settings in
the imported document will match the imported style (true) or the master style (false).
|
static java.lang.String |
LAYOUT_DOCUMENT
If set to "off", then for output we do not have to layout (DOCX, XLSX, PPTX, HTML in non-pages mode), the engine
will not perform layout on the generated report.
|
static java.lang.String |
OFFICE_VERSION
The template will be parsed using the default values for that version of Word.
|
static java.lang.String |
OPENXML_COPY_DRAWINGS
Set to "true" if drawings are to be copied to output, set to "false" to drop them.
|
static java.lang.String |
OPENXML_COPY_METADATA
Set if the Windward metadata will be copied to the generated report.
|
static java.lang.String |
OPENXML_COPY_SHAPES
Set to "true" if shapes are to be copied to output, set to "false" to drop them.
|
static java.lang.String |
OPENXML_RECALCULATE
Set to "true" if the generated document is to perform recalculation when first opened.
|
static java.lang.String |
OUTPUT_BUILDER
The class to load and call to generate output for the engine.
|
static java.lang.String |
PDF_ARCHIVE
Set to "true" to build a PDF/A-1b file.
|
static java.lang.String |
PDF_COMPRESSION_LEVEL
et the compression level.
|
static java.lang.String |
PDF_FONT_LEVEL
Set the font level.
|
static java.lang.String |
PDF_KEY_LENGTH
The password licenseKey length.
|
static java.lang.String |
PDF_OWNER_PASSWORD
The owner password for the PDF generated report.
|
static java.lang.String |
PDF_RGB_TRANSPARENCY_BLENDING_SPACE
Set to false to turn of using the RGB space for image color blending in the PDF.
|
static java.lang.String |
PDF_SECURITY
The security for the PDF generated report.
|
static java.lang.String |
PDF_USER_PASSWORD
The user password for the PDF generated report.
|
static java.lang.String |
PDF_VERSION
the PDF version number used to create the file.
|
static java.lang.String |
REPORT_CHARSET
Html and txt files are generated using a charset (the rest use unicode).
|
static java.lang.String |
REPORT_DESCRIPTION
Written to the description for output formats that have this meta key.
|
static java.lang.String |
REPORT_HIDDEN_MODE
Set to select what hidden parts of a spreadsheet, if any, to render in the output.
|
static java.lang.String |
REPORT_HYPHENATE
Sets if hyphenation is to be used in rendered output.
|
static java.lang.String |
REPORT_KEYWORDS
The keywords of the document.
|
static java.lang.String |
REPORT_LOCALE
This call returns the locale used in creating a report for output other than Asian & bi-directional.
|
static java.lang.String |
REPORT_LOCALE_ASIAN
This call returns the locale used in creating a report for Asian output.
|
static java.lang.String |
REPORT_LOCALE_BIDI
This call returns the locale used in creating a report for bi-directional output.
|
static java.lang.String |
REPORT_MODE_PROCESS_EMBEDDED
What to do processing embedded objects.
|
static java.lang.String |
REPORT_REMOVE_UNUSED_FORMATS
Set to "true" if unused styles, fonts, etc.
|
static java.lang.String |
REPORT_RENDER_EXTENT
How the generated report will be cropped.
|
static java.lang.String |
REPORT_RENDER_PAGES
The pages that will be generated.
|
static java.lang.String |
REPORT_SUBJECT
The subject of the document.
|
static java.lang.String |
REPORT_TEMPLATE_VERSION
The verion of Windward/AutoTag this template was created for.
|
static java.lang.String |
REPORT_TITLE
The title of the document.
|
static java.lang.String |
REPORT_TRACK_IMPORTS
Set to "true" if you want to call getImports after processing datasources.
|
static java.lang.String |
REPORT_TRIM
Sets if the end of the generated document should be trimmed.
|
static java.lang.String |
REPORT_WRITE_FIELDS_AS_FIELDS
If true DOCX form fields and content controls are written to PDF and HTML reports as form fields.
|
static java.lang.String |
RESULT_SET_TYPE
Set the ResultSet type for JDBC (Java engine) result queries.
|
static java.lang.String |
RTF_COPY_UNKNOWN
Set copy unknown tags mode on or off.
|
static java.lang.String |
RTF_EXTRA_PICT
Sets if the engine writes each image twice.
|
static java.lang.String |
SQL_PARAMETERS
Sets the DataSourceProvider the parameter substitution mode.
|
static java.lang.String |
SQL_SMART_QUOTE
set to "true" to have a '${var}' will be changed to ? instead of the regular action of '?' (surrounded with
quotes).
|
static java.lang.String |
TRIM_TABLES
When set, for XLSX templates, it will remove empty rows at the bottom of the table and empty columns on the right
side of rows.
|
static java.lang.String |
TXT_BREAK_PAGE
Set to "true" for a Ctrl-L to be written to the report for each page break.
|
static java.lang.String |
TXT_FONT_NAME
Set the font used when formatting txt output.
|
static java.lang.String |
TXT_FONT_SIZE_TWIPS
Set the font size used when formatting txt output.
|
static java.lang.String |
TXT_USE_SOFT_EOLN
Set if soft line breaks will be inserted and paragraphs will wrap to the next line.
|
static java.lang.String |
USE_BIG_DECIMAL
Sets if the system should use BigDecimal/BigInteger when calculating values in equations.
|
static java.lang.String |
USE_EXTERNAL_OUTPUT_BUILDER
Set to "on" to use the external output builder if one is loaded for the output format.
|
static java.lang.String |
USE_PARENT_FORMAT
This is the default value for the Import tag use.parent.format property.
|
static java.lang.String |
WRITE_TAGS
When writing tags to a report (when the datasource for a tag was not applied) it will write the tags in the
following format.
|
Constructor and Description |
---|
ReportProperties()
No-arg constructor.
|
ReportProperties(ReportProperties src)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getApiInt(java.lang.String name)
Used to convert a property's value to the old API int value.
|
boolean |
isSet(java.lang.String name)
Tests if a property was set, either explicitly or via the properties file.
|
void |
set(java.lang.String name,
boolean value)
A convenient way of setting boolean values.
|
void |
set(java.lang.String name,
char value)
A convenient way of setting character values.
|
void |
set(java.lang.String name,
int value)
A convenient way of setting integer values.
|
void |
set(java.lang.String name,
java.lang.String value)
Sets a value for the given property.
|
void |
setApiInt(java.lang.String name,
int num) |
public static final java.lang.String ASIAN_SUPPORT
public static final java.lang.String BASE_DIRECTORY
public static final java.lang.String CHECK_FOR_GLYPHS
public static final java.lang.String CHECK_FOR_GLYPH_FONTNAMES
public static final java.lang.String CHECK_FOR_OLE_IMAGES
public static final java.lang.String CSV_CELL_SEPARATOR
public static final java.lang.String CSV_NEWLINE
public static final java.lang.String CSV_QUOTE_CHAR
public static final java.lang.String CSV_TRIM_WHITESPACE
public static final java.lang.String DEFAULT_CHART_DPI
public static final java.lang.String DEFAULT_DRAWING_DPI
public static final java.lang.String DEFAULT_IMAGE_DPI
public static final java.lang.String EXPAND_OUT_TEXT
public static final java.lang.String FORCE_BITMAP_FORMAT
public static final java.lang.String REPORT_RENDER_EXTENT
public static final java.lang.String REPORT_RENDER_PAGES
public static final java.lang.String HIDE_CHART_WORKSHEET_DATA
public static final java.lang.String HTML_CSS_FILENAME
public static final java.lang.String HTML_CSS_TYPE
public static final java.lang.String HTML_EMBED_IMAGES
public static final java.lang.String HTML_FULL_FILE
public static final java.lang.String HTML_SET_XHTML
public static final java.lang.String HTML_SPLIT_PAGES
public static final java.lang.String IGNORE_TAG_COLORS
public static final java.lang.String IMAGE_FORMAT
public static final java.lang.String IMAGE_DPI
public static final java.lang.String IMPORT_USE_CHILD_STYLES
public static final java.lang.String LAYOUT_DOCUMENT
public static final java.lang.String OFFICE_VERSION
public static final java.lang.String OPENXML_COPY_DRAWINGS
public static final java.lang.String OPENXML_COPY_METADATA
public static final java.lang.String OPENXML_COPY_SHAPES
public static final java.lang.String OPENXML_RECALCULATE
public static final java.lang.String OUTPUT_BUILDER
public static final java.lang.String PDF_ARCHIVE
public static final java.lang.String PDF_COMPRESSION_LEVEL
public static final java.lang.String PDF_FONT_LEVEL
public static final java.lang.String PDF_KEY_LENGTH
public static final java.lang.String PDF_OWNER_PASSWORD
public static final java.lang.String PDF_RGB_TRANSPARENCY_BLENDING_SPACE
public static final java.lang.String PDF_SECURITY
public static final java.lang.String PDF_USER_PASSWORD
public static final java.lang.String PDF_VERSION
public static final java.lang.String REPORT_CHARSET
public static final java.lang.String REPORT_DESCRIPTION
public static final java.lang.String REPORT_HIDDEN_MODE
public static final java.lang.String REPORT_HYPHENATE
public static final java.lang.String REPORT_KEYWORDS
public static final java.lang.String REPORT_LOCALE
This is stored as the IETF BCP 47 representation of the locale. For the U.S. this is "en-US".
public static final java.lang.String REPORT_LOCALE_ASIAN
This is stored as the IETF BCP 47 representation of the locale. For the U.S. this is "en-US".
public static final java.lang.String REPORT_LOCALE_BIDI
This is stored as the IETF BCP 47 representation of the locale. For the U.S. this is "en-US".
public static final java.lang.String REPORT_MODE_PROCESS_EMBEDDED
public static final java.lang.String REPORT_REMOVE_UNUSED_FORMATS
public static final java.lang.String RESULT_SET_TYPE
public static final java.lang.String REPORT_SUBJECT
public static final java.lang.String REPORT_TEMPLATE_VERSION
public static final java.lang.String REPORT_TITLE
public static final java.lang.String REPORT_TRACK_IMPORTS
public static final java.lang.String REPORT_TRIM
public static final java.lang.String REPORT_WRITE_FIELDS_AS_FIELDS
public static final java.lang.String RTF_COPY_UNKNOWN
public static final java.lang.String RTF_EXTRA_PICT
public static final java.lang.String SQL_PARAMETERS
public static final java.lang.String SQL_SMART_QUOTE
public static final java.lang.String TRIM_TABLES
public static final java.lang.String TXT_BREAK_PAGE
public static final java.lang.String TXT_FONT_NAME
public static final java.lang.String TXT_FONT_SIZE_TWIPS
public static final java.lang.String TXT_USE_SOFT_EOLN
public static final java.lang.String USE_BIG_DECIMAL
public static final java.lang.String USE_EXTERNAL_OUTPUT_BUILDER
public static final java.lang.String USE_PARENT_FORMAT
public static final java.lang.String WRITE_TAGS
public ReportProperties()
public ReportProperties(ReportProperties src)
public void set(java.lang.String name, java.lang.String value)
public void set(java.lang.String name, int value)
public void set(java.lang.String name, boolean value)
public void set(java.lang.String name, char value)
public boolean isSet(java.lang.String name)
public int getApiInt(java.lang.String name)
name
- The property name;public void setApiInt(java.lang.String name, int num)
Copyright © 2002-2021 Windward Studios, LLC. - All Rights Reserved. We are Java document generation software