ReportBuilder 9-16 wrapper for RichView
Version: 1.20
Requires:
  TRichView 15.5+

===================================================================

Installation:

1. Make sure that RichView and ReportBuilder are installed,
  and paths to their files are listed in Tools | Environment options,
  Library, Library paths.
2. 
  Packages for ReportBuilder # are in RB# folder, where # is from 9 to 15.
  Packages for ReportBuilder 15.x are in this folder.
  They must be installed afer installing TRichView and RB.
  Before installing a package for RB9-15, move it to this folder.
  We created packages not for all versions of Delphi.  
  If you have another version of Delphi, create a new package, add the pas-files in it, install.

3. Include ppRichView in "uses" of one of units of your project.
4. If you use older versions of ReportBuilder, comment the lines
  {$DEFINE REPORTBUILDER10}
  {$DEFINE REPORTBUILDER12}
  {$DEFINE REPORTBUILDER14}
  {$DEFINE REPORTBUILDER15}
  in ppRichView.pas and ppPDFRendererRV.pas
5. If you use ReportBuilder 11.x+, include ppPDFRendererRV in
  "uses" of one of units of your project.
6. If you use ReportBuilder 12.x+, include ppRTFRendererRV in
  "uses" of one of units of your project (probably, it works in older versions of ReportBuilder as well, not tested).
7. If you want to create a custom editor ("Edit" of popup menu),
  see the instructions in ppRichViewCustomEd.pas.
===================================================================
Enabling support for Pragnaan's ExportDevices
  (http://www.pragnaan.com)
1. Open ppRichView.pas, remove dot from the line
  {.$DEFINE RV_USE_PRAGNAAN}
2. If you use PRO version of TExportDevices, remove dot
  from the line
  {.$DEFINE RV_PRAGNAAN_PRO}
===================================================================
Notes about Pragnaan's TExportDevices
- export to RTF: if the global variable RVppsInRTFAsImages
  is False (default), TRichView is exported as RTF*.
  Otherwise, as Metafile images.
- export to PDF: TRichView is exported as Metafile images.
- export to Excel:
  - in standard version: TRichView is exported as RichText
  (TExportDevices convert it to plain text)
  - in pro version: if PsRBExcelSettings.RichTextEncodingType=rtPlainText,
   TRichView is exported as RichText (TExportDevices convert
   it to plain text). If it is equal to rtImage, TRichView is
   exported as metafile image (make sure that PsRBExcelSettings.IncludeImages
   is True)
- export to other devices: TRichView is exported as bitmaps.

Notes:
  *: RTFs created by TRichView are processed by TExportDevices,
  and many saved formatting properties are removed in the
  resulting RTF.
===================================================================
Enabling support for Waler's ExtraDevices
  (http://www.waler.com)
Uncomment {$DEFINE USERICHVIEW} in TXDEFS.pas; if there is no such
 define there, contact the ExtraDevices developer for updated version.
===================================================================
Enabling support for TrvHtmlImporter
  (http://www.trichview.com/resources/)
Remove dot from {.$DEFINE RV_USE_HTML} in ppRichView.pas
===================================================================
Enabling support for LLPDFLib
  (http://www.sybrex.com/)
Remove dot from {.$DEFINE RV_USE_LLPDFLIB} in ppRichView.pas
===================================================================


History:

v1.0 Initial: the wrapper is recreated for RB 9
v1.1 (2005-06-06) some fixes, InternalPixelsPerInch property
v1.2 (2005-10-19) Unicode property
v1.3 changes for working in sever mode; RichView v1.9.25+ is required
v1.4 (2006-10-22) option for formatting in printer resolution.
Details are in the ppRichView.pas comments.
v1.4.1 (2006-11-27) fix
v1.5 (2007-04-12) compatibility with RichView v1.9.37
v1.6 (2007-04-28) ability to use pages when the source report is destroyed
v1.7 (2007-08-21) saving and loading in report archive is fixed
v1.7.1 (2007-10-01) better loading archives saved in older versions
v1.7.2 (2008-02-16) fix
v1.8.2 (2008-09-28) compatibility with Delphi 2009 and RB11
v1.9 (2008-10-09) ability to use an external HTML importer, fix for HTML import
v1.9.1 (2008-10-21) fix
v1.10.0 (2009-05-07) PDF export in RB11
v1.10.1 (2010-01-21) fix in PDF export in RB11
v1.11 (2010-11-02) impr when the first line does not fit the page
v1.13 (2011-10-26) RTF export as a text box
v1.13.1 (2011-11-14) compatibility with RB14
v1.13.2 (2012-01-11) fix for RB14, compatibility with TRichView 13.6.3
v1.14 (2012-05-12) KeepTogether support. New toolbar icons
v1.14.1 (2012-07-01) fix: not storing document in DFM for ppDBRichView
v1.14.2 (2012-08-12) compatibility with TRichView 13.11
v1.15 (2012-09-14) compatibility with TRichView 13.13, ppDBRichView.OnGetText event
v1.15.1 (2013-02-27) compatibility with TRichView 14.1
v1.16 (2013-07-05) compatibility with ReportBuilder 15. Requires TRichView 14.6+
v1.16.1 (2013-08-08)
v1.16.2 (2013-09-23) ompatibility with ReportBuilder 15.01.
v1.17 (2013-09-23) compatibility with TRichView 14.13; memory leak in PDF generation
v1.18 (2015-05-18) compatibility with TRichView 15.5
v1.20 (2016-04-12) fix in RTF saving (when ppRTFRendererRV.pas is included in a project)