|
TfrxHotPDFExport FastReport 4 / FastReport VCL アダプター
|
QuickReport アダプター ReportBuilder デバイス DevExpress アダプター |
|
FastReport 独自の組み込み PDF ライターの代わりに HotPDF を下位の PDF バックエンドとして使う、FastReport 4 / FastReport VCL 向け PDF エクスポートフィルターです。すでに HotPDF を組み込んでいて、アプリケーション全体で 1 つの PDF バックエンドに統一したいプロジェクト向けです
Delphi 宣言: type TfrxHotPDFExport = class(TfrxCustomExportFilter) published property Compressed: Boolean default True; property Title, Author, Subject, Keywords: string; property PageRange: string; property PDFVersion: TPDFVersType default pdf17; property PDFACompliance: string; property PDFXCompliance: string; property CompressionLevel: TPDFCompressionLevel default clDefault; property RenderDPI: Integer default 200; property ExportMode: TfrxHotPDFExportMode default hemPageMetafile; property AutoCreateURL: Boolean default False; property FontEmbedding: Boolean default True; property NotEmbeddedFonts: TStrings; property ActivateProtection: Boolean default False; property UserPassword, OwnerPassword: string; property CryptKeyLength: THPDFKeyType default k40; property ProtectOptions: THPDFProtectOptions default []; property EncryptMetadata: Boolean default True; property DialogDefaultFileName, DialogFilter, DialogTitle: string; end;
Description TfrxHotPDFExport は
アダプターは 3 つのモードのいずれかでエクスポートできます:
1. 2. 3. 4. 5. 6. 7.
プロパティ
典型的なワークフロー
Exp := TfrxHotPDFExport.Create(nil); try Exp.FileName := 'Report.pdf'; Exp.Title := 'Monthly Statement'; Exp.PDFVersion := pdf17; Exp.PDFACompliance := '3B'; Exp.PageRange := '1,3-5'; Exp.RenderDPI := 200; Exp.ExportMode := hemNativeObjects; Exp.AutoCreateURL := True; Exp.FontEmbedding := True; Exp.NotEmbeddedFonts.Add('Courier New'); Exp.ActivateProtection := True; Exp.CryptKeyLength := aes256; Exp.OwnerPassword := 'owner'; Exp.UserPassword := 'viewer'; Exp.ProtectOptions := [prPrint, prInformationCopy]; frxReport1.Export(Exp); finally Exp.Free; end;
保持される能力 ページ全体 / オブジェクトキャンバスの各モードは、FastReport の標準レイアウトエンジンがレンダリングするベクター / ラスターのページコンテンツを保持します。ネイティブオブジェクトモードは現在、対応する memo テキストを背景、水平 / 垂直配置、フレームスタイル付きの PDF テキストとして、画像ビューを image XObject として、単純なシェイプを PDF ジオメトリとして、線ビューをストロークとして、ビュー URL を URI リンク注釈として保持します。ドキュメントレベルのメタデータはすべてのモードで保持されます
制限 追加の構造マッピングを必要とする FastReport 固有の PDF 機能(AcroForm フィールド、名前付きデスティネーション、ドキュメントアウトライン)はこのアダプターでは伝播されません。PDF/A / PDF/X のゲートプロパティは HotPDF へ転送されますが、OutputIntent プロファイルなどの規格固有アセットは呼び出し側の責任です
パッケージングメモ アダプターは、メインの
関連項目: TQRHotPDFExportFilter, TppHotPDFDevice, dxHotPDFExportReportLink, THPDFPage.ShowMetafile, Enhanced EMF/WMF Support |