|
TfrxHotPDFExport FastReport 4 / FastReport VCL adapter (
|
QuickReport adapter ReportBuilder device DevExpress adapter |
|
FastReport 4 / FastReport VCL 用の PDF export filter です。FastReport 内蔵の PDF writer の代わりに、基盤の PDF backend として HotPDF を使用します。すでに HotPDF を組み込んでおり、アプリケーション全体で単一の PDF backend を使いたいプロジェクト向けです
Delphi 宣言: 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;
説明
FastReport の per-object PDF emitter 全体を再実装するのではなく、この adapter は準備済みの各ページを HotPDF の enhanced-metafile importer に渡します:
1. 2. 3. 4. 5.
プロパティ
典型的な 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;
保持される機能 FastReport の標準 layout engine がレンダリングする vector および raster page content (text、lines、rectangles、fills、bitmaps)。GDI で解決された text string (HotPDF は通常の HotPDF font subset path で Windows 解決済み font を埋め込みます)。Document-level metadata
metafile bridge の制限 ページは enhanced metafile としてキャプチャされるため、構造情報を必要とする FastReport 固有の PDF 機能 (AcroForm fields, named destinations, document outlines, PDF/A または PDF/X conformance gates) は引き継がれません。出力は FastReport が画面または printer にレンダリングする内容の忠実な視覚的再現であり、構造化 PDF ではありません。AcroForm output または PDF/A conformance が必要なプロジェクトでは、HotPDF の native API を直接使用してください
パッケージング上の注意 adapter は
関連項目: TQRHotPDFExportFilter, TppHotPDFDevice, dxHotPDFExportReportLink, THPDFPage.ShowMetafile, Enhanced EMF/WMF Support |