========== COMMON ==========
If you use freeware version (0.5), read the section
in the end of this file.

If you have another version of RichView Package installed,
you need to delete (archive) it.
If older version remains in paths where Delphi/CBuilder
search for components, you will not be able to compile/run
your applications with RichView properly.

Below are instructions how to install components, 
how to run demos, how to integrate help into IDE. 
(Help file is integrated with more or less completeness, 
 depending on version of Delphi/C++Builder)

========== Delphi 2 ==========

INSTALLING COMPONENTS
Components for Delphi 2 are in D2 directory.
Select menu "Component|Install" ("Install Components" dialog)
Push "Add" button and add unit
RVReg.
If your Delphi version supports database components, also add
DBRV.
DO NOT INSTALL OTHER UNITS!
Units have DCU extension in trial version, 
and PAS in registered one.
INSTALLING HELP
- Copy RichView.hlp and RichView.cnt to HELP directory of Delphi.
- Delete all *.GID files form HELP directory of Delphi (these files are hidden!)
- Open Delphi.cnt and append three lines to it:
:Link RichView.hlp
:Include RichView.cnt
:Index RichView=RichView.hlp
Now you have "RichView Components" node in main tree of Delphi Help system, 
and can explore help beginning from it. 
But index of help is not integrated into Delphi Help, and 
you can't receive context help on RichView properties. 
To read index of RichView Help, open RichView.hlp. 
Sorry, help is not fully integrated into Delphi2. 
DEMOS
First demo project: Demos\MultiDemo\RVDemoD2.dpr
Second demo project: Demos\Editor\RVEditD2.dpr
Tutorials: Demos\Tutorial\

========== Delphi 3 ==========

INSTALLING COMPONENTS
Components for Delphi 3 are in D3 directory.
IMPORTANT: 
(=problem description=) 
  There is a problem in Delphi 3 with packages 
which use jpeg.dcu unit (as RVPkgD3.dpk does).
Jpeg unit is not included in any package by default. 
If any package uses this unit, unit includes in it implicitly. 
When second package tries to use it, Delphi says what jpeg unit 
is already implicitly contained in first package, and do not want 
to install second one. 
Moreover, when such thing happens, you will not be able to install 
second package any more, even if you set correct dependencies manually 
(you will be need to delete all compilation result files for packages 
manually, or install new package under new name).
(=what to do=)
The recommended way is to create new package with jpeg unit, install it and 
"say" what all packages which uses jpeg unit require this package.
(a)If you have no third-party packages which use jpeg unit, 
  first open JpegD3.dpk package from D3 directory of RichView 
  (menu "File|Open") and click "Install" button in package window 
  (this package contains only standart jpeg unit).
  Open RVPkgD3.dpk (menu "File|Open") and click "Install" button in package window. 
  You can see what this package requires JpegD3 package 
  (click on "Requires" tab on package window).
  If your version of Delphi supports database components, 
  repeat the steps above with RVDBPkgD3.dpk.
