Banded Object Properties
This topic lists the properties of a Banded Object. The availabilities of the properties vary for the supported report types: Page Report and Web Report.
Property Name | Available For | Description |
---|---|---|
General | ||
Class Type | Query Page Report | Indicates the class type of the object. This property is read only. |
Data Inherit | Query Page Report | Indicates whether the dataset for this object is inherited from another object. |
Dataset | Query Page Report | Indicates the dataset used by the object. This property is read only. |
Instance Name | Query Page Report | Shows the instance name of the object. This property is read only. |
Geometry | ||
Height | Page Report, Web Report | Specifies the height of the object.
Enter a numeric value to change the height. Enabled when it is a
horizontal banded object.
Data type: Float |
Width | Page Report, Web Report | Specifies the width of the object. Enter a numeric value to change the width.
Enabled when it is a vertical banded object.
Data type: Float |
X | Page Report, Web Report | Specifies the horizontal coordinate of the top left corner of the object, relative to its parent container. This property is ignored if the Position property is set to static. Enter a numeric value to change the position.
Data type: Float |
Y | Page Report, Web Report | Specifies the vertical coordinate of the top left corner of the object, relative to its parent container. This property is ignored if the Position property is set to static. Enter a numeric value to change the position.
Data type: Float |
Color | ||
Background | Page Report, Web Report | Specifies the background color of the object. Choose a color from the drop-down list or select Custom to customize a color. You can also use a formula or edit an expression that returns a color, or enter a hexadecimal RGB value (for example, 0xff0000) to specify a color.
Data type: String |
CSS | ||
Class | Page Report, Web Report | Specifies a CSS class to be applied to the object which is a valid class in the CSS file.
Data type: String |
Style | Page Report, Web Report | The property can be used in two ways:
Data type: String |
Others | ||
Auto Scale in Number | Page Report, Web Report | Specifies whether to automatically scale the values that are of the Number data type in the object when the values fall into the two ranges:
Data type: Boolean |
Cache | Page Report, Web Report | Specifies whether to cache the dataset for this object in the data buffer so other objects which use the same dataset can share the data rather than perform their own SQL query.
Data type: Boolean |
Default for Filter | Page Report, Web Report | Specifies whether to show the data component as the default component in the Apply To drop-down list of the Filter dialog in Page/Web Report Studio.
Data type: Boolean Note: In the same report, only one data component's Default for Filter property can be set to true. |
Enable Navigation | Web Report | Specifies whether to enable scrollbars on the banded object when the parent container cannot fully display the data of the crosstab.
When this property is set to true, you can further specify the height and width of the frame for holding the banded object, by setting the two properties Navigation Height and Navigation Width. Data type: Boolean |
Export to CSV | Page Report, Web Report | Specifies whether to include the object in the CSV result of the report.
Data type: Boolean |
Export to Excel | Page Report, Web Report | Specifies whether to include the object in the Excel result of the report.
Data type: Boolean |
Export to HTML | Page Report, Web Report | Specifies whether to include the object in the HTML result of the report.
Data type: Boolean |
Export to PDF | Page Report, Web Report | Specifies whether to include the object in the PDF result of the report.
Data type: Boolean |
Export to PostScript | Page Report, Web Report | Specifies whether to include the object in the PostScript result of the report.
Data type: Boolean |
Export to Report Result | Page Report, Web Report | Specifies whether to include the object when previewing the report in Page/Web Report Result and running the report in Page/Web Report Studio.
Data type: Boolean |
Export to RTF | Page Report, Web Report | Specifies whether to include the object in the RTF result of the report.
Data type: Boolean |
Export to Text | Page Report, Web Report | Specifies whether to include the object in the Text result of the report.
Data type: Boolean |
Export to XML | Page Report, Web Report | Specifies whether to include the object in the XML result of the report.
Data type: Boolean |
Invisible | Page Report, Web Report | Specifies whether to show the object in the design area and in the report result. All formulas and calculations will still be performed if the property is set to true.
Data type: Boolean |
Invisible for Filter Dialogs | Page Report, Web Report | Specifies whether to show the data component in the Apply To drop-down list of the Filter dialog in Page/Web Report Studio. This property cannot be edited when Default for Filter is set to true.
Data type: Boolean |
Navigation Height | Web Report | Specifies the height of the frame for holding the banded object. Enter a numeric value to specify the height. If no value is given here, Logi JReport will calculate the height at runtime. This property takes effect only when Enable Navigation is set to true.
Data type: Float |
Navigation Width | Web Report | Specifies the width of the frame for holding the banded object. Enter a numeric value to specify the width. If no value is given here, Logi JReport will calculate the width at runtime. This property takes effect only when Enable Navigation is set to true.
Data type: Float |
Position | Page Report, Web Report | Specifies the position of the object. Choose an option from the drop-down list.
Data type: Enumeration |
Record Location | Page Report, Web Report | Specifies the calculation point for the properties of the object which are controlled by formulas. Choose an option from the drop-down list.
Data type: Enumeration |
Suppress | Page Report, Web Report | Specifies whether to show the object in the design area and in the report result. All formulas and calculations will be skipped if the property is set to true.
Data type: Boolean Note: When both the Invisible and Suppress properties of an object are set to true, Suppress has the higher priority. |
Suppress When Empty | Page Report, Web Report | Specifies whether to display the object in the report result when no record is returned to it.
Data type: Boolean |
Suppress When No Records | Page Report, Web Report | Specifies whether to display the object in the report result when no record is returned to its parent data component.
Data type: Boolean |
Excel | ||
Column Index | Query Page Report | Specifies the X coordinate of the object relative to its parent container when exported to Excel or CSV, measured in cells. The Columned property at the report tab level must be set to true for this property to take effect.
Data type: Integer |
Row Index | Query Page Report | Specifies the Y coordinate of the object relative to its parent container when exported to Excel or CSV, measured in cells. The Columned property at the report tab level must be set to true for this property to take effect.
Data type: Integer |
Border | ||
Border Color | Page Report, Web Report | Specifies the color of the border of the object. Choose a color from the drop-down list or select Custom to customize a color. You can also use a formula or edit an expression that returns a color, or enter a hexadecimal RGB value (for example, 0xff0000) to specify a color.
Data type: String |
Border Joint | Page Report, Web Report | Specifies the joint style for the border lines of the object. Choose an option from the drop-down list.
Data type: Enumeration |
Border Thickness | Page Report, Web Report | Specifies the width of the border. Enter a numeric value to change the thickness.
Data type: Float |
Bottom Line | Page Report, Web Report | Specifies the line style of the bottom border of the object. Choose a style from the drop-down list.
Data type: Enumeration |
Left Line | Page Report, Web Report | Specifies the line style of the left border of the object. Choose a style from the drop-down list.
Data type: Enumeration |
Radius | Page Report, Web Report | Specifies the radius for the border line joint of the object. This property takes effect only when Border Joint is set to round.
Data type: Integer |
Right Line | Page Report, Web Report | Specifies the line style of the right border of the object. Choose a style from the drop-down list.
Data type: Enumeration |
Top Line | Page Report, Web Report | Specifies the line style of the top border of the object. Choose a style from the drop-down list.
Data type: Enumeration |
TOC | ||
Anchor Display Value | Page Report, Web Report | Specifies a string or formula to display for the TOC entry for this object in the TOC Browser. By default it is the value of the specified object. The TOC Anchor property must be set to true for this property to take effect.
Data type: String |
TOC Anchor | Page Report, Web Report | Specifies whether to include the object in the TOC Browser for the report.
Data type: Boolean |
Accessibility | ||
External CSS Class Selector | Query Page Report | Specifies a class selector to be applied to the object when exported as HTML. Enter a valid class name from the CSS file.
Data type: String |
External ID | Query Page Report | It is mapped to the HTML attribute id. This attribute specifies a name to the object, which must be unique in the report.
Data type: String |
Language | Query Page Report | It is mapped to the HTML attribute lang. This attribute specifies the base language of the object's attribute values and text content.
Data type: String |
Column Index & Row Index
The two properties together provide a way for you to control the position of an object in the Excel and CSV result of a page report tab or web report.
However, Logi JReport has default values for them which are calculated based on the position of each object in the report. You can find the default values of the two properties right after you set the Columned property at the page report tab or web report level to true.
To make the specified values take effect when exporting a page report tab or web report to CSV or Excel, the following is necessary for both export formats:
- First set the Columned property of the page report tab or web report to true, and then specify values to the two properties of the objects in the report.
More requirements for preview as Excel:
- Make sure that the Export to Excel property of the objects is set to true.
More requirements for Excel exporting:
- Make sure that the Export to Excel property of the objects is set to true.
- When exporting the report to Excel, make sure Column Format is selected in the Export to Excel dialog.
More requirements for CSV exporting:
- Make sure that the Export to CSV property of the object is set to true.
- When exporting the report to Text via dialog, do check the Delimited Format option.
Note: Preview as Text cannot support the specified values for the default setting of Delimited Format is unchecked and it is unconfigurable.
TOC
Some objects in a report can be set up to show in a table of contents. Then when previewing the report in Logi JReport format, exporting it to PDF or HTML format, or running it in Page Report Studio for a page report, you can use the TOC tree to locate the objects.
To show an object in the TOC tree:
- Set its TOC Anchor property to true.
- Specify the display value for the anchor by setting the Anchor Display Value property.
Logi JReport also allows you to specify properties of the TOC tree, including its CSS style, colors and fonts as you want.