CharlieShen

新人,大家多关照啦@_@

  博客中心 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 登录 ::
  3994 随笔 :: 0 文章 :: 20 评论 :: 0 Trackbacks
Cached @ 2025/4/26 18:49:46Control ASP.skins_cogitation_controls_blogstats_ascx
<2007年11月>
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678

留言簿(14)

随笔档案

文章档案

搜索

最新评论

阅读排行榜

评论排行榜

Cached @ 2025/4/26 18:49:46Control ASP.skins_cogitation_controls_singlecolumn_ascx
 每个应用只需创建一个ReportEngine的实例

l         ReportEngine的构造函数要传入一个EngineConfig作为参数,如果参数为null,则一个默认值的ReportEngine被创建。

l         退出时,应用应该调用destroy()来卸载外挂以及删除临时文件

l         使用report engine有以下几个主要步骤:

a)         创建一个EngineConfig来设置report engine的选项

b)        创建一个ReportEngine类的实例

c)        你可以用这个对象去进行多种任务

d)        使用ReportEngine的一个openReport( )方法来打开一个report design文件

e)         使用IgetParameterDefinitionTask来获得report参数的信息

f)         使用IrunAndRenderReportTask运行并转换一个report到一个输出格式

g)        调用你的report enginedestroy( )方法

l         EngineConfigThe EngineConfig class wraps configuration settings for a report engine. It allows a developer to specify where to look for engine plug-ins and data drivers, and to add an application-wide scriptable object.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

l         IReportRunnable:为了使用report engine,你必须首先调用openDesign( )方法来打开report设计文件,这些方法返回一个IreportRunnable实例来代表report设计文件的engine’s view。使用IreportRunnable做以下任务:

a)         Get parameter data

b)        Get report title

c)        Get report author.

d)        Get images embedded within the report design

e)         Run the report

l         IEngineTask:该类提供一个管理脚本上下文以及report locales的框架,它从ReportEngine的工厂方法中创建,需要参数:IreportRunnable对象、a scripting context, and a locale

分享按钮发布于: 2007-11-02 16:53 CharlieShen 阅读(362) 评论(0)  编辑 收藏