(b)If you have third-party package which already uses jpeg unit, please
 - uninstall this package 
   (menu "Component|Install Packages",
   select this package and click "Remove" button)
 - install JpegD3.dpk (see above)
 - open these old package and make it to require JpegD3 package 
   (click on "Requires" tab on package window, then click on "Add" 
   button in toolbar and add JpegD3.dcp from D3 directory of RichView
 - install RVPkgD3.dpk (see above)
 - if your version of Delphi supports database components, 
   install RVDBPkgD3.dpk.
INSTALLING HELP
 - Copy RichView.hlp and RichView.cnt to HELP directory of Delphi
 - Open Delphi3.cfg in HELP directory of Delphi, and add line:
:Link RichView.hlp
 - Open Delphi3.cnt in HELP directory of Delphi 
  (it's possible what you need to use wordpad or other text editor 
   without file size limitation), and add two lines: 
:Include RichView.cnt
:Index RichView=RichView.hlp
 - delete all *.gid files from HELP directory of Delphi (these files are hidden!)

DEMOS
First demo project: Demos\MultiDemo\RVDemoD3.dpr
Second demo project: Demos\Editor\RVEditD3.dpr
Tutorials: Demos\Tutorial\

========================= Delphi 4 ===============================

INSTALLING COMPONENTS
  Components for Delphi 4 are in D4 directory.
  Open RVPkgD4.dpk (menu "File|Open") and click "Install" button 
in package window. 
  If your version of Delphi supports database components, 
repeat the steps above with RVDBPkgD4.dpk.
INSTALLING HELP
- Copy RichView.hlp and RichView.cnt to HELP directory of Delphi
- Open Delphi4.cfg in HELP directory of Delphi, and add line:
:Link RichView.hlp
- Open Delphi4.cnt in HELP directory of Delphi, and add lines:
:Include RichView.cnt
:Index RichView=RichView.hlp
- delete all *.gid files from HELP directory of Delphi (these files are hidden!)
DEMOS
First demo project: Demos\MultiDemo\RVDemoD4.dpr
Second demo project: Demos\Editor\RVEditD4.dpr
Tutorials: Demos\Tutorial\

========================= Delphi 5 ===============================

INSTALLING COMPONENTS
  Components for Delphi 5 are in D5 directory.
  Open RVPkgD5.dpk (menu "File|Open") and click "Install" button 
in package window. 
  If your version of Delphi supports database components, 
repeat the steps above with RVDBPkgD5.dpk.
INSTALLING HELP
- Copy RichView.hlp and RichView.cnt to HELP directory of Delphi
- Open Delphi5.ohi in HELP directory of Delphi, and add line:
:Index RichView=RichView.hlp
- Open Delphi5.ohl in HELP directory of Delphi, and add line:
:Link RichView.hlp
- Open Delphi5.ohc in HELP directory of Delphi, and add line:
:Include RichView.cnt
- delete all *.gid files from HELP directory of Delphi (these files are hidden!)
DEMOS
First demo project: Demos\Demo\RVDemoD5.dpr
Second demo project: Demos\Editor\RVEditD5.dpr

===================== C++Builder1 ===============================

INSTALLING COMPONENTS
  Components for C++Builder 1 are in CB1 directory.
  Select menu "Component|Install" ("Install Components" dialog)
  Push "Add" button and add unit
RVReg
  If your C++Builder version supports database components, also add
DBRV
  DO NOT ADD OTHER UNITS!
  Units have OBJ extension in trial version, and PAS in registered one.
Note: it may be necessary to edit include- and library- paths manually, 
if your C++Builder can't find *.inc or *.obj files. 
Add path to components' directory to:
- menu "Options|Environment", "Library" tab, 
  "Include path" and "Library path"
- menu "Options|Project", "Directories/Conditionals" tab, 
  "Include path" and "Library path"
INSTALLING HELP
- Copy RichView.hlp and RichView.cnt to HELP directory of C++Builder
- Open Bcb.cnt in HELP directory of C++Builder, and add three lines to it:
:Link RichView.hlp
:Include RichView.cnt
:Index RichView=RichView.hlp
- delete all *.gid files from HELP directory of C++Builder (these files are hidden!)
DEMOS
First demo project: Demos\MultiDemo\RVDemoCB1.mak
Second demo project: Demos\Editor\RVEditCB1.mak
Only pascal demo-files available.
Tutorials: Demos\Tutorial\ (read Demos\Tutorial\tutorial.txt)

======================== C++Builder 3 ============================

INSTALLING COMPONENTS
  Components for C++Builder 3 are in CB3 directory.
  Open RVPkgCB3.bpk (menu "File|Open").
  If your version of C++Builder supports database components, 
add DBRV unit (.pas or .obj) into this package (menu "Project|Add To Project").
  If C++Builder asks to VCLDB35 package to list of required packages, 
press "OK" button.
  If C++Builder does not ask to do it,  but generates 
error messages when compiling instead, 
open RVPkgCB3.cpp and add line:
USEPACKAGE("vcldb35.bpi");
  Compile it.
  Click menu "Component|Install Packages" ("Project Options:Packages" dialog),
  Push "Add" button and install RVPkgCB3.bpl.
  If C++Builder does not ask for vcldb35, and you can't see 
TDBRichView and TDBRichViewEdit on the component palette, 
open RVPkgCB3.cpp and change line:
USEOBJ("Dbrv.obj");
to
USEUNIT("Dbrv.pas");
Compile.

Note: If C++Builder says what it can't find dclstd35.lib 
(when installing component or compiling demos), please copy dclstd35.bpi 
from LIB directory of your C++Builder to dclstd35.lib (to the same directory).
Note: it may be necessary to edit include- and library- paths manually, 
if your C++Builder can't find *.inc or *.obj files. 
Add path to components' directory to:
- menu "Tools|Environment Options", "Library" tab, 
  "Library path"
- menu "Project|Options", "Directories/Conditionals" tab, 
  "Include path" and "Library path"
INSTALLING HELP
- Copy RichView.hlp and RichView.cnt to HELP directory of C++Builder
- Open Bcb3.cnt in HELP directory of C++Builder, and add three lines to it:
:Link RichView.hlp
:Include RichView.cnt
:Index RichView=RichView.hlp
- delete all *.gid files from HELP directory of C++Builder (these files are hidden!)
DEMOS
First demo project: Demos\MultiDemo\RVDemoCB3.bpr
Second demo project: Demos\Editor\RVEditCB3.bpr
Only pascal demo-files available.
Tutorials: Demos\Tutorial\ (read Demos\Tutorial\tutorial.txt)

======================== C++Builder 4 ============================

INSTALLING COMPONENTS
  Components for C++Builder 4 are in CB4 directory.
  Open RVPkgCB4.bpk (menu "File|Open") 
and click "Install" button in package window.
  If your version of C++Builder supports database components, 
repeat the steps above with RVDBPkgCB4.bpk.
Note: it may be necessary to edit include- and library- paths manually, 
if your C++Builder can't find *.inc or *.obj files. 
Add path to components' directory to:
- menu "Tools|Environment Options", "Library" tab, 
  "Library path"
- menu "Project|Options", "Directories/Conditionals" tab, 
  "Include path" and "Library path"
INSTALLING HELP
- Copy RichView.hlp and RichView.cnt to HELP directory of C++Builder
- Open Bcb4.cfg in HELP directory of C++Builder, and add line:
:Link RichView.hlp
- Open Bcb4.cnt in HELP directory of C++Builder, and add lines:
:Include RichView.cnt
:Index RichView=RichView.hlp
- delete all *.gid files from HELP directory of C++Builder (these files are hidden!)
DEMOS
First demo project: Demos\Demo\RVDemoCB4.bpr
Second demo project: Demos\Editor\RVEditCB4.bpr
Only pascal demo-files available.
Tutorials: Demos\Tutorial\ (read Demos\Tutorial\tutorial.txt)

======================== C++Builder 5 ============================

INSTALLING COMPONENTS
  Components for C++Builder 5 are in CB5 directory.
  Open RVPkgCB5.bpk (menu "File|Open") 
and click "Install" button in package window.
  If your version of C++Builder supports database components, 
repeat the steps above with RVDBPkgCB5.bpk.
Note: it may be necessary to edit include- and library- paths manually, 
if your C++Builder can't find *.inc or *.obj files. 
Add path to components' directory to:
- menu "Tools|Environment Options", "Library" tab, 
  "Library path"
- menu "Project|Options", "Directories/Conditionals" tab, 
  "Include path" and "Library path"
INSTALLING HELP
- Copy RichView.hlp and RichView.cnt to the HELP directory of C++Builder
Run C++Builder.
Click menu "Help|Customize...". You'll see Borland OpenHelp Window.
Click the tab "Contents", then "Add files" button and add "RichView.cnt".
Click the tab "Index", then "Add files" button and add "RichView.hlp".
Click the tab "Link", then "Add files" button and add "RichView.hlp".
Click OpenHelp menu "File|Save project".
DEMOS
First demo project: Demos\MultiDemo\RVDemoCB5.bpr
Second demo project: Demos\Editor\RVEditCB5.bpr
Only pascal demo-files available.
Tutorials: Demos\Tutorial\ (read Demos\Tutorial\tutorial.txt)

===== FOR USERS OF FREEWARE VERSION (0.5): =====
You can't use both freeware and shareware version
on the same Delphi and C++Builder instance.
If you have old freeware version, please uninstall it
before installing shareware one (and remove it from 
directories where Delphi/C++Builder searchs for 
components).
You can try your existing projects with this version 
of RichView, but read "Compatibility with older versions 
of RichView" topic of RichView help before. Please save 
original code of these projects (old freeware version 
could not be able to load projects saved with new one, 
and you can decide to return to old version).