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







eDocEngine has "report-export interface components" for providing multiple output format support for Delphi reporting tools. For ACE Reporter, eDocEngine has the TgtAceExportInterface interface component.
You can either let the end-user of the Ace Reporter 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 ACE Reporter, pair an instance of this interface component with an eDocEngine document-creation engine component. For example, to output ACE Reporter reports documents to PDF, a TgtAceExportInterface instance needs to be paired with a TgtPDFEngine instance on the same form as the TSctReport.
If you want to create a simple ACE Reporter application where the end-user will select the eDocEngine-generated output, try the following steps.
TbuttonTSctReportTDataSourceTADODataSetTgtRTFEngineTgtPDFEngineTgtAceExportInterface (two instances)Engine property of one of the TgtAceExportInterface control to the TgtPDFEngine control.Engine property of one of the other TgtAceExportInterface control to the TgtRTFEngine control.TADODataSet control.
ConnectionString: Set it to a database.CommandText: Set an SQL query that retrieves records from the database.Active: Set it true.DataSet property of the TDataSource control to the TADODataSet control.
Select the TSctGrouppage (ReportPage) object and set the DataSource property to TDataSource control.TSctvarlabel controls on the Detail band of the report.
Variable property of the TSctvarlabel objects to a field returned by the SQL query.

TButton object and add the following click-event handler.
SctReport1.Run;



The TgtAceExportInterface component has two methods to export reports.
public procedure RenderDocument( AceFile: string ); overload; public procedure RenderDocument( AceReport: TSctReport ); overload;
If your form has a fully set-up TSctReport control, then drop a TgtAceExportInterface and a TgtPDFEngine control on it. Then, drop a button and set this click-event handler to it.
procedure TForm1.Button1Click(Sender: TObject); begin gtAceExportInterface1.Engine := gtPDFEngine1; gtPDFEngine1.Preferences.ShowSetupDialog := false; gtPDFEngine1.FileName := 'eDocEngine_ACEReporter_Demo.pdf'; gtAceExportInterface1.RenderDocument(SctReport1); Close; end;
If you have an ".ACE" file, then drop a TgtAceExportInterface and a TgtPDFEngine control on a form that contains a TSctReport control. Next, drop a TgtAceExportInterface and TgtPDFEngine.
procedure TForm1.Button1Click(Sender: TObject); begin gtAceExportInterface1.Engine := gtPDFEngine1; gtPDFEngine1.Preferences.ShowSetupDialog := false; gtPDFEngine1.FileName := 'eDocEngine_ACEReporter_Demo.pdf'; gtAceExportInterface1.RenderDocument('eDoc_AceReporter.ace'); Close; end;
---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).