Reports Information : Parts Reference : Report Time Field : Report Time Field attributes
Report Time Field attributes
The Report Time Field part has the following attributes associated with it:
object
self
string
width
x
 
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.
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.
fontName
The fontName attribute is the name of the font to use for the text displayed in the part.
foregroundColor
The foregroundColor attribute is the name of the RGB color for the foreground of the part.
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.
object
The object attribute refers to the contents of the part. Use this attribute to retrieve or set, for example, the title, date, or page number of a report. This attribute is often confused with theself and string attributes. The self attribute refers to the part itself, rather than the value it holds; and the string attribute refers to a string representation of the contents of the part. Most of time when you want to retrieve or alter the contents of a part, you need to use the object attribute.
self
The self attribute represents the part itself, and you cannot change the basic definition of a part. In general, the self attribute is a read-only attribute, and is used for passing a value or values to another part. It is not used for receiving any values.
For example, you can connect the self attribute of an Ordered Collection part to the items attribute of a List part. The Ordered Collection part does not change to a different type of part because of the connection. Instead, the Ordered Collection part populates the List part with the items that it contains.
You can use the self attribute in an attribute-to-attribute connection, as a parameter in an event-to-action connection, or wherever an attribute can be used.
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
string
The string attribute is the string representation of the data for the part.
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.
Last modified date: 01/29/2015