תהליכי עבודת ייצור מוגבלים עבור גרפיקה, תוכן מסמכים, חבילות אינטראקטיביות ומדיה מוטמעת
| Declaration | Values or purpose |
EPdfProduction | חריג שמועלה עבור קלט ייצור לא חוקי, תקציבי בטיחות שמוצו, פעולות לא נתמכות ופלט backend שנדחה |
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 | מערך דינמי של 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 | מערך דינמי של TPdfSvgPathCommand |
| Declaration | Public fields or members |
TPdfStyledSpan | PageIndex: Integer, ObjectIndex: Integer, CharacterStart: Integer, Text: WideString, StyleID: Integer |
TPdfStyledSpans | מערך דינמי של TPdfStyledSpan |
TPdfRegexMatch | StartIndex: Integer, Length: Integer, Replacement: WideString |
TPdfRegexMatches | מערך דינמי של TPdfRegexMatch |
TPdfStyledReplacement | Mode: TPdfReplacementMode, PageIndex: Integer, FirstObjectIndex: Integer, LastObjectIndex: Integer, FirstCharacter: Integer, CharacterCount: Integer, Replacement: WideString, StyleID: Integer, LastPageIndex: Integer |
TPdfStyledReplacements | מערך דינמי של TPdfStyledReplacement |
TPdfXfaBinding | SomPath: string, Value: string |
TPdfXfaBindings | מערך דינמי של TPdfXfaBinding |
| Declaration | Public fields or members |
TPdfBarcodeRect | Left: Double, Top: Double, Right: Double, Bottom: Double |
TPdfBarcodeRects | מערך דינמי של TPdfBarcodeRect |
TPdfBarcodeResult | Kind: TPdfBarcodeKind, Text: string, Bounds: TPdfBarcodeRect, Confidence: Double |
TPdfBarcodeResults | מערך דינמי של TPdfBarcodeResult |
TPdfPortfolioField | Name: string, DisplayName: string, FieldType: TPdfPortfolioFieldType, Order: Integer, Visible: Boolean, Editable: Boolean |
TPdfPortfolioFields | מערך דינמי של TPdfPortfolioField |
TPdfPortfolioValue | FieldName: string, Value: string |
TPdfPortfolioValues | מערך דינמי של TPdfPortfolioValue |
TPdfPortfolioItem | FileName: string, Description: string, Values: TPdfPortfolioValues, EmbeddedData: TBytes |
TPdfPortfolioItems | מערך דינמי של 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 | מערך דינמי של TPdfRichMediaAsset |
TPdfRichMediaExtracted | Name: string, MimeType: string, Size: Int64, Sha256: string |
TPdfRichMediaExtractedArray | מערך דינמי של TPdfRichMediaExtracted |
| Interface | Method | Purpose |
IPdfColourTransform | function Transform(const Source: TPdfColourBuffer; TargetSpace: TPdfColourSpace; const TargetProfile: TBytes; out Target: TPdfColourBuffer): Boolean | ממיר מאגר מקור מאומת למרחב הצבע ולפרופיל המבוקשים |
IPdfFontSubsetBackend | function Subset(const FontProgram: TBytes; const Glyphs: TPdfGlyphInfos; out SubsetProgram: TBytes): Boolean | בונה תוכנית גופן המכילה את סגירת הגליפים המבוקשת |
IPdfRegexEngine | function FindMatches(const Text, Pattern, Replacement: WideString; MaxMatches: Integer): TPdfRegexMatches | מחזיר התאמות ביטוי רגולרי מוגבלות היקף וטקסט החלפה |
IPdfBarcodeProvider | function Generate(Kind: TPdfBarcodeKind; const Text: string; ModuleSize: Double; out Rects: TPdfBarcodeRects): Boolean | מייצר מלבני מודולים של ברקוד עבור סימבולוגיה נתמכת |
function Recognise(const Pixels: TBytes; Width, Height, Stride: Integer; MaxResults: Integer): TPdfBarcodeResults | מזהה תוצאות ברקוד מוגבלות היקף ממאגר פיקסלים בבעלות הקורא |
| 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 | מריץ מאגר צבע דרך transform שמסופק על ידי הקורא ובונה נתוני OutputIntent תואמים תוך שימור המקור במקרה כשל |
function SubsetExistingPdfFont(const FontProgram: TBytes; const UsedGlyphs: TPdfGlyphInfos; Backend: IPdfFontSubsetBackend; const Options: TPdfFontSubsetOptions; out ResultProgram: TBytes; out GlyphClosure: TPdfGlyphInfos; out Report: TPdfFontSubsetReport): Boolean | בונה סגירת גליפים ייחודית ממוינת ומקבל תת-קבוצה רק כאשר היא חוקית וקטנה יותר |
function ParsePdfSvgPath(const Data: string; MaxCommands: Integer = 100000): TPdfSvgPathCommands | מפרש פקודות move, line, cubic, quadratic ו-close מוגבלות היקף עם תמיכה בקואורדינטות יחסיות |
function ExportPdfSvgPath(const Commands: TPdfSvgPathCommands): string | מסדר פקודות נתיב לתחביר נתיב SVG אבסולוטי |
procedure TransformPdfSvgPath(var Commands: TPdfSvgPathCommands; A, B, C, D, E, F: Double) | מחיל מטריצה אפינית על כל קואורדינטה בנתיב SVG מפורש |
function BuildStyledRegexReplacementPlan(const Spans: TPdfStyledSpans; const Pattern, Replacement: WideString; Engine: IPdfRegexEngine; MaxCharacters: Integer = 16 * 1024 * 1024; MaxMatches: Integer = 100000): TPdfStyledReplacements | ממפה התאמות ביטוי רגולרי בחזרה אל פריטי אובייקטי עמוד מעוצבים ובוחר החלפה מקורית או החלפה מבוססת הסתרה |
function MergePdfXfaDatasets(const Packets: TXfaPacketList; const Bindings: TPdfXfaBindings; MaxPacketBytes: Integer = 32 * 1024 * 1024): TXfaPacketList | ממזג כריכות עלים של SOM עם בריחת תווים תוך שימור כל מנה XFA שלא בוצע בה שינוי |
function RewritePdfXfaPacketStreams(Source, Destination: TStream; const Packets: TXfaPacketList; MaxTotalPacketBytes: Int64 = 256 * 1024 * 1024): Boolean | מוסיף זרמי מנות XFA מוחלפים טרנזקציונלית ל-PDF לא מוצפן |
function GeneratePdfBarcode(Kind: TPdfBarcodeKind; const Text: string; ModuleSize: Double; Provider: IPdfBarcodeProvider = nil): TPdfBarcodeRects | מייצר וקטורים מובנים של Code 128-B ומאציל סימבולוגיות דו-ממדיות ל-provider |
function RecognisePdfBarcodes(const Pixels: TBytes; Width, Height, Stride: Integer; Provider: IPdfBarcodeProvider; MaxResults: Integer = 256): TPdfBarcodeResults | מאציל זיהוי ברקוד תוך אכיפת גיאומטריית התמונה ותקרות התוצאה |
procedure ValidatePdfPortfolio(const Portfolio: TPdfPortfolio; MaxItems: Integer = 100000; MaxEmbeddedBytes: Int64 = 1024 * 1024 * 1024) | מאמת הגדרות שדות, ערכים, ספירות פריטים ותקציבי מטען מוטמע |
procedure SortPdfPortfolio(var Portfolio: TPdfPortfolio) | יוצר תצוגת Collection דטרמיניסטית באמצעות שדה המיון והכיוון שהוגדרו |
function ExtractPdfRichMediaAssets(const Assets: TPdfRichMediaAssets; const OutputDirectory: string; MaxAssetBytes: Int64 = 256 * 1024 * 1024; MaxTotalBytes: Int64 = 1024 * 1024 * 1024): TPdfRichMediaExtractedArray | כותב נכסים מוטמעים מבלי להריץ תוכן, לפענח הפניות חיצוניות או לאפשר יציאה מהספרייה |
כל ה-API בנפח גבוה אוכפים מגבלות גלויות לקורא לפני הקצאת זיכרון או כתיבת פלט
מקודדי פלטפורמה, מנועי צבע, מקטיני גופנים, מנועי ביטוי רגולרי, ספריות ברקוד מטריציוני ומזהים הם ממשקים מפורשים כדי שמארחים יוכלו לבחור את ה-backend המבוקר שלהם