|
dxHotPDFExportReportLink DevExpress ExpressPrinting System adapter (
|
FastReport adapter QuickReport adapter ReportBuilder device |
|
Adapter خروجی PDF برای DevExpress ExpressPrinting System (XtraPrinting / XtraReports / cxGrid printable links و موارد مشابه) که به جای emitter داخلی DevExpress یعنی
رکورد گزینهها: type TdxHotPDFExportOptions = record Title, Author, Subject, Keywords: string; PDFVersion : TPDFVersType; // default pdf17 Compression: TPDFCompressionLevel; // default clDefault RenderDPI : Integer; // default 200 end;
function dxHotPDFDefaultOptions: TdxHotPDFExportOptions;
نقطههای ورود مبتنی بر فایل: function dxHotPDFExportReportLinkToFile( AReportLink: TBasedxReportLink; const AOutputFileName: string; const AOptions: TdxHotPDFExportOptions): Boolean; overload; function dxHotPDFExportReportLinkToFile( AReportLink: TBasedxReportLink; const AOutputFileName: string): Boolean; overload;
نقطههای ورود مبتنی بر stream: function dxHotPDFExportReportLinkToStream( AReportLink: TBasedxReportLink; AOutputStream: TStream; const AOptions: TdxHotPDFExportOptions): Boolean; overload; function dxHotPDFExportReportLinkToStream( AReportLink: TBasedxReportLink; AOutputStream: TStream): Boolean; overload;
توضیح سیستم چاپ DevExpress بر
این adapter حلقه موجود در
1. فراخواننده 2. adapter متد 3. برای هر index صفحه، از link مقدار 4. یک صفحهٔ جدید HotPDF اضافه میشود (یا نخستین صفحهٔ خودکارِ ایجادشده دوباره استفاده میشود)، با ابعاد point محاسبهشده اندازهگذاری میشود و metafile از طریق 5.
گزینهها
گردشکار معمول
dxComponentPrinter1.CurrentLink := cxGridReportLink1; dxHotPDFExportReportLinkToFile(cxGridReportLink1, 'Grid.pdf');
یا با گزینههای سفارشی:
Opts := dxHotPDFDefaultOptions; Opts.Title := 'Q1 Sales'; Opts.RenderDPI := 300; dxHotPDFExportReportLinkToFile(cxGridReportLink1, 'Grid.pdf', Opts);
خانوادههای لینک پشتیبانیشده هر زیرکلاس از
قابلیتهای حفظشده محتوای صفحهٔ برداری و raster که هر خانوادهٔ لینک DevExpress صادر میکند (cxGrid، cxScheduler، cxRichEdit، cxPivotGrid، لینکهای سفارشی). رشتههای متنی resolve شده توسط GDI (DevExpress متن را از طریق
محدودیتهای پل metafile چون صفحهها بهصورت enhanced metafile capture میشوند، featureهای ویژهٔ PDF در DevExpress که به اطلاعات ساختاری نیاز دارند (فیلدهای تعاملی AcroForm، مقصدهای نامدار، bookmark / outline، دروازههای انطباق PDF/A یا PDF/X) منتقل نمیشوند. خروجی بازتولید بصری دقیقی از چیزی است که DevExpress رندر میکند، نه یک PDF ساختاریافته
یادداشت بستهبندی این adapter در
همچنین ببینید: TfrxHotPDFExport, TQRHotPDFExportFilter, TppHotPDFDevice, THPDFPage.ShowMetafile, پشتیبانی Enhanced EMF/WMF |