FastReport ExportFilters version 3.0 User’s Manual

FastReport ExportFilters version 3.0

Export Filters for FastReport

User’s Manual


Table of Contents

Introduction 3

Installation – Trial Edition 4

Installation – Registered Edition 5

Re-Compiling/Re-Installing through Batch Files - Registered Edition 6

Re-Compiling/Re-Installing Manually - Registered Edition 10

Un-Installation 14

Architectural overview - Class Hierarchy 15

How to use RareFind FastReport Export Filters? 16

Exporting Reports Programmatically 16

Using FastReport ExportFilters in Web Server Applications 17

Using Email and FTP 18

Properties and Events explained 19

Using LicenseKey property 44

Ordering and Delivery 44

How to Buy the product 44

Contact 48

Introduction

FastReport ExportFilters is a suite of export filters for FastReport. It is compatible with Borland Delphi and C++Builder. You can now save your reports as PDF, HTML, DOC, Excel, JPEG, GIF, BMP, EMF and WMF. It’s WYSIWYG and generates crisp looking copies of your reports, exactly as they appear in the preview. FastReport ExportFilters requires NO additional software. It is 100% native Object Pascal and compiles compactly into your executable file.

Enjoy!

Installation – Trial Edition

IMPORTANT - before you proceed with this installation:

·  Make sure you have the latest version of FastReport installed (www.fast-report.com).

·  Uninstall any older versions of FastReport ExportFilters, present on your computer.

Please visit http://www.rarefind.com/fr/downloads.html to download the trial version.

After you have downloaded the executable file,

·  Invoke the Setup program. The Setup program copies all files to a folder of your choice and automatically registers FastReport ExportFilters into the development environment of Delphi.

A new tab named 'RF FastReport Export' should now appear on the component palette!

Installation – Registered Edition

IMPORTANT - before you proceed with this installation:

·  Make sure you have the latest version of FastReport installed (www.fast-report.com).

·  Uninstall any older versions of FastReport ExportFilters, present on your computer.

After you have downloaded the executable file,

·  Invoke the Setup program. The Setup program copies all files to a folder of your choice and automatically registers FastReport ExportFilters into the development environment of Delphi or C++Builder.

Note:

·  Setup compiles the packages while installing. If the components fail to install, please refer to section "Re-compiling/Re-Installing - Registered Edition".

Re-Compiling/Re-Installing through Batch Files - Registered Edition

In most cases, the installation program will completely install FastReport ExportFilters without any intervention. If, however, the FastReport ExportFilters components do not show up on the component palette, follow the steps below to re-install the package.

You may follow the same steps below to re-compile the FastReport ExportFilters package if necessary.

Delphi 4

IMPORTANT - before you proceed with this installation:

·  Make sure you have the latest version of FastReport installed (www.fast-report.com).

·  Make sure the Setup program has copied all files to a folder of your choice and included the <FastReport ExportFilters>\Lib\D4 path under Library Path of Environment Options. Default path is C:\Program Files\RareFind\FastReport ExportFilters 3.0\Lib\D4

·  FastReport ExportFilters provides many useful additional features that needs to be enabled explicitly. Please open file 'PsDefines.inc' under <FastReport ExportFilters>\Source to enable them.

Compiling:

·  Close Delphi.

·  Open the <FastReport ExportFilters>\Source folder and run the file 'COMPILED4.bat'.

·  Run Delphi.

If the 'RF FastReport Export' tab is not present on the component palette, follow the installation instructions below.

Installing:

·  Run Delphi.

·  Choose File|Close All on the main menu.

·  Make sure the Library path is updated with <FastReport ExportFilters>\Lib\D4

·  Choose Tools|Environment Options... on the main menu.

·  Select the Library tab.

·  Check under Library Path under Directories.

Example:

If the original Library Path was "$(DELPHI)\Lib" and you installed FastReport ExportFilters to

"C:\Program Files\RareFind\FastReport ExportFilters 3.0"

you should see the new Library Path as

"$(DELPHI)\Lib;C:\Program Files\RareFind\FastReport ExportFilters 3.0\Lib\D4"

·  Choose Component|Install Packages...

