Professional Documents
Culture Documents
Applications
Jason Weathersby
BIRT Evangelist, Actuate Corp.
2006 by Author; made available under the EPL v1.0 | Date | Other Information, if necessary
Agenda
What is BIRT
Scripting BIRT
Deploying BIRT Reports
BIRT APIs
Extension Points
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
What Is BIRT?
2006 by Author; made available under the EPL v1.0 | Date | Other Information, if necessary
Eclipse
Report
Designer
Custom
Report
Designer
XML
Report
Design
Custom
Services
Data Transform.
Services
Charting
Services
Services
Presentation
Services
2Generation
Report Engine
Data
Report
Document
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
HTML
PDF
Print
XML
birt-report-framework-xyz
BIRT Designer Eclipse Plug-in
birt-rcp-report-designer-xyz
RCP Version of the BIRT Designer
birt-runtime-xyz
BIRT web application
report engine runtime and examples
chart engine runtime.
birt-charts-xyz
Stand alone chart engine plug-ins.
Samples
5
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
BIRT Designer
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
BIRT Views
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
BIRT Editor
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
10
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
Design
Engine
JavaScript Events
Paginated HTML
RptDesign
XML
Design File
Generation Phase
Presentation Phase
Report Engine
JDBC
XML
FlatFile
Scripted
11
optional
RptDocument
Report
Document
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
PDF
CSV
Scripting
BIRT JavaScript
Based on Mozilla Rhino
- This is Server Side Scripting not Browser Based Scripting
Two types of Scripting
Expression Scripts - Scripts that return a data value. Available
in the Expression Builder.
Element Scripts JavaScript methods that are called on
events. Customize the behavior of the Report. Available in the
Script view. Context of when the event occurs is important.
Both types have access to the same scripting objects.
12
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
Expression Scripting
13
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
14
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
Expression Scripts
Reference Objects
Data Set Columns
Parameter Values
Other Report Elements
Configuration variables
Constants
User-defined variable
15
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
Scripting Functions
16
String Functions
Date/Time Functions
Math Functions
Conversion Functions
Financial Functions
Statistical Functions
Aggregate Functions
User Created Functions
Java Code
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
Data Source/Set
beforeOpen
afterOpen
onFetch
beforeClose
afterClose
Presentation Phase
Report Level
beforeRender
afterRender
Report Element
onRender
Report Element
onPrepare
onCreate
17
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
Element Scripting
18
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
19
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
Deploying BIRT
BIRT Report Web Application
Standalone Web
Application for running and
viewing reports
Eclipse Plugin
J2EE AS
Delivered in birt-runtime as
Web Viewer Example
Web Viewer
Web Viewer
Java Application
ReportEngine
ReportEngine
ReportEngine
20
RptDesign
RptDesign
XML
RptDesign
XML
Design
File
XML
Design
File
Design File
RptDocument
RptDocument
Report
RptDocument
Report
Document
Report
Document
Document
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
21
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
BIRT Viewer
22
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
BIRT APIs
Report Engine API Loads and executes design files.
Design Engine API Creates and modifies report designs.
Charting API Builds and renders charts.
23
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
24
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
Engine API
EngineConfig
GetParameterDefinitionTask
RunAndRenderTask
DataExtractionTask
RunTask
RptDesign
RptDesign
XML
RptDesign
XML
Design
File
XML
Design
File
Design File
25
RenderTask
RptDocument
RptDocument
Report
RptDocument
Report
Document
Report
Document
Document
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
26
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
29
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
30
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
32
33
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
34
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
35
http://www.eclipse.org/birt
http://www.eclipse.org/birt/phoenix/examples
http://www.eclipse.org/birt/phoenix/ref
http://Birtworld.blogspot.com
Very active Newsgroup
Presentation Title | Presentation Subtitle | 2006 by Author; made available under the EPL v1.0
Q&A
2006 by Author; made available under the EPL v1.0 | Date | Other Information, if necessary