BackPrevious Topic  Next TopicNext

Report Body Properties

The Report Body object is a flow layout container for holding the components in a page report or web report. This topic describes the properties of the Report Body object.

Designer provides some properties only when you use the object in certain report types. You can get details from the Available For column in the property table.

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. This property is read only.
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.
Color
Background Page Report, Web Report Specifies the background color and fill effect of the object. Choose a color from the drop-down list or select Custom to customize a color, or type a hexadecimal RGB value (for example, 0xff0000) to specify a color. For page report, you can also use a formula or edit an expression that returns a color.

Data type: String

CSS
Class Page Report, Web Report Specifies the name of the Class Selector to apply to the object, which you define in the CSS file of the style the report applies.

For example, if you define the CSS file as follows:

@charset "GBK";
TextField {Background: #ff0000}
/*Style=LabelX*/
TextField[Style="LabelX"]{Background: #0000FF}
/*ID=W*/
TextField#W{Background: #FFFF00}
/*class=C*/
TextField.C{Background: #00FFFF}

To apply the Class Selector in the file to the object, type C in the value cell.

Data type: String

Style Page Report, Web Report Specifies the style you want to apply to the object. You can specify the style in two ways:
  • Type the style which should be an Attribute Selector whose attribute is "style" in the CSS file of the style the report applies. For example, to apply the style in the above sample CSS file to the object, type LabelX in the value cell.
  • Choose a style from the drop-down list if you have specified the Style Group property for the report tab or web report, and there are styles in the style group that are applicable to the object.

Data type: String

Others
Auto Scale in Number Page Report, Web Report Specifies whether to automatically scale the Number values in the object that fall into the two ranges:
  • When 1000 <= value < 10^15, Designer applies the following quantity unit symbols of the International System of Units to scale the values: K (10^3), M (10^6), G (10^9), and T (10^12).
  • When 0 < value < 0.001 or value >= 10^15, Designer uses scientific notation to scale the values.

Data type: Boolean

Export to CSV Page Report, Web Report Specifies whether to include the object in the CSV output of the report.

Data type: Boolean

Export to Excel Page Report, Web Report Specifies whether to include the object in the Excel output of the report.

Data type: Boolean

Export to HTML Page Report, Web Report Specifies whether to include the object in the HTML output of the report.

Data type: Boolean

Export to PDF Page Report, Web Report Specifies whether to include the object in the PDF output of the report.

Data type: Boolean

Export to PostScript Page Report, Web Report Specifies whether to include the object in the PostScript output 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 Report Result and running the report in Page Report Studio.

Data type: Boolean

Export to RTF Page Report, Web Report Specifies whether to include the object in the RTF output of the report.

Data type: Boolean

Export to Text Page Report, Web Report Specifies whether to include the object in the Text output of the report.

Data type: Boolean

Export to XML Page Report, Web Report Specifies whether to include the object in the XML output of the report.

Data type: Boolean

Record Location Page Report, Web Report Specifies the calculation point for the properties of the object that are controlled by formulas. This property takes effect only when the object is in a banded object. Choose an option from the drop-down list.
  • default - Select to calculate the values of the properties in the default location where the object is placed.
  • page header - Select to calculate the values of the properties in the banded page header panel.
  • page footer - Select to calculate the values of the properties in the banded page footer panel.

For more information, see Example 2: Showing a Label on Every Page Except the Last.

Data type: Enumeration

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

Excel
Column Index Query Page Report Specifies the X coordinate of the object relative to its parent container in the Excel and CSV outputs of the report, measured in cells. This property takes effect only when the Columned property of the report tab is "true".

Data type: Integer

Row Index Query Page Report Specifies the Y coordinate of the object relative to its parent container in the Excel and CSV outputs of the report, measured in cells. This property takes effect only when the Columned property of the report tab is "true".

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, or type a hexadecimal RGB value (for example, 0xff0000) to specify a color. For page report, you can also use a formula or edit an expression that returns a color.

Data type: String

Border Thickness Page Report, Web Report Specifies the width of the border. Type 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

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
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. Type 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

External Style Query Page Report It is mapped to the HTML attribute style. This attribute specifies style information for the object.

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

Back to top

BackPrevious Topic  Next TopicNext