`
chenp1111
  • 浏览: 239611 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

理解report engine API

阅读更多
应用开发者只需要了解公用的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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics