Print, merge, split, encrypt, annotate, and bookmark PDF In over 20 formats and also export reports from popular DelphiĪ Delphi/C++Builder component suite to edit, enhance, view, Multi-format document-processing component suite forĭelphi/C++Builder developers, covering both VCL and FireMonkey platforms.Ī Delphi/C++Builder component suite for creating documents Reorganize, encrypt, annotate, and bookmark PDF documents in NET PDF component suite to create, edit, view, print, Multi-format document-processing component suite for. RenderDocument(TppReport(ppArchiveReader1) ) ArchiveFileName := 'sample_RB_report.raf' Connect report export interface to PDF engine GtPDFEngine1.FileName := 'sample_rb_export.pdf' Set output file name for the PDF engine GtPDFEngine1 := TgtPDFEngine.Create(Nil) Procedure TForm1.Demo_TgtRBExportInterface_From_RAF RAF file, use the RenderDocument() method of the TgtRBExportInterface component, as shown below: In the Print dialog box, choose to print to file, set the file type to 'eDocEngine-Generated PDF Document' and click OK.PpReport1.TextFileName := 'sample_rb_report_export.pdf' 'Provider=.4.0 Data Source=FPNWIND.MDB ' +ĪDODataSet1.CommandText := 'SELECT * FROM EMPLOYEES' GtRBExportInterface1.MetafileAsRasterImage := True GtPDFEngine1.FileDescription := 'Adobe PDF Files (Generated by eDocEngine)' Procedure TForm1.Demo_TgtRBExportInterface_From_Report Wire the components together either in the Design view or using Object Pascal.Add the following components to the form.In the Details section for fields in the Employees table. A ReportBuilder report template with data components.NorthWind Access database from the MS Office installation directory.Copy/create the following files in the current directory.Open the IDE and create a VCL Forms Application.If you have a ReportBuilder report template, pair it with data and call the Print() method of the ReportBuilder report component.You can export ReportBuilder to eDocEngine programmatically in two ways: In the Where box, enter the path where the output PDF document.In the Type list box, select the option for PDF generated by eDocEngine.Select the TADODataSet control and set it up to retrieve records from a database table.Drag and drop TppReport, TppDBPipeline, TDataSource and TADODataSet controls, one each, on the form.Start the IDE and create a VCL forms application project.
Here is a tutorial on how to create a ReportBuilder report from scratch and add report-export capabilities provided by eDocEngine.
Set the Engine property of the TgtRBExportInterface control to the engine control. For PDF output, use a text string such as 'PDF generated by eDocEngine'. If you need to differentiate the eDocEngine output format from the built-in ReportBuilder output formats, then set FileDescription property of the document-creation engine.From the eDocEngine Additionals tab on the Tools Palette, add TgtRBExportInterface control to the form that contains ReportBuilder controls.įrom the eDocEngine tab of the Tool Palette, add a document-creation engine component, such as TgtPDFEngine, to the form.
Open the ReportBuilder project in the IDE.If you have an existing ReportBuilder application and wish to let the end-user select the output format, then you can add eDocEngine output support without writing any code. For example, to output a ReportBuilder report to PDF, a TgtRBExportInterface instance needs to be paired with a TgtPDFEngine instance on the same form as a ReportBuilder control. In either case, you need to pair an instance of the eDocEngine interface component to an eDocEngine document-creation engine component. You can either let the end-user of the ReportBuilder application to choose the output provided by eDocEngine in an interactive report "Print" dialog box or you could export the report programmatically in Object Pascal. For ReportBuilder, eDocEngine has the TgtRBExportInterface export interface component. EDocEngine has "report-export interface components" for providing multiple output format support for Delphi reporting tools.