l 應用開發者只需要了解公用的API,這些API包含在以下的幾個包內:
a) org.eclipse.birt.report.model.api:這個包內包含了93個class,兩個接口和一個exception,這個包是為那些想要定制report designer的開發者使用的
b) org.eclipse.birt.report.engine.api:這個包包含了一個類,17個接口和四個exception,是給那些想要定制一個report generator的開發者使用的
c) org.eclipse.birt.chart hierarchy:這個包是給想定制一個chart generator的開發者使用的
l BIRT report engine在幾個環境提供了報表生成和翻譯服務,包含以下組件:
a) Stand-alone engine:這個engine可以讓開發者使用一個命令行程序來從一個report design文件(.rptdesign)中得到Html或PDF格式的report
b) BIRT report viewer:BIRT Report Designer使用它來預覽report。這個程序是一個web程序,它運行在一個Eclipse內嵌的Tomcat中,這個Tomcat中有一個內嵌的report engine
c) Custom report designer with an embedded engine:一個定制的桌面報表應用集成BIRT report engine來預覽報表
d) Web application that embeds the engine:一個類似于BIRT report viewer的Web程序,可以產生基于web的報表。
l Report engine的核心engine運行并實施報表,而將其他的環境相關的任務留給運行該引擎的應用程序,比如:URL construction, image storage, and design file caching
l BIRT report engine的API可以做以下幾件事情:
a) 發現一組為報表定義的參數
b) 獲得參數的默認值
c) 運行報表產生HTML或PDF格式的輸出
d) 為報表產生圖片或chart