理解report engine API

论坛 期权论坛 脚本     
匿名技术用户   2020-12-29 00:15   64   0
应用开发者只需要了解公用的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
分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP