Ohraničené produkčné pracovné toky pre grafiku, obsah dokumentov, interaktívne balíky a vložené médiá
| Declaration | Values or purpose |
EPdfProduction | Výnimka vyvolaná pri neplatnom produkčnom vstupe, vyčerpaných bezpečnostných rozpočtoch, nepodporovaných operáciách a odmietnutom výstupe backendu |
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 | Dynamic array of 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 | Dynamic array of TPdfSvgPathCommand |
| Declaration | Public fields or members |
TPdfStyledSpan | PageIndex: Integer, ObjectIndex: Integer, CharacterStart: Integer, Text: WideString, StyleID: Integer |
TPdfStyledSpans | Dynamic array of TPdfStyledSpan |
TPdfRegexMatch | StartIndex: Integer, Length: Integer, Replacement: WideString |
TPdfRegexMatches | Dynamic array of TPdfRegexMatch |
TPdfStyledReplacement | Mode: TPdfReplacementMode, PageIndex: Integer, FirstObjectIndex: Integer, LastObjectIndex: Integer, FirstCharacter: Integer, CharacterCount: Integer, Replacement: WideString, StyleID: Integer, LastPageIndex: Integer |
TPdfStyledReplacements | Dynamic array of TPdfStyledReplacement |
TPdfXfaBinding | SomPath: string, Value: string |
TPdfXfaBindings | Dynamic array of TPdfXfaBinding |
| Declaration | Public fields or members |
TPdfBarcodeRect | Left: Double, Top: Double, Right: Double, Bottom: Double |
TPdfBarcodeRects | Dynamic array of TPdfBarcodeRect |
TPdfBarcodeResult | Kind: TPdfBarcodeKind, Text: string, Bounds: TPdfBarcodeRect, Confidence: Double |
TPdfBarcodeResults | Dynamic array of TPdfBarcodeResult |
TPdfPortfolioField | Name: string, DisplayName: string, FieldType: TPdfPortfolioFieldType, Order: Integer, Visible: Boolean, Editable: Boolean |
TPdfPortfolioFields | Dynamic array of TPdfPortfolioField |
TPdfPortfolioValue | FieldName: string, Value: string |
TPdfPortfolioValues | Dynamic array of TPdfPortfolioValue |
TPdfPortfolioItem | FileName: string, Description: string, Values: TPdfPortfolioValues, EmbeddedData: TBytes |
TPdfPortfolioItems | Dynamic array of 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 | Dynamic array of TPdfRichMediaAsset |
TPdfRichMediaExtracted | Name: string, MimeType: string, Size: Int64, Sha256: string |
TPdfRichMediaExtractedArray | Dynamic array of TPdfRichMediaExtracted |
| Interface | Method | Purpose |
IPdfColourTransform | function Transform(const Source: TPdfColourBuffer; TargetSpace: TPdfColourSpace; const TargetProfile: TBytes; out Target: TPdfColourBuffer): Boolean | Konvertuje overený zdrojový buffer do požadovaného farebného priestoru a profilu |
IPdfFontSubsetBackend | function Subset(const FontProgram: TBytes; const Glyphs: TPdfGlyphInfos; out SubsetProgram: TBytes): Boolean | Zostaví fontový program obsahujúci uzáver požadovaných glyfov |
IPdfRegexEngine | function FindMatches(const Text, Pattern, Replacement: WideString; MaxMatches: Integer): TPdfRegexMatches | Vráti ohraničené zhody regulárneho výrazu a náhradný text |
IPdfBarcodeProvider | function Generate(Kind: TPdfBarcodeKind; const Text: string; ModuleSize: Double; out Rects: TPdfBarcodeRects): Boolean | Vygeneruje obdĺžniky modulov čiarového kódu pre podporovanú symbológiu |
function Recognise(const Pixels: TBytes; Width, Height, Stride: Integer; MaxResults: Integer): TPdfBarcodeResults | Rozozná ohraničené výsledky čiarových kódov z pixelového buffera vlastneného volajúcim |
| 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 | Prevedie farebný buffer transformáciou volajúceho a zostaví zodovedajúce dáta OutputIntent, pričom pri zlyhaní zachová zdroj |
function SubsetExistingPdfFont(const FontProgram: TBytes; const UsedGlyphs: TPdfGlyphInfos; Backend: IPdfFontSubsetBackend; const Options: TPdfFontSubsetOptions; out ResultProgram: TBytes; out GlyphClosure: TPdfGlyphInfos; out Report: TPdfFontSubsetReport): Boolean | Zostaví zoradený uzáver jedinečných glyfov a prijme podmnožinu len vtedy, keď je platná a menšia |
function ParsePdfSvgPath(const Data: string; MaxCommands: Integer = 100000): TPdfSvgPathCommands | Rozanalyzuje ohraničené príkazy move, line, cubic, quadratic a close s podporou relatívnych súradníc |
function ExportPdfSvgPath(const Commands: TPdfSvgPathCommands): string | Serializuje príkazy cesty do absolútnej syntaxe SVG cesty |
procedure TransformPdfSvgPath(var Commands: TPdfSvgPathCommands; A, B, C, D, E, F: Double) | Aplikuje afinnú maticu na každú súradnicu rozanalyzovanej SVG cesty |
function BuildStyledRegexReplacementPlan(const Spans: TPdfStyledSpans; const Pattern, Replacement: WideString; Engine: IPdfRegexEngine; MaxCharacters: Integer = 16 * 1024 * 1024; MaxMatches: Integer = 100000): TPdfStyledReplacements | Premapuje zhody regulárneho výrazu späť na štýlované rozsahy stránových objektov a vyberie natívnu alebo redakčnú náhradu |
function MergePdfXfaDatasets(const Packets: TXfaPacketList; const Bindings: TPdfXfaBindings; MaxPacketBytes: Integer = 32 * 1024 * 1024): TXfaPacketList | Zlúči eskapované SOM väzby listov pri zachovaní všetkých nedotknutých XFA paketov |
function RewritePdfXfaPacketStreams(Source, Destination: TStream; const Packets: TXfaPacketList; MaxTotalPacketBytes: Int64 = 256 * 1024 * 1024): Boolean | Transakčne pridá nahradené streamy XFA paketov nešifrovaného PDF |
function GeneratePdfBarcode(Kind: TPdfBarcodeKind; const Text: string; ModuleSize: Double; Provider: IPdfBarcodeProvider = nil): TPdfBarcodeRects | Vygeneruje vstavané vektory Code 128-B a deleguje dvojrozmerné symbológie na poskytovateľa |
function RecognisePdfBarcodes(const Pixels: TBytes; Width, Height, Stride: Integer; Provider: IPdfBarcodeProvider; MaxResults: Integer = 256): TPdfBarcodeResults | Deleguje rozpoznávanie čiarových kódov pri vynútení geometrie obrazu a limitov výsledkov |
procedure ValidatePdfPortfolio(const Portfolio: TPdfPortfolio; MaxItems: Integer = 100000; MaxEmbeddedBytes: Int64 = 1024 * 1024 * 1024) | Overí definície polí, hodnoty, počty položiek a rozpočty vložených dát |
procedure SortPdfPortfolio(var Portfolio: TPdfPortfolio) | Vytvorí deterministické zobrazenie Collection pomocou nakonfigurovaného poľa a smeru zoraďovania |
function ExtractPdfRichMediaAssets(const Assets: TPdfRichMediaAssets; const OutputDirectory: string; MaxAssetBytes: Int64 = 256 * 1024 * 1024; MaxTotalBytes: Int64 = 1024 * 1024 * 1024): TPdfRichMediaExtractedArray | Zapíše vložené prostriedky bez vykonávania obsahu, riešenia externých odkazov alebo umožnenia úniku z adresára |
Všetky API s veľkým objemom vynucujú pre volajúceho viditeľné limity pred alokáciou alebo zápisom výstupu
Platformové kodeky, farebné enginy, nástroje na podmnožiny fontov, enginy regulárnych výrazov, knižnice maticových čiarových kódov a rozpoznávače sú explicitné rozhrania, takže hostitelia si môžu zvoliť svoj auditovaný backend