JasperReports Ultimate Guide - Sample Reference - Schema Reference - Configuration Reference - API (Javadoc)
|
|
|
|
JasperReports - Configuration Reference (version 4.6.0) | ![]() |
|
|
|
|
|
|
top |
||||
|
||||
net.sf.jasperreports.allow.element.negative.width | ||||
A property that determines whether elements having negative width values are allowed.
If this value is set to false , the report is verified not
to contain elements with negative width values. This is useful when the report is
meant to be exported to grid-based formats such as HTML, XLS or CSV, which might enter
an infinite loop. Having elements with negative widths does not make sense, but allowing
this is a workaround in case older report templates still need to pass validation
at report compile time.
|
||||
|
||||
API | PROPERTY_ALLOW_ELEMENT_NEGATIVE_WIDTH | |||
Default | false | |||
Scope | Global | Report | |||
Since | 3.7.1 | |||
top |
||||
|
||||
net.sf.jasperreports.allow.element.negative.y | ||||
Property that determines whether elements positioned at negative Y offsets on bands, frames and other element containers are allowed in a report.
Elements placed at negative Y offsets can cause unexpected problems in grid-based exporters where they can overlap elements from previous bands/element containers. If the property is set to false , elements in the report are verified to have positive Y offsets. Otherwise, no check is performed on element Y offsets.
|
||||
|
||||
API | PROPERTY_ALLOW_ELEMENT_NEGATIVE_Y | |||
Default | true | |||
Scope | Global | Report | Element | |||
Since | 3.7.3 | |||
top |
||||
|
||||
net.sf.jasperreports.allow.element.overlap | ||||
A property that determines whether elements are allowed to overlap.
If this value is set to false , the report is verified not
to contain elements that overlap. This is useful when the report is
meant to be exported to grid-based formats such as HTML, XLS or CSV.
Setting this property to false ensures that element overlap
issues are caught at report compile time.
Additionally, when this property is set to false false , the
report is verified not to have any content in the background section as
this content would likely be overlapped by other sections and would not
show in grid-based exporters.
By default, the property is set to true which means that
no element overlap checks are performed.
The property can be set at the following levels:
Note that print when expressions or export filters cannot be taken into consideration while checking for overlapping elements as this check is performed at report compilation time. If a report contains two elements that overlap but have print when expressions that guarantee that only one of them will be printed, or if export filters are in place to exclude one of the elements, one of them should be explicitly marked to allow element overlap when the report is configured to check for overlaps. |
||||
|
||||
API | PROPERTY_ALLOW_ELEMENT_OVERLAP | |||
Default | true | |||
Scope | Global | Report | |||
Since | 3.5.0 | |||
top |
||||
|
||||
net.sf.jasperreports.awt.check.available.printers | ||||
Property whose value is used to check the availability of printers accepting jobs. | ||||
|
||||
API | PROPERTY_CHECK_AVAILABLE_PRINTERS | |||
Default | true | |||
Scope | Global | Report | |||
Since | 3.7.3 | |||
top |
||||
|
||||
net.sf.jasperreports.awt.ignore.missing.font | ||||
When set to false , it forces the engine to check if the font used as value for the fontName attribute inside
the report template is available either through the JasperReports font extension mechanism or as a JVM accesible font,
and raise a JRFontNotFoundException exception, if this font is not available. |
||||
|
||||
API | PROPERTY_AWT_IGNORE_MISSING_FONT | |||
Default | false | |||
Scope | Global | Report | |||
Since | 3.6.1 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.awt.superscript.fix.enabled | ||||
|
||||
API | PROPERTY_AWT_SUPERSCRIPT_FIX_ENABLED | |||
Default | N/A | |||
Scope | Global | |||
Since | 3.1.3 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.band.split.type | ||||
Specifies the default split type for bands. See the splitType attribute of the report band. | ||||
|
||||
API | PROPERTY_SPLIT_TYPE | |||
Default | false | |||
Scope | Global | Report | |||
Since | 3.5.2 | |||
top |
||||
|
||||
net.sf.jasperreports.big.decimal.minimum.precision | ||||
An integer property that provides the minimum precision to be used for java.math.BigDecimal division operations.
Important note: this property is only effective when Java 1.5 or newer is used. See BigDecimalUtils for details.
|
||||
|
||||
API | PROPERTY_MINIMUM_PRECISION | |||
Default | 16 | |||
Scope | Global | |||
Since | 3.5.4 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.chart.dial.label | ||||
Property containing the label text attached to the measured value in a meter or thermometer chart. | ||||
|
||||
API | PROPERTY_DIAL_LABEL | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.5.0 | |||
top |
||||
|
||||
net.sf.jasperreports.chart.dial.value.display.visible | ||||
Property specifying whether the measured value should be rendered visible on a meter or thermometer chart's display zone. | ||||
|
||||
API | PROPERTY_DIAL_VALUE_DISPLAY_VISIBLE | |||
Default | false | |||
Scope | Element | |||
Since | 3.5.0 | |||
top |
||||
|
||||
net.sf.jasperreports.chart.domain.axis.integer.unit | ||||
Flag property enabling the JFreeCharts engine to use integer tick units on a domain value axis. If set to true, it will take precedence over the
net.sf.jasperreports.chart.domain.axis.tick.interval and net.sf.jasperreports.chart.domain.axis.tick.count properties.
|
||||
|
||||
API | PROPERTY_DOMAIN_AXIS_INTEGER_UNIT | |||
Default | N/A | |||
Scope | Element | |||
Since | 4.6.0 | |||
top |
||||
|
||||
net.sf.jasperreports.chart.domain.axis.tick.count | ||||
Property specifying the number of ticks on a domain value axis. If it is not set, the JFreeCharts engine will use its own defaults to instantiate the axis. | ||||
|
||||
API | PROPERTY_DOMAIN_AXIS_TICK_COUNT | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.5.0 | |||
top |
||||
|
||||
net.sf.jasperreports.chart.domain.axis.tick.interval | ||||
Property specifying the interval between 2 consecutive ticks on a domain value axis. If the net.sf.jasperreports.chart.domain.axis.tick.count property
is set, this interval will be neglected.
If it is not set, the JFreeCharts engine will use its own defaults to instantiate the axis. By default it is not set. |
||||
|
||||
API | PROPERTY_DOMAIN_AXIS_TICK_INTERVAL | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.1.4 | |||
top |
||||
|
||||
net.sf.jasperreports.chart.range.axis.integer.unit | ||||
Flag property enabling the JFreeCharts engine to use integer tick units on a range value axis. If set to true, it will take precedence over the
net.sf.jasperreports.chart.range.axis.tick.interval and net.sf.jasperreports.chart.range.axis.tick.count properties.
|
||||
|
||||
API | PROPERTY_RANGE_AXIS_INTEGER_UNIT | |||
Default | N/A | |||
Scope | Element | |||
Since | 4.6.0 | |||
top |
||||
|
||||
net.sf.jasperreports.chart.range.axis.tick.count | ||||
Property specifying the number of ticks on a range value axis. If it is not set, the JFreeCharts engine will use its own defaults to instantiate the axis.
By default it is not set. |
||||
|
||||
API | PROPERTY_RANGE_AXIS_TICK_COUNT | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.5.0 | |||
top |
||||
|
||||
net.sf.jasperreports.chart.range.axis.tick.interval | ||||
Property specifying the interval between 2 consecutive ticks on a range value axis. If the net.sf.jasperreports.chart.range.axis.tick.count property
is set, this interval will be neglected.
If it is not set, the JFreeCharts engine will use its own defaults to instantiate the axis. By default it is not set. |
||||
|
||||
API | PROPERTY_RANGE_AXIS_TICK_INTERVAL | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.1.4 | |||
top |
||||
|
||||
net.sf.jasperreports.chart.render.type | ||||
Specifies the default render type for charts. See the renderType attribute of the chart elements.
|
||||
|
||||
API | PROPERTY_CHART_RENDER_TYPE | |||
Default | draw | |||
Scope | Global | Report | |||
Since | 2.0.5 | |||
top |
||||
|
||||
net.sf.jasperreports.chart.renderer.factory.{render_type} | ||||
Prefix for properties that map chart renderers.
Properties having this prefix indicate the JRRenderable implementation to be used when rendering a chart element having a rendering type specified in the property suffix. |
||||
|
||||
API | PROPERTY_CHART_RENDER_TYPE | |||
Default | N/A | |||
Scope | Global | |||
Since | 2.0.5 | |||
top |
||||
|
||||
net.sf.jasperreports.chart.theme | ||||
Property used to specify the chart theme name. | ||||
|
||||
API | PROPERTY_CHART_THEME | |||
Default | default | |||
Scope | Global | Report | |||
Since | 3.1.0 | |||
top |
||||
|
||||
net.sf.jasperreports.compiler.{language} | ||||
Prefix for properties that map report compilers to expression languages.
Properties having this prefix indicate the JRCompiler implementation to be used when compiling report designs that rely on the expression language specified as property suffix. |
||||
|
||||
API | COMPILER_PREFIX | |||
Default | net.sf.jasperreports.engine.design.JRJdtCompiler, if available; net.sf.jasperreports.engine.design.JRJdk13Compiler otherwise. Java is considered the default expression language. | |||
Scope | Global | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.compiler.classpath | ||||
Property specifying the classpath used by the report compiler during the compilation process. | ||||
|
||||
API | COMPILER_CLASSPATH | |||
Default | System.getProperty("java.class.path") | |||
Scope | Global | |||
Since | 1.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.compiler.keep.java.file | ||||
Property specifying whether the temporary source file created by the report compiler should be kept or deleted after the report compilation process ended. | ||||
|
||||
API | COMPILER_KEEP_JAVA_FILE | |||
Default | false | |||
Scope | Global | |||
Since | 1.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.compiler.temp.dir | ||||
Property specifying the temporary working directory to be used by the report compiler. | ||||
|
||||
API | COMPILER_TEMP_DIR | |||
Default | System.getProperty("user.dir") | |||
Scope | Global | |||
Since | 1.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.compiler.xml.parser.cache.schemas | ||||
Property that determines whether XML schemas/grammars are to be cached
so that they are not read/initialized each time a report is compiled.
Currently, setting this property is only effective when a Xerces XML parser is used (either a stock one from Apache or one embedded into a SUN JDK). |
||||
|
||||
API | PROPERTY_CACHE_SCHEMAS | |||
Default | true | |||
Scope | Global | |||
Since | 3.1.0 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.compiler.xml.parser.factory | ||||
Property that gives a parser factory class which should be used
for parsing JRXMLs.
By default, this property is set to use JRReportSaxParserFactory as report parser factory. |
||||
|
||||
API | PROPERTY_REPORT_PARSER_FACTORY | |||
Default | net.sf.jasperreports.engine.xml.JRReportSaxParserFactory | |||
Scope | Global | |||
Since | 3.1.0 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.compiler.xml.validation | ||||
Property that forces the XML validation of the report template file before compiling. | ||||
|
||||
API | COMPILER_XML_VALIDATION | |||
Default | true | |||
Scope | Global | |||
Since | 1.0.0 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.crosstab.bucket.measure.limit | ||||
Property that limits the number of buckets in a crosstab, to avoid out of memory errors. | ||||
|
||||
API | PROPERTY_BUCKET_MEASURE_LIMIT | |||
Default | 0 | |||
Scope | Global | |||
Since | 1.3.4 | |||
top |
||||
|
||||
net.sf.jasperreports.crosstab.cell.column.span | ||||
Property that provides the crosstab column span of a print frame. (FIXME not a user defined property) | ||||
|
||||
API | PROPERTY_COLUMN_SPAN | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.1.2 | |||
top |
||||
|
||||
net.sf.jasperreports.crosstab.cell.row.span | ||||
Property that provides the crosstab row span of a print frame. (FIXME not a user defined property) | ||||
|
||||
API | PROPERTY_ROW_SPAN | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.1.2 | |||
top |
||||
|
||||
net.sf.jasperreports.crosstab.cell.type | ||||
Property that provides the type of the cell that generated a print frame. (FIXME not a user defined property)
The property value is one of |
||||
|
||||
API | PROPERTY_TYPE | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.1.2 | |||
top |
||||
|
||||
net.sf.jasperreports.crosstab.ignore.width | ||||
Property that provides the default value for the crosstab ignoreWidth attribute.
|
||||
|
||||
API | PROPERTY_IGNORE_WIDTH | |||
Default | false | |||
Scope | Global | Report | |||
Since | 3.5.3 | |||
top |
||||
|
||||
net.sf.jasperreports.csv.column.names.{arbitrary_name} | ||||
Property having this prefix hold the comma separated names of the columns to be extracted from the CSV source. | ||||
|
||||
API | CSV_COLUMN_NAMES | |||
Default | N/A | |||
Scope | Global | Dataset | |||
Since | 4.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.csv.date.pattern | ||||
Property holding the value of the date format pattern to be used when parsing the CSV data. | ||||
|
||||
API | CSV_DATE_PATTERN | |||
Default | N/A | |||
Scope | Global | Dataset | |||
Since | 4.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.csv.encoding | ||||
|
||||
API | CSV_ENCODING | |||
Default | N/A | |||
Scope | Global | Dataset | |||
Since | 4.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.csv.field.delimiter | ||||
|
||||
API | CSV_FIELD_DELIMITER | |||
Default | , | |||
Scope | Global | Dataset | |||
Since | 4.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.csv.locale.code | ||||
|
||||
API | CSV_LOCALE_CODE | |||
Default | N/A | |||
Scope | Global | Dataset | |||
Since | 4.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.csv.number.pattern | ||||
Property holding the value of the number format pattern to be used when parsing the CSV data. | ||||
|
||||
API | CSV_NUMBER_PATTERN | |||
Default | N/A | |||
Scope | Global | Dataset | |||
Since | 4.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.csv.record.delimiter | ||||
|
||||
API | CSV_RECORD_DELIMITER | |||
Default | \n | |||
Scope | Global | Dataset | |||
Since | 4.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.csv.source | ||||
|
||||
API | CSV_SOURCE | |||
Default | N/A | |||
Scope | Global | Dataset | |||
Since | 4.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.csv.timezone.id | ||||
|
||||
API | CSV_TIMEZONE_ID | |||
Default | N/A | |||
Scope | Global | Dataset | |||
Since | 4.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.default.first.line.indent | ||||
Specifies the default value (in pixels) for the first line indent, if no explicit information is provided in a JR paragraph.
By default the first line in JR paragraphs has no indentation. |
||||
|
||||
API | DEFAULT_FIRST_LINE_INDENT | |||
Default | 0 | |||
Scope | Global | |||
Since | 4.0.2 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.default.font.name | ||||
Specifies the default font name when no default font is explicitly given in a report. | ||||
|
||||
API | DEFAULT_FONT_NAME | |||
Default | SansSerif | |||
Scope | Global | |||
Since | 1.3.0 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.default.font.size | ||||
Specifies the default font size when no default font size is explicitly given in a report. | ||||
|
||||
API | DEFAULT_FONT_SIZE | |||
Default | 10 | |||
Scope | Global | |||
Since | 1.3.0 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.default.left.indent | ||||
Specifies the default value (in pixels) for the left indent, if no explicit information is provided in a JR paragraph.
By default JR paragraphs provide no left indentation. |
||||
|
||||
API | DEFAULT_LEFT_INDENT | |||
Default | 0 | |||
Scope | Global | |||
Since | 4.0.2 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.default.line.spacing.size | ||||
Specifies the default value for the text line spacing size, if no explicit information is provided in a
JR paragraph.
This value is used in combination with the size-dependent line spacings in LineSpacingEnum: |
||||
|
||||
API | DEFAULT_LINE_SPACING_SIZE | |||
Default | 1 | |||
Scope | Global | |||
Since | 4.0.2 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.default.pdf.embedded | ||||
Property indicating the default PDF font embedding behavior, if not specified in the report template or at export time. | ||||
|
||||
API | DEFAULT_PDF_EMBEDDED | |||
Default | false | |||
Scope | Global | |||
Since | 1.3.0 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.default.pdf.encoding | ||||
Property indicating the default PDF encoding, if not specified in the report template or at export time. | ||||
|
||||
API | DEFAULT_PDF_ENCODING | |||
Default | Cp1252 | |||
Scope | Global | |||
Since | 1.3.0 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.default.pdf.font.name | ||||
Property indicating the default PDF font, if not specified in the report template or at export time. | ||||
|
||||
API | DEFAULT_PDF_FONT_NAME | |||
Default | Helvetica | |||
Scope | Global | |||
Since | 1.3.0 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.default.right.indent | ||||
Specifies the default value (in pixels) for the right indent, if no explicit information is provided in a JR paragraph.
By default JR paragraphs provide no right indentation. |
||||
|
||||
API | DEFAULT_RIGHT_INDENT | |||
Default | 0 | |||
Scope | Global | |||
Since | 4.0.2 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.default.spacing.after | ||||
Specifies the default value (in pixels) for the spacing after lines, if no explicit information is provided in a JR paragraph.
By default JR paragraphs provide no spacing after lines. |
||||
|
||||
API | DEFAULT_SPACING_AFTER | |||
Default | 0 | |||
Scope | Global | |||
Since | 4.0.2 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.default.spacing.before | ||||
Specifies the default value (in pixels) for the spacing before lines, if no explicit information is provided in a JR paragraph.
By default JR paragraphs provide no spacing before lines. |
||||
|
||||
API | DEFAULT_SPACING_BEFORE | |||
Default | 0 | |||
Scope | Global | |||
Since | 4.0.2 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.default.tab.stop.width | ||||
Specifies the default value (in pixels) for the tab stop width, if no explicit information is provided in a paragraph.
By default JR paragraphs provide 40 pixels wide tab stops. |
||||
|
||||
API | DEFAULT_TAB_STOP_WIDTH | |||
Default | 40 | |||
Scope | Global | |||
Since | 4.0.2 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.ejbql.query.hint.{hint} | ||||
Properties with this prefix introduce JPA implementation specific EJBQL query hints to be used by the JRJpaQueryExecuter. The suffix is the name of the hint, as documented by the specific JPA implementation. | ||||
|
||||
API | PROPERTY_JPA_QUERY_HINT_PREFIX | |||
Default | N/A | |||
Scope | Dataset | |||
Since | 1.2.3 | |||
top |
||||
|
||||
net.sf.jasperreports.ejbql.query.page.size | ||||
Property specifying the number of result rows to be retrieved at once. Result pagination is implemented by
javax.persistence.Query.setFirstResult() and javax.persistence.Query.setMaxResults() .
By default, all the rows are retrieved (no result pagination is performed). |
||||
|
||||
API | PROPERTY_JPA_QUERY_PAGE_SIZE | |||
Default | 0 | |||
Scope | Global | Dataset | |||
Since | 1.2.3 | |||
top |
||||
|
||||
net.sf.jasperreports.evaluator.class.reference.fix.enabled | ||||
Property that indicates whether a legacy fix for a JVM issue related to
evaluator classes generated by JasperReports is enabled. The fix is
enabled by default.
Due to the fix, the garbage collector might not be able to collect a classloader that loaded JasperReports classes. This would be inconvenient in scenarios in which JasperReports classes are repeatedly loaded by different classloaders, e.g. when JasperReports is part of the classpath of a web application which is often reloaded. In such scenarios, set this property to false. |
||||
|
||||
API | PROPERTY_EVALUATOR_CLASS_REFERENCE_FIX_ENABLED | |||
Default | true | |||
Scope | Global | |||
Since | 3.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.{arbitrary_name}.default.filter.factory | ||||
Property that gives the default filter factory for a specific exporter.
Contains the property prefix net.sf.jasperreports.export. concatenated with an arbitrary name indicating the exporter type and
the property suffix default.filter.factory .
For instance, the default filter factory for XLS exporters is net.sf.jasperreports.export.xls.default.filter.factory .
If this property is not defined for a specific exporter, the generic
exporter factory given by PROPERTY_DEFAULT_FILTER_FACTORY is used.
|
||||
|
||||
API | PROPERTY_SUFFIX_DEFAULT_FILTER_FACTORY | |||
Default | PROPERTY_DEFAULT_FILTER_FACTORY 's default value. | |||
Scope | Global | |||
Since | 3.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.{format}.exclude.origin.{suffix}.{arbitrary_name} | ||||
Properties with this syntax are used by the exporters to create default exporter filter instances that filter
out content based on element origin information. Possible values for the {format} token are
pdf , html , xls , rtf , odt , csv
and txt . The {suffix} token can be band , group or
report .
See this FAQ for more details about filtering out content while exporting. |
||||
|
||||
API | N/A | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | ||||
top |
||||
|
||||
net.sf.jasperreports.export.{format}.exclude.origin.keep.first.{suffix}.{arbitrary_name} | ||||
Properties with this syntax are used by the exporters to create default exporter filter instances that filter
out content based on element origin information. Possible values for the {format} token are
pdf , html , xls , rtf , odt , csv
and txt . The {suffix} token can be band , group or
report .
See this FAQ for more details about filtering out content while exporting. |
||||
|
||||
API | N/A | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | ||||
top |
||||
|
||||
net.sf.jasperreports.export.character.encoding | ||||
Property whose value is used as default for the CHARACTER_ENCODING export parameter, meaning the character encoding used for export. | ||||
|
||||
API | PROPERTY_CHARACTER_ENCODING | |||
Default | UTF-8 | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.csv.column.name | ||||
|
||||
API | PROPERTY_COLUMN_NAME | |||
Default | N/A | |||
Scope | Element | |||
Since | 4.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.csv.column.names | ||||
|
||||
API | PROPERTY_COLUMN_NAMES | |||
Default | N/A | |||
Scope | Report | |||
Since | 4.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.csv.data | ||||
|
||||
API | PROPERTY_DATA | |||
Default | N/A | |||
Scope | Element | |||
Since | 4.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.csv.field.delimiter | ||||
Property whose value is used as default for the FIELD_DELIMITER CSV export parameter. Contains the character or sequence of characters used to delimit two fields on the same record. | ||||
|
||||
API | PROPERTY_FIELD_DELIMITER | |||
Default | , | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.csv.record.delimiter | ||||
Property whose value is used as default for the RECORD_DELIMITER CSV export parameter. Contains the character or sequence of characters used to delimit two records. | ||||
|
||||
API | PROPERTY_RECORD_DELIMITER | |||
Default | \n | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.csv.repeat.value | ||||
|
||||
API | PROPERTY_REPEAT_VALUE | |||
Default | false | |||
Scope | Element | |||
Since | 4.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.csv.write.header | ||||
|
||||
API | PROPERTY_WRITE_HEADER | |||
Default | ||||
Scope | Element | |||
Since | 4.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.default.filter.factory | ||||
A property that gives the generic default filter factory class name. | ||||
|
||||
API | PROPERTY_DEFAULT_FILTER_FACTORY | |||
Default | net.sf.jasperreports.engine.export.DefaultExporterFilterFactory | |||
Scope | Global | Report | |||
Since | 3.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.docx.flexible.row.height | ||||
This property serves as default value for the FLEXIBLE_ROW_HEIGHT export parameter.
If set to false , the table rows do not increase in height automatically and the user has to enlarge them manually.
|
||||
|
||||
API | PROPERTY_FRAMES_AS_NESTED_TABLES | |||
Default | false | |||
Scope | Global | Report | |||
Since | 3.6.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.docx.frames.as.nested.tables | ||||
This property serves as default value for the FRAMES_AS_NESTED_TABLES export parameter.
If set to false , the frame content will be integrated into the master/page table.
|
||||
|
||||
API | PROPERTY_FRAMES_AS_NESTED_TABLES | |||
Default | true | |||
Scope | Global | Report | Element | |||
Since | 3.5.3 | |||
top |
||||
|
||||
net.sf.jasperreports.export.docx.hidden.text | ||||
This property is used to mark text elements as being hidden either for printing or on-screen display. | ||||
|
||||
API | PROPERTY_HIDDEN_TEXT | |||
Default | false | |||
Scope | Element | |||
Since | 3.7.6 | |||
top |
||||
|
||||
net.sf.jasperreports.export.filter.factory.{filter_element} | ||||
A set of properties that are used to register filter factories. They all contain the fixed prefix net.sf.jasperreports.export.filter.factory. and a suffix indicating the considered filter element.
For example: net.sf.jasperreports.export.filter.factory.origin indicates an element origin filter factory.
|
||||
|
||||
API | PROPERTY_EXPORTER_FILTER_FACTORY_PREFIX | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.flash.element.allow.script.access | ||||
Property that determines the value of the allowScriptAccess parameter for Flash elements. | ||||
|
||||
API | PROPERTY_ALLOW_SCRIPT_ACCESS | |||
Default | sameDomain | |||
Scope | Global | Report | Element | |||
Since | 4.1.3 | |||
top |
||||
|
||||
net.sf.jasperreports.export.graphics2d.min.job.size | ||||
Property that provides a default value for the MINIMIZE_PRINTER_JOB_SIZE Graphics2D exporter parameter. This flag controls the use of an AWT rendering fix which causes the printer job size to be reduced when the exporter draws onto a printer graphic context. | ||||
|
||||
API | MINIMIZE_PRINTER_JOB_SIZE | |||
Default | true | |||
Scope | Global | Report | |||
Since | 1.2.8 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.export.html.accessible | ||||
Configuration property that determines the exporter to produce accessible HTML. | ||||
|
||||
API | PROPERTY_ACCESSIBLE | |||
Default | false | |||
Scope | Global | Report | |||
Since | 3.7.5 | |||
top |
||||
|
||||
net.sf.jasperreports.export.html.flush.output | ||||
A boolean property that determines whether the HTML exporter should flush the output stream after writing the HTML content to it. It serves as default value for the FLUSH_OUTPUT export parameter. | ||||
|
||||
API | PROPERTY_FLUSH_OUTPUT | |||
Default | true | |||
Scope | Global | Report | |||
Since | 3.7.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.html.frames.as.nested.tables | ||||
This property serves as default value for the FRAMES_AS_NESTED_TABLES export parameter.
If set to false , the frame content will be integrated into the master/page HTML table.
|
||||
|
||||
API | PROPERTY_FRAMES_AS_NESTED_TABLES | |||
Default | true | |||
Scope | Global | Report | Element | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.html.id | ||||
Property used to specify the value of the ID attribute of elements when exported to HTML and XHTML formats. The value of this property will be used as the value for the id attribute of the <td> tag for the element when exported to HTML and/or the id attribute of the <span> or <div> tag for the element, when exported to XHTML/CSS.
|
||||
|
||||
API | PROPERTY_HTML_ID | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.7.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.html.remove.emtpy.space.between.rows | ||||
Property whose value is used as default state of the IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS export flag.
If set to true , blank lines that sometimes appear between rows as spacers, should be collapsed.
|
||||
|
||||
API | PROPERTY_REMOVE_EMPTY_SPACE_BETWEEN_ROWS | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.html.size.unit | ||||
Property whose value is used as default for the SIZE_UNIT export parameter. A String value specifying the unit to use when measuring lengths or font size. | ||||
|
||||
API | PROPERTY_SIZE_UNIT | |||
Default | px | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.html.using.images.to.align | ||||
Property whose value is used as default state of the IS_USING_IMAGES_TO_ALIGN export flag. It specifies whether the export engine should use small transparent spacer images for aligning content. | ||||
|
||||
API | PROPERTY_USING_IMAGES_TO_ALIGN | |||
Default | true | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.html.white.page.background | ||||
Property whose value is used as default state of the IS_WHITE_PAGE_BACKGROUND export parameter. It specifies whether the report page background should be forced to white. | ||||
|
||||
API | PROPERTY_WHITE_PAGE_BACKGROUND | |||
Default | true | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.html.wrap.break.word | ||||
Property whose value is used as default state of the IS_WRAP_BREAK_WORD export parameter.
It specifies whether the export engine should force text wrapping by breaking words (CSS word-wrap: break-word ).
|
||||
|
||||
API | PROPERTY_WRAP_BREAK_WORD | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.ignore.page.margins | ||||
This property serves as default value for the IGNORE_PAGE_MARGINS export flag.
Specifies whether page margins should be ignored when the report is exported using a grid-based exporter
If the property is true , any page in the document will be exported without taking into account its margins.
|
||||
|
||||
API | PROPERTY_IGNORE_PAGE_MARGINS | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.5 | |||
top |
||||
|
||||
net.sf.jasperreports.export.jxl.cell.complex.format | ||||
Boolean property specifying whether the cell format pattern is user-defined.
When set to true , the exporter will assume that the specified pattern is well defined.
If the pattern is invalid, it won't be taken into account by the Excel file viewer.
|
||||
|
||||
API | PROPERTY_COMPLEX_FORMAT | |||
Default | false | |||
Scope | Global | Report | Element | |||
Since | 3.7.6 | |||
top |
||||
|
||||
net.sf.jasperreports.export.jxl.use.temp.file | ||||
Boolean property enabling the JExcelApiExporter to use temporary files when creating large documents. | ||||
|
||||
API | PROPERTY_USE_TEMP_FILE | |||
Default | false | |||
Scope | Global | Report | |||
Since | 3.7.5 | |||
top |
||||
|
||||
net.sf.jasperreports.export.legacy.border.offset | ||||
Property which allows rendering element borders in older reports using the legacy border offset technique that that was used in versions prior to the 2.0.3 release. | ||||
|
||||
API | PROPERTY_LEGACY_BORDER_OFFSET | |||
Default | net.sf.jasperreports.export.legacy.BorderOffset.DEFAULT | |||
Scope | Global | Report | |||
Since | 3.0.0 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.export.parameters.override.report.hints | ||||
Property that establishes the priority of export parameters against report hints.
If the property is true , export parameters override report hints; this is the default behavior.
|
||||
|
||||
API | PROPERTY_EXPORT_PARAMETERS_OVERRIDE_REPORT_HINTS | |||
Default | true | |||
Scope | Global | |||
Since | ||||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.128.bit.key | ||||
Property whose value is used as default state of the IS_128_BIT_KEY export parameter. It specifies whether the encryption key is 128 bits. | ||||
|
||||
API | PROPERTY_128_BIT_KEY | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.collapse.missing.bookmark.levels | ||||
Property that determines if missing bookmark levels are collapsed, or if
empty bookmarks are created for the missing levels.
The property dictates what happens when a filled report contains an anchor having a bookmark level that is not the immediate successor of its parent (e.g. an anchor with bookmark level 3 follows immediately after a bookmark of level 1). If the property is not set, an empty bookmark is created for the missing level(s) in order to preserve the original level of the bookmark. When the property is set, the level of the bookmark will be collapsed and the bookmark will be created as a direct descendant of its nearest parent. |
||||
|
||||
API | PROPERTY_COLLAPSE_MISSING_BOOKMARK_LEVELS | |||
Default | false | |||
Scope | Global | Report | |||
Since | 3.7.3 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.compressed | ||||
Property whose value is used as default state of the IS_COMPRESSED export flag. It specifies whether the PDF document should be compressed. | ||||
|
||||
API | PROPERTY_COMPRESSED | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.create.batch.mode.bookmarks | ||||
Property whose value is used as default state of the IS_CREATING_BATCH_MODE_BOOKMARKS export flag. It specifies whether the PDF document should contain an outline section. | ||||
|
||||
API | PROPERTY_CREATE_BATCH_MODE_BOOKMARKS | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.encrypted | ||||
Property whose value is used as default state of the IS_ENCRYPTED export flag. It specifies whether the final PDF document should be encrypted. | ||||
|
||||
API | PROPERTY_ENCRYPTED | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.font.{arbitrary_name} | ||||
Prefix of properties that specify font files for the PDF exporter. | ||||
|
||||
API | PDF_FONT_FILES_PREFIX | |||
Default | N/A | |||
Scope | Global | |||
Since | 1.0.0 | |||
|
||||
NOTE: By default, properties with this prefix are not read from the report context. This FAQ shows the additional steps to follow in order to set them on and get them from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.fontdir.{arbitrary_name} | ||||
Prefix of properties that specify font directories for the PDF exporter. | ||||
|
||||
API | PDF_FONT_DIRS_PREFIX | |||
Default | N/A | |||
Scope | Global | |||
Since | 1.0.0 | |||
|
||||
NOTE: By default, properties with this prefix are not read from the report context. This FAQ shows the additional steps to follow in order to set them on and get them from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.force.linebreak.policy | ||||
Property whose value is used as default state of the FORCE_LINEBREAK_POLICY export flag. It specifies whether the PDF exporter should use a SplitCharacter implementation to ensure that PDF text wrap behavior is the same as in AWT. | ||||
|
||||
API | PROPERTY_FORCE_LINEBREAK_POLICY | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.force.svg.shapes | ||||
Property whose value is used as default state of the FORCE_SVG_SHAPES export flag. It specifies whether the rendering of SVG images using shapes on the PDF Graphics2D context should be forced. | ||||
|
||||
API | PROPERTY_FORCE_SVG_SHAPES | |||
Default | true | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.javascript | ||||
Property whose value is used as default state of the PDF_JAVASCRIPT export parameter. Contains the user defined JavaScript piece of code to be inserted into the generated PDF document. | ||||
|
||||
API | PROPERTY_PDF_JAVASCRIPT | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.owner.password | ||||
Property whose value is used as default state of the OWNER_PASSWORD export parameter. Contains the password belonging to the owner of the document, if it is encrypted. If the owner password is not specified, but the PDF is encrypted, then the password will be a random string. | ||||
|
||||
API | PROPERTY_OWNER_PASSWORD | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.print.scaling | ||||
Property whose value is used as default state of the PRINT_SCALING export parameter.
Possible values are default and none .
|
||||
|
||||
API | PRINT_SCALING | |||
Default | default | |||
Scope | Global | Report | |||
Since | 3.6.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.tag.colspan | ||||
|
||||
API | PROPERTY_TAG_COLSPAN | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.1.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.tag.h1 | ||||
|
||||
API | PROPERTY_TAG_H1 | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.1.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.tag.h2 | ||||
|
||||
API | PROPERTY_TAG_H2 | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.1.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.tag.h3 | ||||
|
||||
API | PROPERTY_TAG_H3 | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.1.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.tag.language | ||||
Property whose value is used as default state of the TAG_LANGUAGE export parameter. Specifies the language that the exporter should put in the language tag of the generated PDF. | ||||
|
||||
API | PROPERTY_TAG_LANGUAGE | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.1.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.tag.rowspan | ||||
|
||||
API | PROPERTY_TAG_ROWSPAN | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.1.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.tag.table | ||||
|
||||
API | PROPERTY_TAG_TABLE | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.1.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.tag.td | ||||
|
||||
API | PROPERTY_TAG_TD | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.1.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.tag.th | ||||
|
||||
API | PROPERTY_TAG_TH | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.1.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.tag.tr | ||||
|
||||
API | PROPERTY_TAG_TR | |||
Default | N/A | |||
Scope | Element | |||
Since | 3.1.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.tagged | ||||
Property whose value is used as default state of the IS_TAGGED export flag. Specifies whether the exporter should put structure tags in the generated PDF. | ||||
|
||||
API | PROPERTY_PDF_TAGGED | |||
Default | false | |||
Scope | Global | Report | |||
Since | 3.1.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.user.password | ||||
Property whose value is used as default state of the USER_PASSWORD export parameter. Contains the user password needed to open the document, if it is encrypted. | ||||
|
||||
API | PROPERTY_USER_PASSWORD | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.pdf.version | ||||
Property whose value is used as default state of the PDF_VERSION export parameter.
Contains a Character instance representing the version of the generated PDF.
|
||||
|
||||
API | PROPERTY_PDF_VERSION | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.text.character.height | ||||
Property whose value is used as default state of the CHARACTER_HEIGHT export parameter. | ||||
|
||||
API | PROPERTY_CHARACTER_HEIGHT | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.6.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.text.character.width | ||||
Property whose value is used as default state of the CHARACTER_WIDTH export parameter. | ||||
|
||||
API | PROPERTY_CHARACTER_WIDTH | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.6.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.text.page.height | ||||
Property whose value is used as default state of the PAGE_HEIGHT export parameter. | ||||
|
||||
API | PROPERTY_PAGE_HEIGHT | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.6.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.text.page.width | ||||
Property whose value is used as default state of the PAGE_WIDTH export parameter. | ||||
|
||||
API | PROPERTY_PAGE_WIDTH | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.6.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.auto.filter | ||||
This element-level property is used to indicate the boundaries of the autofilter data range in the current sheet.
Allowed values are:
|
||||
|
||||
API | PROPERTY_AUTO_FILTER | |||
Default | N/A | |||
Scope | Element | |||
Since | 4.1.3 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.auto.fit.column | ||||
Flag property that indicates whether Excel should autofit the current column width.
Allowed values are:
|
||||
|
||||
API | PROPERTY_AUTO_FIT_COLUMN | |||
Default | false | |||
Scope | Element | |||
Since | 4.5.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.auto.fit.row | ||||
Flag property that indicates whether Excel should autofit the current row height.
Allowed values are:
|
||||
|
||||
API | PROPERTY_AUTO_FIT_ROW | |||
Default | false | |||
Scope | Element | |||
Since | 4.5.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.break.after.row | ||||
Custom element property specifying if a sheet will break after the row displaying that element. It is very useful especially when displaying each report's group on a separate sheet is intended. | ||||
|
||||
API | PROPERTY_BREAK_AFTER_ROW | |||
Default | false | |||
Scope | Element | |||
Since | 3.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.break.before.row | ||||
Custom element property specifying if a sheet will break before the row displaying that element. It is very useful especially when displaying each report's group on a separate sheet is intended. | ||||
|
||||
API | PROPERTY_BREAK_BEFORE_ROW | |||
Default | false | |||
Scope | Element | |||
Since | 3.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.cell.hidden | ||||
Property that specifies if the cell content is hidden or exposed in the formula bar of a protected sheet.
By default the property is not set (false ), and the cell content is not hidden.
This property has effect only if the enclosing sheet is protected.
|
||||
|
||||
API | PROPERTY_CELL_HIDDEN | |||
Default | false | |||
Scope | Global | Report | Element | |||
Since | 3.7.5 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.cell.locked | ||||
Property that specifies if the cell content is locked (read-only) within a protected sheet.
By default the property is considered (true ), but it only has effect if the enclosing sheet is protected.
|
||||
|
||||
API | PROPERTY_CELL_LOCKED | |||
Default | true | |||
Scope | Global | Report | Element | |||
Since | 3.7.5 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.collapse.row.span | ||||
Property whose value is used as default state of the IS_COLLAPSE_ROW_SPAN export flag. Specifies whether row spans should be collapsed and merging cells across rows should be inhibited. | ||||
|
||||
API | PROPERTY_COLLAPSE_ROW_SPAN | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.column.name | ||||
Represents the name for the column that should appear in the metadata-based Excel export. It must be one of the values in PROPERTY_COLUMN_NAMES_PREFIX, if provided. | ||||
|
||||
API | PROPERTY_COLUMN_NAME | |||
Default | N/A | |||
Scope | Element | |||
Since | 4.0.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.column.names | ||||
Properties having this prefix contain comma-separated column names used in the metadata-based Excel export.
The order of the columns is important and for accurate results they should be in the same order as the original columns. |
||||
|
||||
API | PROPERTY_COLUMN_NAMES_PREFIX | |||
Default | N/A | |||
Scope | Report | |||
Since | 4.0.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.column.width | ||||
Element-level property used to adjust the column width to values suitable for Excel output, taking into account
that column widths are measured in Excel in Normal style default character width units. The pixel-to-character width
translation depends on the default normal style character width, so it cannot be always accurately fitted. In this case,
one can adjust the current column width by setting this property with an integer value measured in pixels. The JR engine
will perform the pixel-to-character width mapping using this value instead of the element's width attribute.
If defined, this property will override the PROPERTY_COLUMN_WIDTH_RATIO value for the current column |
||||
|
||||
API | PROPERTY_COLUMN_WIDTH | |||
Default | N/A | |||
Scope | Element | |||
Since | 4.1.3 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.column.width.ratio | ||||
Property used to adjust all column widths in a document or sheet with the same width ratio, in order to get column width
values suitable for Excel output. Usually column widths are measured by Excel in Normal style default character width
units, while the JR engine uses pixels as default size units. When exporting the report to the Excel output format, the
pixel-to-character width translation depends on the normal style default character width provided by the Excel instance,
so it cannot be always accurately fitted. In this case, one can alter the generated column widths by setting this property
with a float value representing the adjustment ratio. The property can be set:
|
||||
|
||||
API | PROPERTY_COLUMN_WIDTH_RATIO | |||
Default | N/A | |||
Scope | Global | Report | Element | |||
Since | 4.1.3 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.create.custom.palette | ||||
Property whose value is used as default state of the CREATE_CUSTOM_PALETTE export flag.
This property is by default not set (false ).
|
||||
|
||||
API | PROPERTY_CREATE_CUSTOM_PALETTE | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.data | ||||
Property that specifies which value to associate with
PROPERTY_COLUMN_NAME
in the metadata-based Excel export.
By default this value is represented by the text value of the report element this property is assigned to. |
||||
|
||||
API | PROPERTY_DATA | |||
Default | N/A | |||
Scope | Element | |||
Since | 4.0.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.detect.cell.type | ||||
Property whose value is used as default state of the IS_DETECT_CELL_TYPE export flag. Specifies whether the exporter should take into consideration the type of the original text field expressions and set the cell types and values accordingly. | ||||
|
||||
API | PROPERTY_DETECT_CELL_TYPE | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.first.page.number | ||||
Property that specifies the first page number in the page setup dialog.
When the property is set at Element level, it can be used to set the first page number for the current sheet. Global settings are overriden by report level settings; report level settings are overriden by element (sheet) level settings. |
||||
|
||||
API | PROPERTY_FIRST_PAGE_NUMBER | |||
Default | N/A | |||
Scope | Global | Report | Element | |||
Since | 4.6.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.fit.height | ||||
Property used at print time to indicate the number of pages height to fit the sheet in. | ||||
|
||||
API | PROPERTY_FIT_HEIGHT | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.7.5 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.fit.width | ||||
Property used at print time to indicate the number of pages width to fit the sheet in. | ||||
|
||||
API | PROPERTY_FIT_WIDTH | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.7.5 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.font.size.fix.enabled | ||||
Property whose value is used as default state of the IS_FONT_SIZE_FIX_ENABLED export flag. Specifies whether the font size should be decreased so that texts fit into the specified cell height. | ||||
|
||||
API | PROPERTY_FONT_SIZE_FIX_ENABLED | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.formula | ||||
Property that stores the formula which has to be applied to a given cell in an Excel sheet. | ||||
|
||||
API | PROPERTY_CELL_FORMULA | |||
Default | N/A | |||
Scope | Text Element | |||
Since | 3.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.freeze.column | ||||
Indicates the name of the first unlocked column in document's sheets. All columns to the left of this one will be 'frozen'.
Allowed values are letters or letter combinations representing valid column names in Excel, such as A, B, AB, AC, etc.
The property should be used when all sheets in the document have the same freeze column name.
The property is available for: |
||||
|
||||
API | PROPERTY_FREEZE_COLUMN | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 4.1.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.freeze.column.edge | ||||
Property that indicates the vertical edge of the freeze pane, relative to the current cell. If set, it overrides the
PROPERTY_FREEZE_COLUMN value.
Allowed values are:
|
||||
|
||||
API | PROPERTY_FREEZE_COLUMN_EDGE | |||
Default | N/A | |||
Scope | Report Element | |||
Since | 4.1.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.freeze.row | ||||
Specifies the index of the first unlocked row in document's sheets. All rows above this will be 'frozen'.
Allowed values are represented by positive integers in the 1..65536 range. Negative values are not considered.
The property should be used when all sheets in the document have the same freeze row index.
The property is available for: |
||||
|
||||
API | PROPERTY_FREEZE_ROW | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 4.1.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.freeze.row.edge | ||||
Property that indicates the horizontal edge of the freeze pane, relative to the current cell. If set, it overrides the
PROPERTY_FREEZE_ROW value.
Allowed values are:
|
||||
|
||||
API | PROPERTY_FREEZE_ROW_EDGE | |||
Default | N/A | |||
Scope | Report Element | |||
Since | 4.1.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.ignore.anchors | ||||
Flag property that indicates whether local anchors should be ignored when elements are exported to Excel. If set to true , local anchors will be excluded from export.
Otherwise they will be exported along with elements they belong to.
|
||||
|
||||
API | PROPERTY_IGNORE_ANCHORS | |||
Default | false | |||
Scope | Global | Report | |||
Since | 4.6.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.ignore.cell.background | ||||
Property whose value is used as default state of the IS_IGNORE_CELL_BACKGROUND export flag. Specifies whether cell background color should be ignored. | ||||
|
||||
API | PROPERTY_IGNORE_CELL_BACKGROUND | |||
Default | false | |||
Scope | Global | Report | |||
Since | 3.6.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.ignore.cell.border | ||||
Property whose value is used as default state of the IS_IGNORE_CELL_BORDER export flag. Specifies whether cell borders should be ignored. | ||||
|
||||
API | PROPERTY_IGNORE_CELL_BORDER | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.ignore.graphics | ||||
Property whose value is used as default state of the IS_IGNORE_GRAPHICS export flag. Specifies whether graphic elements should be ignored and only text elements be exported. | ||||
|
||||
API | PROPERTY_IGNORE_GRAPHICS | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.image.border.fix.enabled | ||||
Property whose value is used as default state of the IS_IMAGE_BORDER_FIX_ENABLED export parameter. | ||||
|
||||
API | PROPERTY_IMAGE_BORDER_FIX_ENABLED | |||
Default | false | |||
Scope | Global | Report | |||
Since | 3.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.max.rows.per.sheet | ||||
Property whose value is used as default state of the MAXIMUM_ROWS_PER_SHEET export parameter. Specifies the maximum number of rows allowed to be exported to the same sheet. Negative values or zero means that no limit has been set. | ||||
|
||||
API | PROPERTY_MAXIMUM_ROWS_PER_SHEET | |||
Default | 0 | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.one.page.per.sheet | ||||
Property whose value is used as default state of the IS_ONE_PAGE_PER_SHEET export flag. Specifies whether each report page should be written in a different XLS sheet. | ||||
|
||||
API | PROPERTY_ONE_PAGE_PER_SHEET | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.page.scale | ||||
Property used to adjust the page content to a given percent of the normal size in the print preview pane. Allowed values are
positive integers from 10 to 400, representing percents of the normal size.
When the property is set at Element level, it can be used to set the page scale per sheet Global settings are overriden by report level settings; report level settings are overriden by element (sheet) level settings. The property overrides the PROPERTY_FIT_WIDTH and PROPERTY_FIT_HEIGHT values. This property is by default not set ( null ).
|
||||
|
||||
API | PROPERTY_PAGE_SCALE | |||
Default | N/A | |||
Scope | Global | Report | Element | |||
Since | 4.6.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.password | ||||
Property whose value is used as default state of the PASSWORD export parameter.
Contains a String value representing the password in case of password protected sheets in documents. This property is by default not set ( null ).
|
||||
|
||||
API | PROPERTY_PASSWORD | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.pattern | ||||
Property whose value is an Excel compatible pattern, to be used as replacement for the text field pattern when exporting to XLS formats. | ||||
|
||||
API | PROPERTY_CELL_PATTERN | |||
Default | N/A | |||
Scope | Text Element | |||
Since | 4.1.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.remove.empty.space.between.columns | ||||
Property whose value is used as default state of the IS_REMOVE_EMPTY_SPACE_BETWEEN_COLUMNS export flag. Specifies whether the empty spacer columns should be removed or not. | ||||
|
||||
API | PROPERTY_REMOVE_EMPTY_SPACE_BETWEEN_COLUMNS | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.remove.empty.space.between.rows | ||||
Property whose value is used as default state of the IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS export flag. Specifies whether the empty spacer rows should be removed or not. | ||||
|
||||
API | PROPERTY_REMOVE_EMPTY_SPACE_BETWEEN_ROWS | |||
Default | false | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.repeat.value | ||||
Property that specifies whether the value associated with PROPERTY_COLUMN_NAME should be repeated or not when it is missing. This property is available for the metadata-based Excel export. | ||||
|
||||
API | PROPERTY_REPEAT_VALUE | |||
Default | false | |||
Scope | Element | |||
Since | 4.0.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.row.outline.level.{arbitrary_level} | ||||
Property prefix used to indicate the current outline row level, and when necessary, the ending row of the current outline row
group with the given level. The suffix of these properties is associated with the outline level, while the property value indicates
if the current row group should continue or should end. The most recommended practice is to use the outline level itself as property
suffix, although this is not mandatory. The suffix may take any other string value, but one has to keep in mind that suffixes are
used as sorted row levels descriptors. For instance, because "aaa" < "bbb", the outline level associated with the "aaa" suffix
will be smaller than the level associated with the "bbb" suffix. A completely intuitive representation of the row levels uses the row
level as property suffix.
In such a case, the net.sf.jasperreports.export.xls.outline.level.2 property means that its value is correlated with
the outline level 2, so the current row belongs to a level 2 row group. Based on Office Open XML specs, allowed values for outline
levels are positive integers from 1 to 7.
The value of this property could be any expression (including null ). When such a property occurrence is met, the suffix
indicates the outline level for that row. If multiple properties with the same prefix are defined for the same row, the deepest
outline level is considered for that row. To end an outline row group one has to set the related outline level property with the
End value. This is a special property value instructing the JR engine that the current row group of that level ends
on the current row.
|
||||
|
||||
API | PROPERTY_ROW_OUTLINE_LEVEL_PREFIX | |||
Default | N/A | |||
Scope | Element | |||
Since | 4.1.3 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.sheet.direction | ||||
This property indicates if the sheet is left-to-right or right-to-left oriented. Possible values are:
|
||||
|
||||
API | PROPERTY_SHEET_DIRECTION | |||
Default | LTR | |||
Scope | Global | Report | |||
Since | 3.7.5 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.sheet.footer.center | ||||
Custom property storing the text content of the sheet footer's center. | ||||
|
||||
API | PROPERTY_SHEET_FOOTER_CENTER | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.7.5 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.sheet.footer.left | ||||
Custom property storing the text content of the left side of the sheet footer. | ||||
|
||||
API | PROPERTY_SHEET_FOOTER_LEFT | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.7.5 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.sheet.footer.right | ||||
Custom property storing the text content of the right side of the sheet footer. | ||||
|
||||
API | PROPERTY_SHEET_FOOTER_RIGHT | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.7.5 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.sheet.header.center | ||||
Custom property storing the text content of the sheet header's center. | ||||
|
||||
API | PROPERTY_SHEET_HEADER_CENTER | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.7.5 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.sheet.header.left | ||||
Custom property storing the text content of the left side of the sheet header. | ||||
|
||||
API | PROPERTY_SHEET_HEADER_LEFT | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.7.5 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.sheet.header.right | ||||
Custom property storing the text content of the right side of the sheet header. | ||||
|
||||
API | PROPERTY_SHEET_HEADER_RIGHT | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.7.5 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.sheet.name | ||||
Property used to set the name of the sheet containing a given element. Its value overrides the report-level settings for the sheet name.
If several elements in the sheet contain this property, the engine will consider the value of the last exported element's property. |
||||
|
||||
API | PROPERTY_SHEET_NAME | |||
Default | N/A | |||
Scope | Element | |||
Since | 4.1.3 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.sheet.names.{arbitrary_name} | ||||
A set of report custom properties (exporter hints) added in order
to hold user defined sheet names. This is very useful when
indicating sheet names in the jrxml template is required.
These properties should start with the net.sf.jasperreports.export.xls.sheet.names. prefix, and should end with an
arbitrary suffix. Any of them can hold one or many sheet names,
separated by the slash ("/") separator. Values are collected in the same
order as they are enumerated in the jrxml template, so one have to be careful with that
order when editing a jrxml. The ending suffix is not important, but the order
is very.
For instance, if a given report has 3 resulting sheets, there are multiple possibilities to define the sheet names within the jrxml template:
Finally, if the user sets less sheet names (let's say x) than the number of sheets, the exporter will use the custom user sheet names for the first x sheets in the document, and the remaining sheets will be named by default as "Page y", where y is the current page number. These properties are by default not set. |
||||
|
||||
API | PROPERTY_SHEET_NAMES_PREFIX | |||
Default | N/A | |||
Scope | Report | |||
Since | 3.5.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.use.timezone | ||||
Property that determines whether date values are to be translated to the timezone that was used to fill the report.
By default, date values are exported to Excel using the default timezone of the system. Setting this property to true instructs the exporter to use he report fill timezone to export date values.
The property only has effect when net.sf.jasperreports.export.xls.detect.cell.type is set.
|
||||
|
||||
API | PROPERTY_USE_TIMEZONE | |||
Default | false | |||
Scope | Global | Report | Element | |||
Since | 4.5.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.white.page.background | ||||
Property whose value is used as default state of the IS_WHITE_PAGE_BACKGROUND export flag. Specifies whether the page background should be white or the default XLS background color. | ||||
|
||||
API | PROPERTY_WHITE_PAGE_BACKGROUND | |||
Default | true | |||
Scope | Global | Report | |||
Since | 2.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.workbook.template | ||||
Property used to store the location of an existing workbook template. The content of an existing workbook document
or template can be embedded into exported document if the template location is known. In this case the content of
the template will be exported first and the content of the exported report will be appended to this one. Macros and
other settings in the existing template will be also preserved in the generated document. Templates can be loaded from
Excel template files (*.xlt) as well as from valid Excel documents (*.xls).
This property is used in Excel exporters based either on Apache POI APIs (JRXlsExporter) or on JExcelApi library (JExcelApiExporter). There's no similar property for the JRXlsxExporter. |
||||
|
||||
API | PROPERTY_WORKBOOK_TEMPLATE | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 4.5.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.workbook.template.keep.sheets | ||||
Flag property that specifies whether to keep the sheets of the existing template into generated document. Sometimes
is important to embed in a generated document only macros and/or other global settings from an existing template, but
without keeping the own sheets of the template document. If set to false, this property prevent the template sheets
to be exported.
This property is used in conjunction with PROPERTY_WORKBOOK_TEMPLATE. Allowed values are:
|
||||
|
||||
API | PROPERTY_WORKBOOK_TEMPLATE_KEEP_SHEETS | |||
Default | false | |||
Scope | Global | Report | |||
Since | 4.5.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.wrap.text | ||||
Custom element property specifying if text wrapping is allowed in a given cell.
If set to false , text wrapping is forbidden, otherwise it is allowed.
|
||||
|
||||
API | PROPERTY_WRAP_TEXT | |||
Default | true | |||
Scope | Global | Report | Element | |||
Since | 3.7.3 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xls.write.header | ||||
Property that specifies whether the export header (the column names) should be written or not, in the metadata-based Excel export. | ||||
|
||||
API | PROPERTY_WRITE_HEADER | |||
Default | false | |||
Scope | Element | |||
Since | 4.0.2 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xlsx.macro.template | ||||
Property used to store the location of an existing workbook template containing a macro object. The macro object will be copied into the generated document if the template location is valid. Macros can be loaded from Excel macro-enabled template files (*.xltm) as well as from valid Excel macro-enabled documents (*.xlsm). | ||||
|
||||
API | PROPERTY_MACRO_TEMPLATE | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 4.5.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xml.end.page.index | ||||
|
||||
API | PROPERTY_END_PAGE_INDEX | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xml.page.count | ||||
|
||||
API | PROPERTY_PAGE_COUNT | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xml.parser.factory | ||||
Property that gives a parser factory class which should be used
for parsing XML exports.
By default, this property is set to use PrintSaxParserFactory as report parser factory. |
||||
|
||||
API | PROPERTY_PRINT_PARSER_FACTORY | |||
Default | net.sf.jasperreports.engine.xml.PrintSaxParserFactory | |||
Scope | Global | |||
Since | 4.1.3 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xml.start.page.index | ||||
|
||||
API | PROPERTY_START_PAGE_INDEX | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.0.1 | |||
top |
||||
|
||||
net.sf.jasperreports.export.xml.validation | ||||
Property that forces the XML validation, when a document exported to XML format is loaded. | ||||
|
||||
API | EXPORT_XML_VALIDATION | |||
Default | true | |||
Scope | Global | Report | |||
Since | 1.0.0 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.extension.{registry_id}.{property_suffix} | ||||
Property that can be used to provide a registry-specific property, by appending the registry ID and then a fixed property suffix to the fixed property prefix net.sf.jasperreports.extension. .
For example: the net.sf.jasperreports.extension.chart.theme.spring.beans.resource contains the spring beans resource bundle location
for the spring-based extensions registry class with the "chart.theme" registry ID.
|
||||
|
||||
API | PROPERTY_REGISTRY_PREFIX | |||
Default | N/A | |||
Scope | Global | |||
Since | 3.1.0 | |||
top |
||||
|
||||
net.sf.jasperreports.extension.registry.factory.{arbitrary_name} | ||||
Properties used to indicate extensions registry factories.
Such factories are used by the default components registry class to instantiate sub extensions registries. Each such property contains the fixed property prefix net.sf.jasperreports.extension.registry.factory. and an arbitrary name suffix
which is used as registry ID when instantiating. The property should have as value the name of a
ExtensionsRegistryFactory implementation.
|
||||
|
||||
API | PROPERTY_REGISTRY_FACTORY_PREFIX | |||
Default | N/A | |||
Scope | Global | |||
Since | 3.1.0 | |||
top |
||||
|
||||
net.sf.jasperreports.extensions.registry.class | ||||
A property that provides the default ExtensionsRegistry
implementation class.
This property is only read at initialization time, therefore changing the property value at a later time will have no effect. |
||||
|
||||
API | PROPERTY_EXTENSIONS_REGISTRY_CLASS | |||
Default | net.sf.jasperreports.extensions.DefaultExtensionsRegistry | |||
Scope | Global | |||
Since | 3.1.0 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.file.buffer.os.memory.threshold | ||||
Property specifying the maximum in-memory buffer length that triggers the creation of a temporary file on disk to store further content sent to a FileBufferedOutputStream instance. | ||||
|
||||
API | PROPERTY_MEMORY_THRESHOLD | |||
Default | 262144 | |||
Scope | Global | |||
Since | 1.3.4 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.file.repository.resolve.absolute.path | ||||
Flag property that indicates whether the absolute path to be used instead, when resources are not found in the file repository. | ||||
|
||||
API | PROPERTY_FILE_REPOSITORY_RESOLVE_ABSOLUTE_PATH | |||
Default | false | |||
Scope | Global | |||
Since | 4.1.1 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.file.repository.root | ||||
Specifies the file repository root location. | ||||
|
||||
API | PROPERTY_FILE_REPOSITORY_RESOLVE_ABSOLUTE_PATH | |||
Default | N/A | |||
Scope | Global | |||
Since | 4.1.1 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.governor.max.pages | ||||
If the governor that checks if a report exceeds a specified limit of pages is turned on, this property will indicate the maximum number of pages allowed to be ran, in order to prevent a memory overflow error. If the number of pages in the report becomes greater than this value, the report execution will be stopped. | ||||
|
||||
API | PROPERTY_MAX_PAGES | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.1.4 | |||
top |
||||
|
||||
net.sf.jasperreports.governor.max.pages.enabled | ||||
A flag indicating whether the governor that checks if a report exceeds a specified limit of pages is turned on. With this property enabled, the JR engine will stop the report execution if the number of pages becomes greater than a custom given value. | ||||
|
||||
API | PROPERTY_MAX_PAGES_ENABLED | |||
Default | false | |||
Scope | Global | Report | |||
Since | 3.1.4 | |||
top |
||||
|
||||
net.sf.jasperreports.governor.timeout | ||||
If the governor that checks if the elapsed time during report execution exceeds a specified amount of time is turned on, this property will indicate the maximum allowed amount of time, in order to prevent a memory overflow error. If this value becomes exceeded, the report execution will be stopped. | ||||
|
||||
API | PROPERTY_TIMEOUT | |||
Default | N/A | |||
Scope | Global | Report | |||
Since | 3.1.4 | |||
top |
||||
|
||||
net.sf.jasperreports.governor.timeout.enabled | ||||
A flag indicating whether the governor that checks if the elapsed time during report execution
exceeds a specified amount of time is turned on.
With this property enabled, the JR engine will stop the report execution if the elapsed time becomes greater than the limit value. By default it should be turned off. |
||||
|
||||
API | PROPERTY_TIMEOUT_ENABLED | |||
Default | false | |||
Scope | Global | Report | |||
Since | 3.1.4 | |||
top |
||||
|
||||
net.sf.jasperreports.hql.clear.cache | ||||
Property specifying whether Hibernate session cache should be cleared between two consecutive fetches when using pagination.
By default, the cache cleanup is not performed. |
||||
|
||||
API | PROPERTY_HIBERNATE_CLEAR_CACHE | |||
Default | false | |||
Scope | Global | Dataset | |||
Since | 1.3.1 | |||
top |
||||
|
||||
net.sf.jasperreports.hql.field.mapping.descriptions | ||||
Property specifying whether field descriptions should be used to determine the mapping between the fields and the query return values.
By default, field description are used. |
||||
|
||||
API | PROPERTY_HIBERNATE_FIELD_MAPPING_DESCRIPTIONS | |||
Default | true | |||
Scope | Global | Dataset | |||
Since | 1.2.0 | |||
top |
||||
|
||||
net.sf.jasperreports.hql.query.list.page.size | ||||
Property specifying the number of result rows to be retrieved at once when the execution type is list .
Result pagination is implemented by org.hibernate.Query.setFirstResult() and org.hibernate.Query.setMaxResults() .
By default, all the rows are retrieved (no result pagination is performed).
|
||||
|
||||
API | PROPERTY_HIBERNATE_QUERY_LIST_PAGE_SIZE | |||
Default | 0 | |||
Scope | Global | Dataset | |||
Since | 1.2.0 | |||
top |
||||
|
||||
net.sf.jasperreports.hql.query.run.type | ||||
Property specifying the Hibernate query execution type. Possible values are:
|
||||
|
||||
API | PROPERTY_HIBERNATE_QUERY_RUN_TYPE | |||
Default | list | |||
Scope | Global | Dataset | |||
Since | 1.2.0 | |||
top |
||||
|
||||
net.sf.jasperreports.image.dpi | ||||
Specifies the image resolution in dots-per-inch, for the images created by the engine when rasterizing SVGs or when clipping other renderers. | ||||
|
||||
API | PROPERTY_IMAGE_DPI | |||
Default | 72 | |||
Scope | Global | |||
Since | 4.1.1 | |||
top |
||||
|
||||
net.sf.jasperreports.image.encoder | ||||
Property specifying the name of the class implementing the JRImageEncoder interface to be used by the engine. If not set, the engine will try to an image encoder implementation that corresponds to the JVM version. | ||||
|
||||
API | PROPERTY_IMAGE_ENCODER | |||
Default | N/A | |||
Scope | Global | |||
Since | 2.0.5 | |||
top |
||||
|
||||
net.sf.jasperreports.image.reader | ||||
Property specifying the name of the class implementing the JRImageReader interface to be used by the engine. If not set, the engine will try to an image reader implementation that corresponds to the JVM version. | ||||
|
||||
API | PROPERTY_IMAGE_READER | |||
Default | N/A | |||
Scope | Global | |||
Since | 2.0.5 | |||
top |
||||
|
||||
net.sf.jasperreports.jdbc.cached.rowset | ||||
Flag property specifying if data will be stored in a cached rowset. | ||||
|
||||
API | PROPERTY_CACHED_ROWSET | |||
Default | false | |||
Scope | Global | Dataset | |||
Since | 4.1.2 | |||
top |
||||
|
||||
net.sf.jasperreports.jdbc.concurrency | ||||
Property specifying the concurrency rule for the java.sql.ResultSet created by the
JRJdbcQueryExecuter. Possible values are:
|
||||
|
||||
API | PROPERTY_JDBC_CONCURRENCY | |||
Default | readOnly | |||
Scope | Global | Dataset | |||
Since | 3.5.3 | |||
top |
||||
|
||||
net.sf.jasperreports.jdbc.fetch.size | ||||
Property specifying the fetch size for the java.sql.ResultSet created by the
JRJdbcQueryExecuter and the
JRHibernateQueryExecuter.
|
||||
|
||||
API | PROPERTY_JDBC_FETCH_SIZE | |||
Default | 0 | |||
Scope | Global | Dataset | |||
Since | 1.2.0 | |||
top |
||||
|
||||
net.sf.jasperreports.jdbc.holdability | ||||
Property specifying the cursor holdability after commit for the java.sql.ResultSet created by the
JRJdbcQueryExecuter. Possible values are:
|
||||
|
||||
API | PROPERTY_JDBC_HOLDABILITY | |||
Default | hold | |||
Scope | Global | Dataset | |||
Since | 3.5.3 | |||
top |
||||
|
||||
net.sf.jasperreports.jdbc.max.field.size | ||||
Property specifying the limit for the maximum number of bytes in a ResultSet column
storing character or binary values created by the
JRJdbcQueryExecuter.
|
||||
|
||||
API | PROPERTY_JDBC_MAX_FIELD_SIZE | |||
Default | N/A | |||
Scope | Global | Dataset | |||
Since | 3.5.3 | |||
top |
||||
|
||||
net.sf.jasperreports.jdbc.result.set.type | ||||
Property specifying the type for the java.sql.ResultSet created by the
JRJdbcQueryExecuter. Possible values are:
|
||||
|
||||
API | PROPERTY_JDBC_RESULT_SET_TYPE | |||
Default | forwardOnly | |||
Scope | Global | Dataset | |||
Since | 3.5.3 | |||
top |
||||
|
||||
net.sf.jasperreports.jdk.glyph.fix.text.measurer.attempts | ||||
A property that specifies the number of times the measurer should attempt to measure a single text element before giving up. | ||||
|
||||
API | PROPERTY_ATTEMPTS | |||
Default | 20 | |||
Scope | Global | |||
Since | 3.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.jdk.glyph.fix.text.measurer.catch.empty.stacktrace | ||||
A property that specifies whether java.lang.NullPointer exceptions with empty stacktraces
should be caught.
This is useful when running on a Sun server JVM (java -server), which might omit exception stacktraces in some cases. |
||||
|
||||
API | PROPERTY_CATCH_EMPTY_STACKTRACE | |||
Default | false | |||
Scope | Global | |||
Since | 3.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.jdk.glyph.fix.text.measurer.sleep | ||||
A property that specifies the number of milliseconds to sleep between
measuring reattempts.
The default value is 0, which means that the measurer will not pause between reattempts (see DEFAULT_ATTEMPT_SLEEP). |
||||
|
||||
API | PROPERTY_ATTEMPT_SLEEP | |||
Default | 0 | |||
Scope | Global | |||
Since | 3.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.markup.processor.factory.{markup} | ||||
Prefix for properties that map markup text processors.
Properties having this prefix indicate the MarkupProcessor implementation to be used when parsing a given styled text having the markup type specified in the property suffix. |
||||
|
||||
API | PROPERTY_MARKUP_PROCESSOR_FACTORY_PREFIX | |||
Default | N/A | |||
Scope | Global | |||
Since | 2.0.5 | |||
top |
||||
|
||||
net.sf.jasperreports.print.keep.full.text | ||||
Property used to determine whether the fill process must preserve the original text for text elements that are not able to fit their entire contents. When this property is set, the engine saves the original text in the JRPrintText print text object, along with the index at which the text is to be truncated by the print object. | ||||
|
||||
API | PROPERTY_PRINT_KEEP_FULL_TEXT | |||
Default | false | |||
Scope | Global | Report | Text Element | |||
Since | 2.0.3 | |||
top |
||||
|
||||
net.sf.jasperreports.properties | ||||
The name of the system property that specifies the properties file name.
If the system property net.sf.jasperreports.properties has been set then the specified properties file is loaded.
Otherwise the jasperreports.properties file is loaded, if found in the classpath.
|
||||
|
||||
API | PROPERTIES_FILE | |||
Default | jasperreports.properties | |||
Scope | System | |||
Since | 1.0.0 | |||
top |
||||
|
||||
net.sf.jasperreports.query.chunk.token.separators | ||||
Property that specifies the list of token separators characters for TYPE_CLAUSE_TOKENS tokenized query clauses. | ||||
|
||||
API | PROPERTY_CHUNK_TOKEN_SEPARATOR | |||
Default | , ; | | |||
Scope | Global | |||
Since | 2.0.5 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.query.executer.factory.{language} | ||||
Properties with this prefix associate a query executer factory implementation with a query language. To obtain query executer factories, a property having the query language appended to this prefix is used to get the query executer factory name. | ||||
|
||||
API | QUERY_EXECUTER_FACTORY_PREFIX | |||
Default | N/A | |||
Scope | Global | |||
Since | 1.2.0 | |||
|
||||
NOTE: By default, properties with this prefix are not read from the report context. This FAQ shows the additional steps to follow in order to set them on and get them from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.style.evaluation.time.enabled | ||||
A flag the determines whether the style of an element is evaluated at
the element evaluation time, or at the time the band on which the element
is placed is rendered.
This applies to report elements that can have delayed evaluations times (such as text fields and images). When this flag is set to true , conditional style expressions of the style that is
associated with the element are evaluated at the moment the element is
set to evaluate, and the resulting style to the generated print element.
|
||||
|
||||
API | PROPERTY_EVALUATION_TIME_ENABLED | |||
Default | false | |||
Scope | Global | Report | Element | |||
Since | 3.5.2 | |||
top |
||||
|
||||
net.sf.jasperreports.subreport.runner.factory | ||||
Property specifying the JRSubreportRunnerFactory implementation to use for creating subreport runners. | ||||
|
||||
API | SUBREPORT_RUNNER_FACTORY | |||
Default | net.sf.jasperreports.engine.fill.JRThreadSubreportRunnerFactory | |||
Scope | Global | |||
Since | 1.2.2 | |||
top |
||||
|
||||
net.sf.jasperreports.text.measurer.factory | ||||
This property can either hold the name of a text measurer factory class, or hold an alias of a text measurer factory class property.
One can write an implementation of the JRTextMeasurerFactory interface. This will usually imply writing a custom implementation of the JRTextMeasurer interface, either from scratch or by extending the default implementation (TextMeasurer).
A text measurer is responsible with computing text layout attributes (in the form of JRMeasuredText instances) for report text elements. The measurer is only used at report fill time, the exporters will use the computed text layout attributes.
Then one can define an alias of the text measurer factory implementation by declaring a property named net.sf.jasperreports.text.measurer.factory.{alias} which has the name of the factory class as value.
The net.sf.jasperreports.text.measurer.factory property is set to a defined alias or a full factory class name.
The factory class is used to instantiate text measurers for report text elements, which are then used to compute the text layout attributes.
|
||||
|
||||
API | PROPERTY_TEXT_MEASURER_FACTORY | |||
Default | net.sf.jasperreports.engine.fill.TextMeasurerFactory | |||
Scope | Global | Report | Text Element | |||
Since | 2.0.3 | |||
top |
||||
|
||||
net.sf.jasperreports.text.save.line.breaks | ||||
Boolean property that determines whether the positions where text line
break occurs are to be saved during report fill in oder to be used at
export time.
At report fill time, each text element is measured in order to determine how long it needs to stretch or where it needs to be truncated. During this measurement, the text wraps at certain positions in order to fit the text element defined width. Setting this property to true instructs the engine to save the positions at which line breaks occur in the generated print element. The positions can be used by report exporters that want to enforce line breaks to occur at exactly the same position as they did during text measurement at fill time. Currently, the HTML exporter will make use of the saved line break positions by introducing explicit line breaks. |
||||
|
||||
API | PROPERTY_SAVE_LINE_BREAKS | |||
Default | false | |||
Scope | Global | Report | Text Element | |||
Since | 3.5.1 | |||
top |
||||
|
||||
net.sf.jasperreports.text.truncate.at.char | ||||
Boolean property that determines whether text elements are to be truncated at the last character that fits.
By default, when the entire text of a text element does not fit the element's area, the text is truncated at the last word that fits the area.
|
||||
|
||||
API | PROPERTY_TRUNCATE_AT_CHAR | |||
Default | false | |||
Scope | Global | Report | Text Element | |||
Since | 2.0.3 | |||
top |
||||
|
||||
net.sf.jasperreports.text.truncate.suffix | ||||
Property whose value is used as a suffix for the truncated text. The suffix is appended to the text when truncation occurs. If the property is not defined or empty (which is the case by default), no suffix will be used when the text is truncated. | ||||
|
||||
API | PROPERTY_TRUNCATE_SUFFIX | |||
Default | empty string | |||
Scope | Global | Report | Text Element | |||
Since | 2.0.3 | |||
top |
||||
|
||||
net.sf.jasperreports.viewer.render.buffer.max.size | ||||
Maximum size (in pixels) of a buffered image that would be used by JRViewer to render a report page. If rendering a report page would require an image larger than this threshold (i.e. image width x image height > maximum size), the report page will be rendered directly on the viewer component. If this property is zero or negative, buffered images will never be used to render a report page. | ||||
|
||||
API | VIEWER_RENDER_BUFFER_MAX_SIZE | |||
Default | 0 | |||
Scope | Global | |||
Since | 1.2.8 | |||
top |
||||
|
||||
net.sf.jasperreports.virtual.page.element.size | ||||
Property that determines how many print elements will make up a virtual page handled as a unit by the virtualizer.
For most paginated reports, a virtual page corresponds to a report page. But for non-paginated reports and for reports having very large pages, a report page is broken into several virtual pages which are handled individually by the virtualizer. This property provides the size of a virtual page in print elements. Note that virtual page sizes will actually vary around the configured size since there are cases when fewer elements remain on a report page and cases when the configured size is exceeded due to print frames being included at the end of virtual page. If set to 0 or negative, report pages will not be broken into several virtual pages. |
||||
|
||||
API | PROPERTY_VIRTUAL_PAGE_ELEMENT_SIZE | |||
Default | 2000 | |||
Scope | Global | Report | |||
Since | 4.1.3 | |||
top |
||||
|
||||
net.sf.jasperreports.virtualizer.files.delete.on.exit | ||||
Property used to decide whether java.io.File#deleteOnExit() should be requested for temporary files created by the virtualizer.
Temporary files will be deleted by explicitly calling cleanup() or from the virtualizer finalize() method.
|
||||
|
||||
API | PROPERTY_TEMP_FILES_SET_DELETE_ON_EXIT | |||
Default | true | |||
Scope | Global | |||
Since | 1.2.3 | |||
|
||||
NOTE: By default, this property is not read from the report context. This FAQ shows the additional steps to follow in order to set it on and get it from the report context. | ||||
top |
||||
|
||||
net.sf.jasperreports.xpath.executer.factory | ||||
Property specifying the JRXPathExecuterFactory XPath executer factory implementation class name. JasperReports is shipped with two implementation of this factory interface: XalanXPathExecuterFactory and JaxenXPathExecuter. | ||||
|
||||
API | PROPERTY_XPATH_EXECUTER_FACTORY | |||
Default | net.sf.jasperreports.engine.util.xml.XalanXPathExecuterFactory | |||
Scope | Global | |||
Since | 2.0.0 | |||
|
||||
|
||||
© 2001- Jaspersoft Corporation www.jaspersoft.com |