Developer Tools
|
Office Productivity Applications
|
Enterprise Solutions
|
|||||||||||||||||||||||







eDocEngine has "report-export interface components" for providing multiple output format support for Delphi reporting tools. For Rave Reports, eDocEngine has the TgtRaveExportInterface interface component.
You can either let the end-user of the Rave Reports application to choose the output provided by eDocEngine in an interactive report "Save" dialog box or you could export the report programmatically in Object Pascal.
On an application built with Rave Reports, an instance of this interface component needs to be paired up with an eDocEngine document-creation engine component. For example, to output a Rave Reports report to PDF, a TgtRaveExportInterface instance needs to be paired with a TgtPDFEngine instance on the same form as a Rave Reports control.
If you have an existing Rave Reports application and wish to let the end-user select the output format, then you can add eDocEngine output support without writing any code. Just follow these steps.
If you need to create a reporting application from scratch using eDocEngine and Rave Reports, try the following steps:

Engine property of the TgtRaveExportInterface
to the TgtPDFEngine control.

gtPDFEngine1.FileDescription := 'PDF generated by eDocEngine'; RvProject1.SetProjectFile('eDocEngine_Rave_Demo.rav'); RvProject1.Open; RvProject1.Execute; RvProject1.Close;


In this example, eDocEngine will be used to export a Rave Reports report from an NDR (Rave Report snapshot) file.
procedure TForm5.Button2Click(Sender: TObject); begin // Set output engines for the report export components gtRaveExportInterface1.Engine := gtPDFEngine1; gtRaveExportInterface2.Engine := gtRTFEngine1; gtRaveExportInterface3.Engine := gtXHTMLEngine1; // Disable output preferences dialog boxes gtPDFEngine1.Preferences.ShowSetupDialog := false; gtRTFEngine1.Preferences.ShowSetupDialog := false; gtXHTMLEngine1.Preferences.ShowSetupDialog := false; // Set output file name of the engines gtPDFEngine1.FileName := 'eDoc_Rave_Demo.pdf'; gtRTFEngine1.FileName := 'eDoc_Rave_Demo.rtf'; gtXHTMLEngine1.FileName := 'eDoc_Rave_Demo.html'; // Export a Rave Reports snapshot file to PDF, RTF and XHTML gtRaveExportInterface1.RenderDocument('eDoc_Rave.ndr'); gtRaveExportInterface2.RenderDocument('eDoc_Rave.ndr'); gtRaveExportInterface3.RenderDocument('eDoc_Rave.ndr'); end;
The TgtRaveExportInterface has another RenderDocument() overload that
exports the report from a stream containing the snapshot file.
public procedure RenderDocument( ANDRStream: TStream ); overload;
---o0O0o---
| Our Developer Tools | |
|---|---|
eDocEngine VCLA Delphi/C++Builder component suite for creating documents in over 20 formats and also export reports from popular Delphi reporting tools. |
PDFtoolkit VCLA Delphi/C++Builder component suite to edit, enhance, view, print, merge, split, encrypt, annotate, and bookmark PDF documents. |
XtremePDFConverter VCLA Delphi/C++Builder component to intelligently convert PDF to user-friendly Word RTF documents. |
|
PDFOne .NETA .NET PDF component suite to create, edit, view, print, reorganize, encrypt, annotate, and bookmark PDF documents in .NET applications. |
XtremeDocumentStudio .NETMulti-format document-processing component suite for .NET developers |
PDFOne (for Java™)A Java™ PDF component suite to create, edit, view, print, reorganize, encrypt, annotate, bookmark PDF documents in Java™ applications. |
XtremeFontEngine (for Java)Java font engine to render glyphs from Type 1, Type 2 (CFF), and TrueType fonts |
| Our Office Productivity Applications |
|---|
Free PDF ReaderA free, fast, and portable application for viewing, printing and converting PDF documents. |
| Privacy | Legal | Feedback | Newsletter | Resellers | © 2002-2013 Gnostice Information Technologies Private Limited. All rights reserved. |
This site is best viewed on a screen with minimum resolution of 1152 x 864 pixels. Windows XP users are advised to use Microsoft ClearType Tuning for optimal experience. Also, please use the latest version of a standards-compliant browser such as Firefox, Opera, or Dragon (Chromium).