云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > Rave Report PDF and Intraweb

Rave Report PDF and Intraweb

  • 62 次阅读
  • 3 次下载
  • 2025/6/25 9:47:12

still pushed) some fields from the TreeView to the narrow white band of the

DataBand

the Rave Designer looks like this

To check that everything is correctly setup, we will preview the result:

type F9 to preview the result

an \

select \

the preview is displayed

And now the more important step before we leave the report, we must save this report layout in a .RAV file:

select \

a \

current Delphi project, like the path you used 3 weeks ago for another Rave Designer project

navigate to our Delphi folder and save the report, as, for instance,

R_EMPLOYEE.RAV

At this stage you can close the Rave Designer. Note however that this report is named \of theTreeView), as this name will be used later to build the .PDF file.

2.3 - PDF output report

Rave report has many possible outputs:

the printer, obviously ? a .PDF file ? a .RTF file

? and some other like .HTML, internal Rave format (layout+data) etc

?

To produce a .PDF report, the steps are the following:

go back to the Delphi project

drop a tRvSystem component on the Form.

Then

to produce a .PDF report file, in its DefaultDest property select rdFile ? to avoid the display of the \SystemSetups, click the + expand icon, and togglessAlowSetup to False

?

select RvProject1

select its Engine property and connect it to RvSystem1

? select its ProjectFile property, click the ellipsis ... and select the R_EMPLOYEE.RAV file

?

drop a tRvRenderPDF component, and toggle Active to True (this is the

default anyway)

drop a tButton on the Form, create its OnClick event, and type the following

code:

procedure TForm1.output_pdf_Click(Sender: TObject); begin with RvSystem1 do begin DoNativeOutput:= False; RenderObject:= RvRenderPDF1; OutputFileName:= 'my_report.pdf'; end; // with RvSystem1 RvProject1.Execute; end; // output_pdf_Click

compile, run, click \

the MY_REPORT.PDF is saved in the current directory (where the .EXE is)

click on the MY_REPORT.PDF file

Acrobat is loaded, and its content displayed:

3 - Intraweb Rave Report

3.1 - The Intraweb Project

Let's setup the basic Intraweb site. We will use a standalone project, which avoids the IIS configuration steps. Therefore:

create a new folder

start a new Intraweb project by selecting \| New | Other | Delphi Projects | Intraweb | Intraweb Application\

the Intraweb \

keep its default values (\Application\and \User Session\and in the \ save this project compile and run it

the project's Server is displayed type F9

the browser is displayed with an empty page

The firewall will eventually block the loading of the browser, but accepting this new page will unlock this

搜索更多关于: Rave Report PDF and Intraweb 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

still pushed) some fields from the TreeView to the narrow white band of the DataBand the Rave Designer looks like this To check that everything is correctly setup, we will preview the result: type F9 to preview the result an \ select \ the preview is displayed And now the more importan

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com