|
dxHotPDFExportReportLink DevExpress ExpressPrinting System 用 adapter (
|
FastReport アダプター QuickReport アダプター ReportBuilder デバイス |
|
DevExpress ExpressPrinting System(XtraPrinting / XtraReports / cxGrid の printable links など)向けの PDF エクスポートアダプターで、DevExpress 独自の
Options record: type TdxHotPDFExportOptions = record Title, Author, Subject, Keywords: string; PDFVersion : TPDFVersType; // default pdf17 PDFACompliance: string; PDFXCompliance: string; Compression: TPDFCompressionLevel; // default clDefault RenderDPI : Integer; // default 200 end;
function dxHotPDFDefaultOptions: TdxHotPDFExportOptions;
File-based entry points: function dxHotPDFExportReportLinkToFile( AReportLink: TBasedxReportLink; const AOutputFileName: string; const AOptions: TdxHotPDFExportOptions): Boolean; overload; function dxHotPDFExportReportLinkToFile( AReportLink: TBasedxReportLink; const AOutputFileName: string): Boolean; overload;
Stream-based entry points: function dxHotPDFExportReportLinkToStream( AReportLink: TBasedxReportLink; AOutputStream: TStream; const AOptions: TdxHotPDFExportOptions): Boolean; overload; function dxHotPDFExportReportLinkToStream( AReportLink: TBasedxReportLink; AOutputStream: TStream): Boolean; overload;
Description DevExpress の印刷システムの中心は
このアダプターは DevExpress 独自の
1. 呼び出し側が準備済みの 2. アダプターは 3. ページインデックスごとに、リンクへ 4. 計算されたポイント寸法に合わせた新しい HotPDF ページを追加(または自動作成済みの最初のページを再利用)し、メタファイルを 5.
オプション
典型的なワークフロー
dxComponentPrinter1.CurrentLink := cxGridReportLink1; dxHotPDFExportReportLinkToFile(cxGridReportLink1, 'Grid.pdf');
カスタムオプションを使う場合:
Opts := dxHotPDFDefaultOptions; Opts.Title := 'Q1 Sales'; Opts.PDFACompliance := '3B'; Opts.RenderDPI := 300; dxHotPDFExportReportLinkToFile(cxGridReportLink1, 'Grid.pdf', Opts);
対応するリンクファミリー
保持される能力 すべての DevExpress リンクファミリー(cxGrid、cxScheduler、cxRichEdit、cxPivotGrid、カスタムリンク)が出力するベクター / ラスターのページコンテンツ。GDI で解決されたテキスト文字列(DevExpress は
メタファイルブリッジの制限 ページが拡張メタファイルとして取り込まれるため、構造情報を必要とする DevExpress 固有の PDF 機能(インタラクティブな AcroForm フィールド、名前付きデスティネーション、ブックマーク / アウトライン)は伝播されません。PDF/A / PDF/X のオプションフィールドは HotPDF へ転送されますが、OutputIntent プロファイルなどの規格固有アセットは呼び出し側の責任です。出力は DevExpress がレンダリングする内容の忠実な視覚再現であり、構造化 PDF ではありません
パッケージングメモ アダプターは
関連項目: TfrxHotPDFExport, TQRHotPDFExportFilter, TppHotPDFDevice, THPDFPage.ShowMetafile, Enhanced EMF/WMF Support |