Alur kerja produksi terbatas untuk grafis, konten dokumen, paket interaktif, dan media tersemat
| Declaration | Values or purpose |
EPdfProduction | Exception yang dimunculkan untuk masukan produksi tidak valid, anggaran keamanan yang habis, operasi yang tidak didukung, dan output backend yang ditolak |
TPdfColourSpace | pcsDeviceGray, pcsDeviceRGB, pcsDeviceCMYK, pcsICCBased, pcsSeparation, pcsDeviceN |
TPdfSvgPathCommandKind | spcMoveTo, spcLineTo, spcCubicTo, spcQuadraticTo, spcClosePath |
TPdfReplacementMode | prmNativeTextObject, prmRedactAndRelayout |
TPdfBarcodeKind | pbkCode128, pbkQr, pbkDataMatrix, pbkPdf417 |
TPdfPortfolioFieldType | ppftText, ppftNumber, ppftDate, ppftFileName, ppftDescription, ppftSize, ppftModDate, ppftCreationDate |
| Declaration | Public fields or members |
TPdfColourBuffer | Space: TPdfColourSpace, Components: Integer, BitsPerComponent: Integer, Samples: TBytes, IccProfile: TBytes |
TPdfOutputIntent | Identifier: string, RegistryName: string, Info: string, Components: Integer, IccProfile: TBytes |
TPdfColourConversionOptions | MaxInputBytes: Integer, MaxOutputBytes: Integer, PreserveOnFailure: Boolean, class function Default: TPdfColourConversionOptions |
TPdfColourConversionReport | Converted: Boolean, PreservedOriginal: Boolean, InputBytes: Integer, OutputBytes: Integer, ErrorMessage: string |
| Declaration | Public fields or members |
TPdfGlyphInfo | GlyphID: Cardinal, UnicodeValue: Cardinal, Width: Integer |
TPdfGlyphInfos | Array dinamis dari TPdfGlyphInfo |
TPdfFontSubsetOptions | MaxFontBytes: Integer, MaxGlyphs: Integer, MinimumSavingPercent: Integer, class function Default: TPdfFontSubsetOptions |
TPdfFontSubsetReport | Applied: Boolean, PreservedOriginal: Boolean, GlyphCount: Integer, OriginalBytes: Integer, SubsetBytes: Integer, ErrorMessage: string |
TPdfSvgPathCommand | Kind: TPdfSvgPathCommandKind, Values: array[0..5] of Double |
TPdfSvgPathCommands | Array dinamis dari TPdfSvgPathCommand |
| Declaration | Public fields or members |
TPdfStyledSpan | PageIndex: Integer, ObjectIndex: Integer, CharacterStart: Integer, Text: WideString, StyleID: Integer |
TPdfStyledSpans | Array dinamis dari TPdfStyledSpan |
TPdfRegexMatch | StartIndex: Integer, Length: Integer, Replacement: WideString |
TPdfRegexMatches | Array dinamis dari TPdfRegexMatch |
TPdfStyledReplacement | Mode: TPdfReplacementMode, PageIndex: Integer, FirstObjectIndex: Integer, LastObjectIndex: Integer, FirstCharacter: Integer, CharacterCount: Integer, Replacement: WideString, StyleID: Integer, LastPageIndex: Integer |
TPdfStyledReplacements | Array dinamis dari TPdfStyledReplacement |
TPdfXfaBinding | SomPath: string, Value: string |
TPdfXfaBindings | Array dinamis dari TPdfXfaBinding |
| Declaration | Public fields or members |
TPdfBarcodeRect | Left: Double, Top: Double, Right: Double, Bottom: Double |
TPdfBarcodeRects | Array dinamis dari TPdfBarcodeRect |
TPdfBarcodeResult | Kind: TPdfBarcodeKind, Text: string, Bounds: TPdfBarcodeRect, Confidence: Double |
TPdfBarcodeResults | Array dinamis dari TPdfBarcodeResult |
TPdfPortfolioField | Name: string, DisplayName: string, FieldType: TPdfPortfolioFieldType, Order: Integer, Visible: Boolean, Editable: Boolean |
TPdfPortfolioFields | Array dinamis dari TPdfPortfolioField |
TPdfPortfolioValue | FieldName: string, Value: string |
TPdfPortfolioValues | Array dinamis dari TPdfPortfolioValue |
TPdfPortfolioItem | FileName: string, Description: string, Values: TPdfPortfolioValues, EmbeddedData: TBytes |
TPdfPortfolioItems | Array dinamis dari TPdfPortfolioItem |
TPdfPortfolio | Fields: TPdfPortfolioFields, Items: TPdfPortfolioItems, SortField: string, SortAscending: Boolean |
| Declaration | Public fields |
TPdfRichMediaAsset | Name: string, MimeType: string, Data: TBytes, IsExternal: Boolean, ActivationCondition: string, DefaultView: string |
TPdfRichMediaAssets | Array dinamis dari TPdfRichMediaAsset |
TPdfRichMediaExtracted | Name: string, MimeType: string, Size: Int64, Sha256: string |
TPdfRichMediaExtractedArray | Array dinamis dari TPdfRichMediaExtracted |
| Interface | Method | Purpose |
IPdfColourTransform | function Transform(const Source: TPdfColourBuffer; TargetSpace: TPdfColourSpace; const TargetProfile: TBytes; out Target: TPdfColourBuffer): Boolean | Mengonversi buffer sumber tervalidasi ke ruang warna dan profil yang diminta |
IPdfFontSubsetBackend | function Subset(const FontProgram: TBytes; const Glyphs: TPdfGlyphInfos; out SubsetProgram: TBytes): Boolean | Membangun program font yang berisi closure glyph yang diminta |
IPdfRegexEngine | function FindMatches(const Text, Pattern, Replacement: WideString; MaxMatches: Integer): TPdfRegexMatches | Mengembalikan kecocokan ekspresi reguler yang terbatas beserta teks penggantinya |
IPdfBarcodeProvider | function Generate(Kind: TPdfBarcodeKind; const Text: string; ModuleSize: Double; out Rects: TPdfBarcodeRects): Boolean | Menghasilkan persegi panjang modul barcode untuk simbologi yang didukung |
function Recognise(const Pixels: TBytes; Width, Height, Stride: Integer; MaxResults: Integer): TPdfBarcodeResults | Mengenali hasil barcode terbatas dari buffer piksel milik pemanggil |
| Signature | Description |
function ConvertPdfColourBuffer(const Source: TPdfColourBuffer; TargetSpace: TPdfColourSpace; const TargetProfile: TBytes; Transform: IPdfColourTransform; const Options: TPdfColourConversionOptions; out Target: TPdfColourBuffer; out OutputIntent: TPdfOutputIntent; out Report: TPdfColourConversionReport): Boolean | Menjalankan buffer warna melalui transformasi milik pemanggil dan membangun data OutputIntent yang sesuai sambil mempertahankan sumber saat gagal |
function SubsetExistingPdfFont(const FontProgram: TBytes; const UsedGlyphs: TPdfGlyphInfos; Backend: IPdfFontSubsetBackend; const Options: TPdfFontSubsetOptions; out ResultProgram: TBytes; out GlyphClosure: TPdfGlyphInfos; out Report: TPdfFontSubsetReport): Boolean | Membangun closure glyph unik yang terurut dan menerima subset hanya ketika valid dan lebih kecil |
function ParsePdfSvgPath(const Data: string; MaxCommands: Integer = 100000): TPdfSvgPathCommands | Mengurai perintah move, line, cubic, quadratic, dan close yang terbatas dengan dukungan koordinat relatif |
function ExportPdfSvgPath(const Commands: TPdfSvgPathCommands): string | Melakukan serialisasi perintah path ke sintaks path SVG absolut |
procedure TransformPdfSvgPath(var Commands: TPdfSvgPathCommands; A, B, C, D, E, F: Double) | Menerapkan matriks afin ke setiap koordinat dalam path SVG yang telah diurai |
function BuildStyledRegexReplacementPlan(const Spans: TPdfStyledSpans; const Pattern, Replacement: WideString; Engine: IPdfRegexEngine; MaxCharacters: Integer = 16 * 1024 * 1024; MaxMatches: Integer = 100000): TPdfStyledReplacements | Memetakan kembali kecocokan ekspresi reguler ke span objek halaman bergaya dan memilih penggantian native atau berbasis redaksi |
function MergePdfXfaDatasets(const Packets: TXfaPacketList; const Bindings: TPdfXfaBindings; MaxPacketBytes: Integer = 32 * 1024 * 1024): TXfaPacketList | Menggabungkan binding leaf SOM ter-escape sambil mempertahankan setiap paket XFA yang tidak tersentuh |
function RewritePdfXfaPacketStreams(Source, Destination: TStream; const Packets: TXfaPacketList; MaxTotalPacketBytes: Int64 = 256 * 1024 * 1024): Boolean | Menambahkan stream paket XFA yang diganti secara transaksional ke PDF tidak terenkripsi |
function GeneratePdfBarcode(Kind: TPdfBarcodeKind; const Text: string; ModuleSize: Double; Provider: IPdfBarcodeProvider = nil): TPdfBarcodeRects | Menghasilkan vektor Code 128-B bawaan dan mendelegasikan simbologi dua dimensi ke provider |
function RecognisePdfBarcodes(const Pixels: TBytes; Width, Height, Stride: Integer; Provider: IPdfBarcodeProvider; MaxResults: Integer = 256): TPdfBarcodeResults | Mendelegasikan pengenalan barcode sambil menegakkan geometri gambar dan batas hasil |
procedure ValidatePdfPortfolio(const Portfolio: TPdfPortfolio; MaxItems: Integer = 100000; MaxEmbeddedBytes: Int64 = 1024 * 1024 * 1024) | Memvalidasi definisi bidang, nilai, jumlah item, dan anggaran muatan tersemat |
procedure SortPdfPortfolio(var Portfolio: TPdfPortfolio) | Membuat tampilan Collection deterministik menggunakan bidang dan arah urutan yang dikonfigurasi |
function ExtractPdfRichMediaAssets(const Assets: TPdfRichMediaAssets; const OutputDirectory: string; MaxAssetBytes: Int64 = 256 * 1024 * 1024; MaxTotalBytes: Int64 = 1024 * 1024 * 1024): TPdfRichMediaExtractedArray | Menulis aset tersemat tanpa mengeksekusi konten, meresolusi referensi eksternal, atau mengizinkan pelarian direktori |
Semua API bervolume tinggi menegakkan batas yang terlihat pemanggil sebelum mengalokasikan atau menulis output
Codec platform, mesin warna, subsetter font, mesin ekspresi reguler, pustaka barcode matriks, dan pengenal berupa antarmuka eksplisit sehingga host dapat memilih backend yang telah diauditnya