|
TfrxHotPDFExport FastReport 4 / FastReport VCL 어댑터
|
QuickReport 어댑터 ReportBuilder 장치 DevExpress 어댑터 |
|
FastReport 자체 내장 PDF writer 대신 HotPDF를 PDF 백엔드로 사용하는 FastReport 4 / FastReport VCL PDF 내보내기 필터입니다. 이미 HotPDF를 사용하는 프로젝트에서 애플리케이션 전체의 PDF 백엔드를 하나로 통일하려는 경우를 위한 것입니다
Delphi declaration: 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는
어댑터는 다음 세 가지 모드 중 하나로 내보낼 수 있습니다:
1. 2. 3. 4. 5. 6. 7.
Properties
Typical workflow
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;
Capabilities preserved 페이지 전체 모드와 객체 캔버스 모드는 FastReport의 표준 레이아웃 엔진이 렌더링한 벡터 및 래스터 페이지 콘텐츠를 그대로 보존합니다. 네이티브 객체 모드는 현재 다음을 보존합니다. 지원되는 memo 텍스트는 배경, 가로/세로 정렬, 프레임 스타일과 함께 PDF 텍스트로, 그림 뷰는 이미지 XObject로, 단순 도형은 PDF 지오메트리로, 선 뷰는 스트로크로, 뷰 URL은 URI 링크 주석으로 보존합니다. 문서 수준 메타데이터는 모든 모드에서 보존됩니다
Limitations 추가적인 구조 매핑이 필요한 FastReport 고유 PDF 기능(AcroForm 필드, named destination, 문서 아웃라인)은 이 어댑터로 전달되지 않습니다. PDF/A 및 PDF/X 게이트 속성은 HotPDF로 전달되지만, OutputIntent 프로파일 같은 표준별 자산은 여전히 호출자의 책임입니다
Packaging note 이 어댑터는 주 패키지
See also: TQRHotPDFExportFilter, TppHotPDFDevice, dxHotPDFExportReportLink, THPDFPage.ShowMetafile, Enhanced EMF/WMF Support |