Select a Breakdown Structure type, for example: Consolidated
Breakdown Structure. All activities and descriptors are shown in Consolidated
Breakdown Structure, while only Activities and Task Descriptors are
shown in Work Breakdown Structure.
Check the attributes that will be used in the report, for
example: GUID, Index, Presentation Name, Predecessor, Model Info,
Type, Deep Level and so on.
Preview the result of the data set to make sure that all
required data is included.
Create a table binding the date set in the report.
In the table Header, insert labels for the attribute names.
In the Detail Row, insert Dynamic Text to represent the data. For example:
To improve the appearance of the report, customize the
format in various ways, such as specifying fonts, setting styles for
table cells, and adjusting the width of table columns. For more information
about changing the format of a report, see the BIRT Report Developer
Guide.
Hide the last column, “depth_level,” so that it is not
shown in the report. We will use this column for another purpose.
In the Visibility Tab of the Property View, select this column and
check Hide Element.
To highlight elements in different depth levels, in the
table select the Detail Row, and in Property View add highlight rules.
For example, a highlight rule looks similar to the following:
JavaScript can be used to
indent child descriptors in the table. Select the Dynamic Text “row[“presentationName”]”,
switch from the Layout tab to the Script tab,
change the Script to onRender,
then add the following script. This adds white space before PresentationName based
on the depth level.
Preview this report. The process WBS
looks similar to this: