=====================================
= RichView Controls for QuickReport =
=====================================
About
=====
QRRichview / QRDBRichview are components for printing RichView documents with QuickReport.
Copyright (c) 2005-2011 Henk van Bokhorst / IVS Systemhouse B.V. and QBS Software. All rights reserved.
Website (TRichView and this component): www.trichview.com
Website (QuickReport): www.quickreport.co.uk
E-mail (regarding this component): qrrvwrapper@xs4all.nl
Website of my company (dutch, does not contain information about this component): www.ivs-systemhouse.nl
These components are freely distributable in source form provided all copyrights and acknowledgements remain intact. The author would also appreciate receiving notification of all changes, improvements or additions made to these components.
If you like these components, you can show me your appreciation by sending me a postcard of your town / country with a nice stamp. You can send it to:
Henk van Bokhorst
Ibislaan 2
NL-3871 TA Hoevelaken
The Netherlands
These components are developed and tested using Delphi 7, Delphi 2007 and Delphi 2010 in combination with QuickReport 4 and 5 (Professional). It should be compatible with QuickReport 3.6 Professional. It seems not to be compatible with older versions / standard versions of QuickReport, but maybe you can make it compatible. I don't know if it is compatible with other versions of C++ builder or Delphi. And of course you will need RichView...
[Update by Sergey Tkachenko]: This wrapper is also compatible with Quickreport 6.
Installation
============
[Update by Sergey Tkachenko]: the original text of this chapter was removed.
Since December 2018, these controls are included in the main TRichView setup, and they are installed automatically if Quickreport 6 is already installed.
If you need to support older versions of Quickreport, let me know.
Usage
=====
Create a new QuickReport and drop a QR(DB)RichView component on it. For QRRichview, use one of the Load* methods (see below) to load the data you want to print or use the Text property. For QRDBRichview, assign the DataSet and DataField property to the correct set / field. That's it!
You can also check the demo applications.
Note: The component renders the data as a metafile before printing. When printing directly this gives excellent results, since the metafile is rendered using the printer resolution. However, when you use the preview, the metafile is rendered using the screen resolution. When you print from within the preview, the document is not rendered again, so the quality (although still acceptable) is not optimal. This is by the way a common 'feature' of QuickReport 4.
Properties
==========
The following properties are available (apart from the standard QRPrintable properties).
AutoPages (default True) and AutoStretch (default True): AutoStretch does exactly what you would expect using QuickReport: It stretches the band to fit the complete document (which can of course result in getting more than one page). AutoPages can be used if you don't want to use AutoStretch, but you want to print the report completely, creating more pages if necessary. In this case, you decide the exact dimensions of the QRRichView component on the QuickReport (the component and band are not stretched). If this space is not big enough to hold the document, a new page follows with on the same location and with the same dimensions the next part of the document etc, until the full document is printed. If AutoStretch is True, AutoPages is automatically set to True, since of course enough pages are created to hold the component). If AutoPages and AutoStretch are both False, only that part of the document is printed that fits.
ColorMode (default rvcmPrinterColor): Derived from TCustomRVPrint, possible values:
- rvcmColor: Color output.
- rvcmPrinterColor: Color output, but clWindow is changed to clWhite, clWindowText is changed to clBlack.
- rvcmGrayScale: Colors are converted to shades of gray.
- rvcmBlackAndWhite: Paragraph background is not printed; text is printed black on white or white on black depending on what is darker.
- rvcmBlackOnWhite: Paragraph background is not printed; text is printed black on white.
TransparentBackground (default False): Derived from TCustomRVPrint; If set to True, background will not be printed.
NoMargins (default False): When True, the (top, left, right, bottom) margins of your document are ignored, so it fits the component completely. This makes it easy to align it with other QuickReport components.
DataSet / DataField (only for QRDBRichview): To assign the table / field which contains the RVF or RTF data (the component supports these two formats).
Text (only for QRRichview): Here you can (in design-time) load a RVF or RTF file, which is then stored into the form. Of course, this is not the preferred method for large documents, since it will bloat your application.
Methods
=======
The following methods are available for QRRichview (apart from the standard QRPrintable methods).
function LoadRVFFile(FileName: string): boolean. To load a file that has the RichView Format. True if function succeeds.
function LoadRTFFile(FileName: string): boolean. To load a file that has the Rich Text Format. True if function succeeds.
function LoadRVFStream(Stream: TStream): boolean. To load a stream that contains text in the RichView Tormat. True if function succeeds.
function LoadRTFStream(Stream: TStream): boolean. To load a stream that contains text in the Rich Text Format. True if function succeeds.
QRDesign
========
Note: I did not test or check the QRDesign units, they are created and tested by QBS Software. You can find them in the QRDesign folder.
They gave the following instructions to use the components with QRDesign.
1. Build a QRDesign application or use an exiting one.
2. Add qrd3rdpartycontrol_TRichView to the 'uses' clause of the main form.
3. Add qrd3rdpartycontrol_TRichView.pas to the project.
4. Build the project.
The wrapper will require the source of TRichView and RVQRCtrls.pas to be available, so add the directory of this source to the project search path ( Project / Options menu, Directories&Conditionals tab).
That is all that is required, and the QRRichView will appear on the QRDesign editor toolbar.
To install the DB version add 'qrd3rdpartycontrol_TDBRichView' to the project and repeat these steps.
History
=======
Version 1.00 (2005/06/17)
- First release
Version 1.01 (2005/07/22)
- Made compatible with QuickReport 3.6 and higher (thanks to Eike Hoffmann)
- Included CB6 package and demo (thanks to / made by Eike Hoffmann)
- Bug solved: When the text was divided over several pages, and on the first page there were other components printed before the QRRichView, the top of the QRRichView on subsequent pages was too low.
- Bug solved: The component did not take the non-printable area of a printer into account, therefore the RichView text was printed too far to the right and bottom on most printers, and did therefore not align with other QuickReport components.
Version 1.02 (2005/07/26)
- Bug solved: When you only wanted to print a subrange, not starting with page 1, the text appeared too small on the paper.
Version 1.03 (2005/07/27)
- Bug solved: It was remarkable that on most occasions the last page was printed correctly...
Version 1.04 (2005/07/29)
- Bug solved: Images, lines etc. weren't scaled correctly on the print.
- You can now print to all kinds of printers, no 'out of memory'-errors any more when using postscript printers / faxes etc.
Version 1.05 (2005/08/17)
- Bug solved: Sometimes the last line was not printed completely (thanks to Sergey Tkachenko).
Version 1.06 (2006/02/11)
- Included Delphi 2006 package and demo (thanks to / made by Ralf B�hler).
Version 2.00 (2007/09
没有合适的资源?快使用搜索试试~ 我知道了~
Delphi 12 控件之TRichView-22.1.0 D4-D12 & Lazarus.zip
共2000个文件
cpp:1556个
h:357个
xml:48个
需积分: 5 2 下载量 94 浏览量
2024-11-07
23:10:30
上传
评论
收藏 68.25MB ZIP 举报
温馨提示
TRichView_22.1.0 D4-D12 & Lazarus.zip
资源推荐
资源详情
资源评论
收起资源包目录
Delphi 12 控件之TRichView-22.1.0 D4-D12 & Lazarus.zip (2000个子文件)
UnitUnicode1.cpp 22KB
Unit1.cpp 20KB
UnitUnicode1.cpp 18KB
Unit1.cpp 14KB
TEMainFrm.cpp 12KB
Unit1.cpp 12KB
Unit1.cpp 11KB
Unit1.cpp 11KB
Unit1.cpp 9KB
Unit1.cpp 9KB
Unit1.cpp 7KB
Unit1.cpp 7KB
Unit1.cpp 7KB
Unit1.cpp 6KB
Unit1.cpp 6KB
Unit1.cpp 5KB
Unit1.cpp 5KB
MMMainFrm.cpp 5KB
Demo2Frm.cpp 5KB
MMMainFrm.cpp 5KB
Unit1.cpp 5KB
Unit1.cpp 5KB
Unit1.cpp 4KB
Unit1.cpp 4KB
MMMainFrm.cpp 4KB
Unit1.cpp 4KB
MMMainFrm.cpp 4KB
Unit1.cpp 4KB
Unit1.cpp 4KB
Demo5Frm.cpp 4KB
RichViewActionsCB12.cpp 4KB
RichViewActionsCB11.cpp 4KB
RichViewActionsCB10_4.cpp 4KB
RichViewActionsCB10_3.cpp 4KB
Unit1.cpp 4KB
Unit2.cpp 4KB
Unit1.cpp 4KB
MainFrm.cpp 4KB
RichViewActionsCBXE.cpp 3KB
RichViewActionsCB2009.cpp 3KB
RichViewActionsCB2010.cpp 3KB
RichViewActionsCBXE2.cpp 3KB
RichViewActionsCBXE5.cpp 3KB
RichViewActionsCBXE6.cpp 3KB
RichViewActionsCB10_2.cpp 3KB
RichViewActionsCB10_1.cpp 3KB
RichViewActionsCBXE7.cpp 3KB
RichViewActionsCBXE4.cpp 3KB
RichViewActionsCB10.cpp 3KB
RichViewActionsCBXE3.cpp 3KB
RichViewActionsCBXE8.cpp 3KB
Unit1.cpp 3KB
Unit1.cpp 3KB
Unit1.cpp 3KB
PopupFrm.cpp 3KB
RichViewActionsCB6.cpp 3KB
Unit1.cpp 3KB
TEMainFrm.cpp 3KB
Unit1.cpp 3KB
Unit1.cpp 3KB
Demo1Frm.cpp 3KB
Unit1.cpp 3KB
TEMainFrm.cpp 3KB
PreviewFrm.cpp 3KB
Unit1.cpp 3KB
Demo3Frm.cpp 3KB
Demo4Frm.cpp 2KB
TEMainFrm.cpp 2KB
Unit1.cpp 2KB
Unit1.cpp 2KB
Unit1.cpp 2KB
dmActionsVirtualImageListsCPP.cpp 2KB
Unit1.cpp 2KB
Unit1.cpp 2KB
Unit1.cpp 2KB
Unit1XE2.cpp 2KB
Unit1.cpp 2KB
Unit1.cpp 2KB
Unit1.cpp 2KB
Demo6Frm.cpp 2KB
Unit1.cpp 2KB
Demo7Frm.cpp 2KB
Unit1.cpp 2KB
Unit1.cpp 2KB
RVDemo.cpp 2KB
ActionTestCB10_3.cpp 2KB
ActionTestCB10_4.cpp 2KB
ActionTestCB11.cpp 2KB
ActionTestCB12.cpp 2KB
Unit1.cpp 1KB
ActionTestCB2009.cpp 1KB
ActionTestCBXE2.cpp 1KB
PopupFrm.cpp 1KB
ActionTestCB6.cpp 1KB
ActionTestCBXE5.cpp 1KB
ActionTestCB2006.cpp 1KB
ActionTestCB10_4.cpp 1KB
ActionTestCBXE8.cpp 1KB
ActionTestCB10_3.cpp 1KB
ActionTestCBXE4.cpp 1KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
tjsoft
- 粉丝: 396
- 资源: 732
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 第七章:循环控制语句 包含循环写星星 循环写乘法表 循环累加计算
- 图神经网络进行视频字幕的动作知识
- BLE蓝牙单片机CC2540、CC2541带OSAL操作系统的例程-蓝牙从机广播功率配置修改.zip
- BLE蓝牙单片机CC2540、CC2541带OSAL操作系统的例程-看门狗WachDog例程.zip
- chapter7-Pandas数据分析实战.zip
- Python电影票售票系统
- BLE蓝牙单片机CC2540、CC2541带OSAL操作系统的例程-封装蓝牙模块AT指令.zip
- BLE蓝牙单片机CC2540、CC2541带OSAL操作系统的例程-对蓝牙传输的数据进行加密、解密传输.zip
- BLE蓝牙单片机CC2540、CC2541带OSAL操作系统的例程-串口双工收发.zip
- BLE蓝牙单片机CC2540、CC2541带OSAL操作系统的例程-按键操作.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功