How to Develop an Application Using the Eclipse BIRT Design Engine API
Creating a customized report design application
Apr. 30, 2007 07:45 AM
Using an IReportRunnable Object To Access a Design Handle
How To Open a Report Design for Editing
Using a Report Item in a Report Design
A slot is a logical component of a report item. For example, a table element has five slots: Header, Detail, Footer, Groups, and Columns. In turn, each of these slots can have further slots. Each slot has zero or more members of the appropriate report item type. For example, the Header, Detail, and Footer slots all contain elements of the RowHandle type. RowHandle has a Cell slot that contains all the cells in the row. For a visual representation of the slots in an individual report item, see the Outline view in BIRT Report Designer.
Accessing a Report Item by Name
Accessing a Report Item by Iterating through a Slot
To access the top-level items in this report design, you iterate over the contents of the body slot handle. These contents all derive from DesignElementHandle. To access the iterator for a slot handle, call SlotHandle.iterator. Each call to Iterator.getNext( ) returns a report item. Alternatively, to access a report item at a known slot index, call SlotHandle.get(). The slot index number is zero-based. The ReportDesignHandle class also provides finder methods, which can access an item or other report element by name.
Reader Feedback: Page 1 of 1
SOA World Latest Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
SYS-CON Featured Whitepapers
Most Read This Week