Report Objects
Object Types
In IBM Cognos Report Studio, layout objects are either inline or block. You can insert other objects on the same line as an inline object, but not on the same line as a block object. When you insert an object to the left or to the right of a block object, the object appears on the line above or below the block object, respectively. Examples of inline objects include graphics and text items. Examples of block objects include any report type (list, crosstab, chart, map, or repeater) and tables.
You can also use an object's floating property to define how other objects flow around the object. For example, you can specify how text flows around an image.
Objects as Containers
Objects, such as tables, blocks, and any report frame, are containers in which you can insert other objects. For example, you can insert a list in one cell of a table and a chart in another.
You can also nest objects to create a sophisticated layout. For example, you can insert a table in a cell of another table.
Locking and Unlocking Objects
To manipulate the contents of some objects, you must first unlock the object. For example, you have a list that contains the column Product Name. You want to insert a graphic inside the Product Name column to show an image of each product. Unlocking the list allows you to insert the image object inside a list column.
Tip: From the Structure menu, click Lock Page Objects. Toggling this menu item locks and unlocks all layout objects in a report. However, this setting is not saved with the report.
Hierarchy of Objects
In IBM Cognos Report Studio, objects are organized hierarchically. For example, a list contains list columns, and each list column contains a text item, which is the name of the inserted data item.
The hierarchy of objects is useful to remember when you apply formatting because formatting is applied to the child objects of the object. For example, you can specify that all list column titles in a list have red as the background color. The formatting is automatically applied to any new columns you add to the list because the formatting is applied to the list and is therefore applied to the objects in the list. If you apply formatting to a specific object, it will override the same formatting specified for the parent object.