|
TfrxHotPDFExport FastReport 4 / FastReport VCL adapter (
|
QuickReport adapter ReportBuilder device DevExpress adapter |
|
FastReport 4 / FastReport VCL PDF export filter that uses HotPDF as the underlying PDF backend instead of FastReport's own built-in PDF writer. Intended for projects that already embed HotPDF and want a single PDF backend across the whole application.
Delphi declaration: type TfrxHotPDFExport = class(TfrxCustomExportFilter) published property Compressed: Boolean default True; property Title, Author, Subject, Keywords: string; property PDFVersion: TPDFVersType default pdf17; property CompressionLevel: TPDFCompressionLevel default clDefault; property RenderDPI: Integer default 200; end;
Description TfrxHotPDFExport descends from
Rather than re-implementing FastReport's full per-object PDF emitter, the adapter routes each prepared page through HotPDF's enhanced-metafile importer:
1. 2. 3. 4. 5.
Properties
Typical workflow
Exp := TfrxHotPDFExport.Create(nil); try Exp.FileName := 'Report.pdf'; Exp.Title := 'Monthly Statement'; Exp.PDFVersion := pdf17; Exp.RenderDPI := 200; frxReport1.Export(Exp); finally Exp.Free; end;
Capabilities preserved Vector and raster page content (text, lines, rectangles, fills, bitmaps) rendered by FastReport's standard layout engine. GDI-resolved text strings (HotPDF embeds the Windows-resolved fonts via the regular HotPDF font subset path). Document-level metadata.
Limitations of the metafile bridge Because pages are captured as enhanced metafiles, FastReport-specific PDF features that require structural information (AcroForm fields, named destinations, document outlines, PDF/A or PDF/X conformance gates) are not propagated. The output is a faithful visual reproduction of what FastReport renders to screen / printer, not a structured PDF. Projects that need AcroForm output or PDF/A conformance should drive HotPDF directly through its native API.
Packaging note The adapter lives in
See also: TQRHotPDFExportFilter, TppHotPDFDevice, dxHotPDFExportReportLink, THPDFPage.ShowMetafile, Enhanced EMF/WMF Support |