|
dxHotPDFExportReportLink DevExpress ExpressPrinting System-adapter (
|
TfrxHotPDFExport (FastReport 4 / FastReport VCL adapter) TQRHotPDFExportFilter (QuickReport adapter) TppHotPDFDevice (ReportBuilder adapter) |
|
PDF-exportadapter voor het DevExpress ExpressPrinting System (XtraPrinting / XtraReports / afdrukbare cxGrid-links / en vergelijkbaar) die HotPDF als onderliggende PDF-backend gebruikt in plaats van de eigen
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;
Bestandsgebaseerde ingangspunten: 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's print systeem draait om
Deze adapter spiegelt de lus in DevExpress's eigen
1. De aanroeper roept 2. De adapter roept 3. Per pagina-index vraagt hij de link om 4. Er wordt een nieuwe HotPDF-pagina toegevoegd (of de automatisch aangemaakte eerste pagina wordt hergebruikt), op maat van de berekende puntafmetingen, en de metafile wordt afgespeeld via 5.
Options
Typical workflow
dxComponentPrinter1.CurrentLink := cxGridReportLink1; dxHotPDFExportReportLinkToFile(cxGridReportLink1, 'Grid.pdf');
Of met eigen opties:
Opts := dxHotPDFDefaultOptions; Opts.Title := 'Q1 Sales'; Opts.PDFACompliance := '3B'; Opts.RenderDPI := 300; dxHotPDFExportReportLinkToFile(cxGridReportLink1, 'Grid.pdf', Opts);
Ondersteunde linkfamilies Elke afstammeling van
Capabilities preserved Vector- en rasterpagina-inhoud uitgegeven door elke DevExpress-linkfamilie (cxGrid, cxScheduler, cxRichEdit, cxPivotGrid, custom links). Via GDI opgeloste tekststrings (DevExpress rendert tekst via
Beperkingen van de metafile-brug Omdat pagina's als enhanced metafiles worden vastgelegd, worden DevExpress-specifieke PDF-kenmerken die structuurinformatie vereisen (interactieve AcroForm-velden, named destinations en bookmarks/outlines) niet doorgegeven. PDF/A- en PDF/X-optievelden worden naar HotPDF doorgestuurd, maar standaardspecifieke assets zoals OutputIntent-profielen blijven de verantwoordelijkheid van de aanroeper. De uitvoer is een getrouwe visuele reproductie van wat DevExpress rendert, geen gestructureerde PDF.
Opmerking bij de packaging De adapter staat in
Zie ook: TfrxHotPDFExport, TQRHotPDFExportFilter, TppHotPDFDevice, THPDFPage.ShowMetafile, Verbeterde EMF/WMF-ondersteuning |