·  Click Add... and Open DCLRFFRED40.bpl from <FastReport ExportFilters>\Lib\D4

·  Click OK.

A new tab named 'RF FastReport Export' should now appear on the component palette!

Delphi 5

IMPORTANT - before you proceed with this installation:

·  Make sure you have the latest version of FastReport installed (www.fast-report.com).

·  Make sure the Setup program has copied all files to a folder of your choice and included the <FastReport ExportFilters>\Lib\D5 path under Library Path of Environment Options. Default path is C:\Program Files\RareFind\FastReport ExportFilters 3.0\Lib\D5

·  FastReport ExportFilters provides many useful additional features that needs to be enabled explicitly. Please open file 'PsDefines.inc' under <FastReport ExportFilters>\Source to enable them.

Compiling:

·  Close Delphi.

·  Open the <FastReport ExportFilters>\Source folder and run the file 'COMPILED5.bat'.

·  Run Delphi.

If the 'RF FastReport Export' tab is not present on the component palette, follow the installation instructions below.

Installing:

·  Run Delphi.

·  Choose File|Close All on the main menu.

·  Make sure the Library path is updated with <FastReport ExportFilters>\Lib\D5

·  Choose Tools|Environment Options... on the main menu.

·  Select the Library tab.

·  Check under Library Path under Directories.

Example:

If the original Library Path was "$(DELPHI)\Lib" and you installed FastReport ExportFilters to

"C:\Program Files\RareFind\FastReport ExportFilters 3.0"

you should see the new Library Path as

"$(DELPHI)\Lib;C:\Program Files\RareFind\FastReport ExportFilters 3.0\Lib\D5"

·  Choose Component|Install Packages...

·  Click Add... and Open DCLRFFRED50.bpl from <FastReport ExportFilters>\Lib\D5

·  Click OK.

A new tab named 'RF FastReport Export' should now appear on the component palette!

Delphi 6

IMPORTANT - before you proceed with this installation:

·  Make sure you have the latest version of FastReport installed (www.fast-report.com).

·  Make sure the Setup program has copied all files to a folder of your choice and included the <FastReport ExportFilters>\Lib\D6 path under Library Path of Environment Options. Default path is C:\Program Files\RareFind\FastReport ExportFilters 3.0\Lib\D6

·  FastReport ExportFilters provides many useful additional features that needs to be enabled explicitly. Please open file 'PsDefines.inc' under <FastReport ExportFilters>\Source to enable them.

Compiling:

·  Close Delphi.

·  Open the <FastReport ExportFilters>\Source folder and run the file 'COMPILED6.bat'.

·  Run Delphi.

If the 'RF FastReport Export' tab is not present on the component palette, follow the installation instructions below.

Installing:

·  Run Delphi.

·  Choose File|Close All on the main menu.

·  Make sure the Library path is updated with <FastReport ExportFilters>\Lib\D6

·  Choose Tools|Environment Options... on the main menu.

·  Select the Library tab.

·  Check under Library Path under Directories.

Example:

If the original Library Path was "$(DELPHI)\Lib" and you installed FastReport ExportFilters to

"C:\Program Files\RareFind\FastReport ExportFilters 3.0"

you should see the new Library Path as

"$(DELPHI)\Lib;C:\Program Files\RareFind\FastReport ExportFilters 3.0\Lib\D6"

·  Choose Component|Install Packages...

·  Click Add... and Open DCLRFFRED60.bpl from <FastReport ExportFilters>\Lib\D6

·  Click OK.

A new tab named 'RF FastReport Export' should now appear on the component palette!

Delphi 7

IMPORTANT - before you proceed with this installation:

·  Make sure you have the latest version of FastReport installed (www.fast-report.com).

·  Make sure the Setup program has copied all files to a folder of your choice and included the <FastReport ExportFilters>\Lib\D7 path under Library Path of Environment Options. Default path is C:\Program Files\RareFind\FastReport ExportFilters 3.0\Lib\D7

·  FastReport ExportFilters provides many useful additional features that needs to be enabled explicitly. Please open file 'PsDefines.inc' under <FastReport ExportFilters>\Source to enable them.

Compiling:

·  Close Delphi.

·  Open the <FastReport ExportFilters>\Source folder and run the file 'COMPILED7.bat'.

