Reports Information : Parts Reference : Report Calculated Field : Report Calculated Field properties
Report Calculated Field properties
The Report Calculated Field part has the following properties:
height
width
x
y
 
backgroundColor
The backgroundColor attribute is the name of the RGB color for the background of the part.
Note:
You cannot change the background color of a column. This attribute is ignored for the Container Details Column part. This attribute is also ignored for a report viewer.
borderStyle
The borderStyle property specifies the border to be drawn around a report object. You can specify either Dashed, Heavy, None, or Normal for any the top, bottom, left, or right border of the part.
converter
The converter attribute is an object that manages the conversion of other objects to and from their display format for certain visual parts, such as a Text part.
For many of the visual parts, you specify the type of data you want displayed for the part in the Data type field in the Settings window for the part. You can customize how you want this data to display.
deviceFont
The deviceFont property specifies the font to use for a particular device. You can set the font for your display or printer, for example.
displayAttribute
The displayAttribute attribute represents the attribute (the calculation) of the AbtAccumulator that is to be shown in the report. This attribute corresponds to the displayAttribute setting of the Report Calculated Field.
foregroundColor
The foregroundColor attribute is the name of the RGB color for the foreground of the part.
height
The height attribute specifies the height an element in a Report Free Form Line.
isOwnerDraw
The isOwnerDraw property is used to specify whether you want to draw on this field after it has been placed on the Composition Editor. Specify true if you want to be able to draw on the field.
justification
The justification attribute determines how the contents of the part are aligned.
The initial values for this part are set on the settings view for the part.
partName
In the partName field, type the name you want to use to describe the part. For non-visual parts, this text appears under the icon for the part on the free-form surface.
The name of the part can consist of alphanumeric characters, and must be unique from all other parts on the layout surface.
This field is optional. If you do not specify a part name, VA Smalltalk generates a unique name based on the class name of the part.
runningTotal
The runningTotal attribute indicates whether or not to print the running total for a Report Calculated Field when its displayAttribute is #total.
sizeEffects
The sizeEffects attribute indicates how to handle text that is longer than the part that contains it. This attribute can be set using the constant values from the CoConstants pool dictionary as follows:
CoTextClip
Clips the text
CoTextRunover
Runs the text over other parts on the report
CoTextWrap
Wraps the text to the next line in the part
underlined
The underlined property specifies whether the text in the part should be underlined in the report.
unitTypeSelected
The unitTypeSelected attribute refers to the unit of measurement for setting margins and field sizes in a report. You can choose from the following:
Points
Inches
Centimeters
Pixels
width
The width attribute refers to the width (in units set by the unitTypeSelected attribute) of the part.
x
The x attribute represents the number of units from the left margin to indent the part.
y
The y attribute indicates the y coordinates for the element in a Report Free Form Line.
Last modified date: 01/29/2015