SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 70 | Next

John Ward

"Practical Data Analysis and Reporting with BIRT"


5. Now, we have a list of methods we can use with the string "Good-Bye
World". Make sure the cursor is after the period that was added after the
"Good-Bye World" text. In the third list box, find and double-click on the
toUpperCase() : String item. When you do that, you will notice that the
method will get added to where the cursor is located.
6. Hit OK, and Preview the report.
Chapter 4
[ 63 ]
In the finished report, the string "Good-Bye World" now reads "GOOD-BYE
WORLD". This is a useful component when you need to perform operations on data
values, perform calculations, and do a few other things that would require dynamic
and calculation-driven text. There are properties of components that can do similar
things, such as Maps and Highlights that can perform dynamic text substitutions,
enumerate data values, and change formatting of text based on certain conditions.
We will discuss these elements in depth later in the book.
Adding Grids
The Grid component is used to visually arrange components in a BIRT report, in a
particular layout. BIRT is not a pixel-perfect Report Design environment. In terms
of visual arrangement of elements on a page, BIRT is very similar to static HTML.
As such, the way to arrange elements in BIRT reports is to use elements such as the
Grid, the Table, and the List.


Pages:
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82