·  Run Delphi.

If the 'RF FastReport Export' tab is not present on the component palette, follow the installation instructions below.

Installing:

·  Run Delphi.

·  Choose File|Close All on the main menu.

·  Make sure the Library path is updated with <FastReport ExportFilters>\Lib\D7

·  Choose Tools|Environment Options... on the main menu.

·  Select the Library tab.

·  Check under Library Path under Directories.

Example:

If the original Library Path was "$(DELPHI)\Lib" and you installed FastReport ExportFilters to

"C:\Program Files\RareFind\FastReport ExportFilters 3.0"

you should see the new Library Path as

"$(DELPHI)\Lib;C:\Program Files\RareFind\FastReport ExportFilters 3.0\Lib\D7"

·  Choose Component|Install Packages...

·  Click Add... and Open DCLRFFRED70.bpl from <FastReport ExportFilters>\Lib\D7

·  Click OK.

A new tab named 'RF FastReport Export' should now appear on the component palette!

Delphi 2005

IMPORTANT - before you proceed with this installation:

·  Make sure you have the latest version of FastReport installed (www.fast-report.com).

·  Make sure the Setup program has copied all files to a folder of your choice and included the <FastReport ExportFilters>\Lib\D9 path under Library Path of Environment Options. Default path is C:\Program Files\RareFind\FastReport ExportFilters 3.0\Lib\D9

·  FastReport ExportFilters provides many useful additional features that needs to be enabled explicitly. Please open file 'PsDefines.inc' under <FastReport ExportFilters>\Source to enable them.

Compiling:

·  Close Delphi.

·  Open the <FastReport ExportFilters>\Source folder and run the file 'COMPILED9.bat'.

·  Run Delphi.

If the 'RF FastReport Export' tab is not present on the component palette, follow the installation instructions below.

Installing:

·  Run Delphi.

·  Choose File|Close All on the main menu.

·  Make sure the Library path is updated with <FastReport ExportFilters>\Lib\D9

·  Choose Tools|Options|Environment Options... on the main menu.

·  Select the DelphiOptions|Library – Win32.

·  Check under Library Path under Directories.

Example:

If the original Library Path was "$(BDS)\Lib" and you installed FastReport ExportFilters to

"C:\Program Files\RareFind\FastReport ExportFilters 3.0"

you should see the new Library Path as

"$(BDS)\Lib;C:\Program Files\RareFind\FastReport ExportFilters 3.0\Lib\D9"

·  Choose Component|Install Packages...

·  Click Add... and Open DCLRFFRED90.bpl from <FastReport ExportFilters>\Lib\D9

·  Click OK.

A new tab named 'RF FastReport Export' should now appear on the component palette!

Delphi 2006

IMPORTANT - before you proceed with this installation:

·  Make sure you have the latest version of FastReport installed (www.fast-report.com).

·  Make sure the Setup program has copied all files to a folder of your choice and included the <FastReport ExportFilters>\Lib\D10 path under Library Path of Environment Options. Default path is C:\Program Files\RareFind\FastReport ExportFilters 3.0\Lib\D10

·  FastReport ExportFilters provides many useful additional features that needs to be enabled explicitly. Please open file 'PsDefines.inc' under <FastReport ExportFilters>\Source to enable them.

Compiling:

·  Close Delphi.

·  Open the <FastReport ExportFilters>\Source folder and run the file 'COMPILED10.bat'.

·  Run Delphi.

If the 'RF FastReport Export' tab is not present on the component palette, follow the installation instructions below.

Installing:

·  Run Delphi.

·  Choose File|Close All on the main menu.

·  Make sure the Library path is updated with <FastReport ExportFilters>\Lib\D10

·  Choose Tools|Options|Environment Options... on the main menu.

·  Select the DelphiOptions|Library – Win32.

·  Check under Library Path under Directories.

Example:

If the original Library Path was "$(BDS)\Lib" and you installed FastReport ExportFilters to

"C:\Program Files\RareFind\FastReport ExportFilters 3.0"

you should see the new Library Path as

"$(BDS)\Lib;C:\Program Files\RareFind\FastReport ExportFilters 3.0\Lib\D10"

