Developer Tools
|
Office Productivity Applications
|
Platform-Agnostic APIs
|
Home | Online Demos | Downloads | Buy Now | Support | About Us | News | Working Together | Contact Us
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 .NET Developer Tools | |
---|---|
Gnostice Document Studio .NETMulti-format document-processing component suite for .NET developers. |
PDFOne .NETA .NET PDF component suite to create, edit, view, print, reorganize, encrypt, annotate, and bookmark PDF documents in .NET applications. |
Our Delphi/C++Builder developer tools | |
---|---|
Gnostice Document Studio DelphiMulti-format document-processing component suite for Delphi/C++Builder developers, covering both VCL and FireMonkey platforms. |
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. |
Our Java developer tools | |
---|---|
Gnostice Document Studio JavaMulti-format document-processing component suite for Java developers. |
PDFOne (for Java)A Java PDF component suite to create, edit, view, print, reorganize, encrypt, annotate, bookmark PDF documents in Java applications. |
Our Platform-Agnostic Cloud and On-Premises APIs | |
---|---|
StarDocsCloud-hosted and On-Premises REST-based document-processing and document-viewing APIs |
Privacy | Legal | Feedback | Newsletter | Blog | Resellers | © 2002-2024 Gnostice Information Technologies Private Limited. All rights reserved. |