PrintDecisionGrid readme file
Copyright 1998-2002, by Alexander Mokrushin

Table of contents:
------------------------------------
Part 1 - Description
Part 2 - Legal stuff
Part 3 - Files included
Part 4 - Installation
Part 5 - About author

Part 1 - Description
------------------------------------
PrintDecisionGrid is advanced descendant of standard TDecisionGrid with ability to print / print-preview report pages.
It is native Delphi 3, 4, 5 or 6 Client/Server Suite component.
Since version 3.5 PrintDecisionGrid component is adopted to be used in C++Builder 5 too.
PrintDecisionGrid doesn't need any additional printing tool to do this work. 
Now you shouldn't use Form.Print method to print DecisionGrid - there's a special component, which can print large crosstab reports very quickly and accurately!

PrintDecisionGrid allows you
  - to print report (available in design-time)
      all the cells of grid are automatically distributed among horizontal and vertical pages
  - to preview report pages in special PreviewForm (available in design-time)
      you can navigate through pages in both horizontal and vertical directions
  - to adjust "best" column width
      so all the cells' strings will be entirely visible
  - to set page margins
      Left, Top, Right, Bottom (in millimeters)
  - to define in your report title and subtitle      
      this is optional additional information about query result in grid
  - to switch on/off color in your report
      so you can save printer toner
  - to use your own Print-Preview forms
      you just have to place on your modal form special "TPDGPreview" component and
      specify "OnPreviewReport" Grid's Event
since version 2.0 
  - to set Header and Footer on each report page
      you can customize their text using static text and predefined parameters
      (such as "Page Index", "Number of Pages" etc.) in Design Time
      and a special event in Run Time.
  - to duplicate FixedColumns and FixedRows on each horizontal/vertical page
      so your End-User will read more understandable printing output
  - to vary size of cells in report using ReportScalePercent property
      initial value 100% means that Grid cells and text strings will have
      on paper the same size, they have on screen
  - to add in report your own text or pictures
      using special "OnReportPrintPage" Grid's event
  - to switch on/off various report options (such as "need print Title")
      using special ReportOptions set property
  - to copy data from cells to clipboard (available in design-time)
since version 3.0 
  - to generate HTML Report 
      you can produce web presentation your DecisionGrid as well as paper presentation!
since version 4.0 
  - to export DecisionGrid's cross-tabular data to the most popular spreadsheet 
      application Microsoft Excel, version 95 and later.

Part 2 - Legal stuff
------------------------------------
The PrintDecisionGrid Delphi 3, 4, 5 or 6 (Client/Server Suite edition) native 
component is released as "shareware program".
Evaluation copy if distributed for free.
You may use PrintDecisionGrid in any commercial application ONLY afreg
registration.
Source code will be shipped you with registration.
Registration fee: a single license costs $68.
To obtain more information about registration procedure please see REGISTER.TXT file.

Once registered you may distribute any application that includes this component
with no additional royalties beyond your initial license registration fee.
You may NOT distribute the PrintDecisionGrid source, if purchased,
to any other individual or company.
For full text of licence agreement see LICENSE.TXT file.

Part 3 - Files included
------------------------------------
Design-time/Run-time Packages:
  BIN\PDGDSGN.DPL (or BPL)     - design time package
                                 (place it to your Delphi \BIN directory)
  LIB\PDGRUNTM.DCP (or BPI)    - part of run time package
                                 (place it to your Delphi \LIB directory)
  SYSTEM\PDGRUNTM.DPL (or BPL) - run time package
                                 (place it to this demo project directory
                                  or to Windows system directory)

Component units and forms (place them all to your Delphi \LIB directory)
  LIB\PRNDGRID.DCU    - main PrintDecisionGrid component unit
  LIB\PDGPVIEW.DCU    - form unit with print preview component
  LIB\PDGPVIEW.DCR    - component resource
  LIB\DEFPVIEW.DCU    - default print preview form unit
  LIB\DEFPVIEW.DFM    - default print preview form resource
  LIB\DGABOUT.DCU     - about dialog unit
  LIB\DGABOUT.DFM     - about dialog form resource
  LIB\DGIMAGES.RES    - resource file with images, which appears in print preview form
  LIB\DGSTRNGS.DCU    - all string constants used in this component
  LIB\DGUTILS.DCU     - some internal routines
  LIB\REGFRM.DCU      - registration dialog unit
  LIB\REGFRM.DFM      - registration dialog form resource
  LIB\PDGXls.dcu      - Export to Excel component
  LIB\xlconst.dcu     - Export to Excel internal routines

Resource files for different languages
  RES\                - this directory contains DGSTRNGS.PAS (all strings used in this component)
                        for different languages

Demo project source files
  PDG\Demo.dpr
  PDG\Demo.res
  PDG\Main.dfm
  PDG\Main.pas
  PDG\SimpView.dfm
  PDG\SimpView.pas
  PDG\Demo.bpr
  PDG\Demo.cpp

Help and manual files
  README.TXT          - this file
  Help\PRNDGRID.HLP        - PrintDecisionGrid help file
  REGISTER.TXT        - information about registration
  LICENSE.TXT         - licence agreement

Part 4 - Installation
------------------------------------
1. Place PDGDSGN.DPL (or BPL) to your Delphi \BIN directory
    (this is design time package).
2. Place all the files from "LIB" directory to your Delphi \LIB directory
    (they are part of run time package and component units and forms).
3. Place PDGRUNTM.DPL (or BPL) to your Windows system directory
    (this is run time package).
4. Run Delphi IDE.
5. Choose "Component\Install Packages..." item, press button "Add", and find
     PDGDSGN.DPL (or BPL) package file.

If everything was made correct - the message box will be shown "Components
PrintDecisionGrid and TPDGPreview were added" and now you can see icons in
"Decision Cube" component page.

Part 5 - About author
------------------------------------

Alexander Mokrushin

E-mail:
  malexm@bigfoot.com

Web:   
  http://www.bigfoot.com/~malexm

For more information see Help (Help\PRNDGRID.HLP).