·  Choose Component|Install Packages...

·  Click Add... and Open DCLRFFRED10.bpl from <FastReport ExportFilters>\Lib\D10

·  Click OK.

A new tab named 'RF FastReport Export' should now appear on the component palette!

Re-Compiling/Re-Installing Manually - Registered Edition

In most cases, the installation program will completely install FastReport ExportFilters without any intervention. If, however, the FastReport ExportFilters components do not show up on the component palette, follow the steps below to re-install the package.

You may follow the same steps below to re-compile the FastReport ExportFilters package if necessary.

Delphi 4

IMPORTANT - before you proceed with this installation:

·  Make sure you have the latest version of FastReport installed (www.fast-report.com).

·  Make sure the Setup program has copied all files to a folder of your choice and included the <FastReport ExportFilters>\Lib\D4 path under Library Path of Environment Options. Default path is C:\Program Files\RareFind\FastReport ExportFilters 3.0\Lib\D4

·  FastReport ExportFilters provides many useful additional features that needs to be enabled explicitly. Please open file 'PsDefines.inc' under <FastReport ExportFilters>\Source to enable them.

Compiling:

·  Run Delphi.

·  Choose File|Close All on the main menu.

·  Make sure the Library path is updated with <FastReport ExportFilters>\Lib\D4

·  Choose Tools|Environment Options... on the main menu.

·  Select the Library tab.

·  Check under Library Path under Directories.

Example:

If the original Library Path was "$(DELPHI)\Lib" and you installed FastReport ExportFilters to "C:\Program Files\RareFind\FastReport ExportFilters 3.0"

you should see the new Library Path as

"$(DELPHI)\Lib;C:\Program Files\RareFind\FastReport ExportFilters 3.0\Lib\D4"

·  Choose File|Open... on the main menu.

·  Open the <FastReport ExportFilters>\Source\Main folder

·  Select RFExportD40.dpk and click open

·  Click Compile on the package editor

·  Choose File|Open... on the main menu.

·  Open the <FastReport ExportFilters>\Source folder

·  Select RFFRED40.dpk and click Open

·  Click Compile on the package editor

·  Copy RFFRED40.bpl from <FastReport ExportFilters>\Source to Windows\System (or WinNT\System32 if you are on WindowsNT/2000)

·  Choose File|Open... on the main menu.

·  Select DCLRFFRED40.dpk and click Open

·  Click Compile on the package editor

·  Choose File|Close All on the main menu.

If the 'RF FastReport Export' tab is not present on the component palette, follow the installation instructions below.

Installing:

·  Choose Component|Install Packages...

·  Click Add... and Open DCLRFFRED40.bpl from <FastReport ExportFilters>\Lib\D4

·  Click OK.

A new tab named 'RF FastReport Export' should now appear on the component palette!

Delphi 5

IMPORTANT - before you proceed with this installation:

·  Make sure you have the latest version of FastReport installed (www.fast-report.com).

·  Make sure the Setup program has copied all files to a folder of your choice and included the <FastReport ExportFilters>\Lib\D5 path under Library Path of Environment Options. Default path is C:\Program Files\RareFind\FastReport ExportFilters 3.0\Lib\D5

·  FastReport ExportFilters provides many useful additional features that needs to be enabled explicitly. Please open file 'PsDefines.inc' under <FastReport ExportFilters>\Source to enable them.

Compiling:

·  Run Delphi.

·  Choose File|Close All on the main menu.

·  Make sure the Library path is updated with <FastReport ExportFilters>\Lib\D5

·  Choose Tools|Environment Options... on the main menu.

·  Select the Library tab.

·  Check under Library Path under Directories.

Example:

If the original Library Path was "$(DELPHI)\Lib" and you installed FastReport ExportFilters to "C:\Program Files\RareFind\FastReport ExportFilters 3.0"

you should see the new Library Path as

"$(DELPHI)\Lib;C:\Program Files\RareFind\FastReport ExportFilters 3.0\Lib\D5"

·  Choose File|Open... on the main menu.

·  Open the <FastReport ExportFilters>\Source\Main folder

·  Select RFExportD50.dpk and click open

·  Click Compile on the package editor

·  Choose File|Open... on the main menu.