THotPDF Advanced Published Properties

עמוד זה מרכז מאפייני THotPDF published חדשים יותר או ייחודיים לתהליכי עבודה שאין להם עמוד topic נפרד. הם חלק ממשטח הרכיב וניתן להקצות אותם מ-Delphi, מ-C++Builder או מ-Object Inspector כאשר הדבר רלוונטי

Encryption and Version Control

Property Type Default תיאור
UseAES256R6 Boolean false Selects the PDF 2.0 R=6 AES-256 security-handler algorithm when CryptKeyLength is aes256. Leave it off for the broader Acrobat 9+ R=5 compatibility path; turn it on for workflows that require the R=6 algorithm
StrictVersionLock Boolean false Controls feature version gating. With the default value, HotPDF can raise Version automatically when a feature needs a newer PDF version. When set to true, feature methods that would require a newer PDF version refuse to emit instead of promoting the file

Metadata, Tagged PDF, and Standards

Property Type Default תיאור
EnableXMPMetadata Boolean false Writes a PDF 1.4+ XMP /Metadata stream during EndDoc. The generated packet is built from the document information fields unless CustomXMP supplies a caller-authored packet
CustomXMP AnsiString empty Provides a verbatim XMP packet for the Catalog metadata stream. Use it only when EnableXMPMetadata is enabled or when a conformance property enables XMP output automatically
Lang AnsiString empty Sets the Catalog /Lang natural-language tag, such as en-US, de, or zh-CN. It is also used by PDF/UA and tagged-PDF workflows
EnableTaggedPDF Boolean false Enables the tagged-PDF wrapper entries, including /MarkInfo and /StructTreeRoot. Actual semantic content still comes from structure-element and marked-content calls such as AddStructureElement and page marked-content helpers
PDFUACompliance Boolean false Turns on HotPDF's high-level PDF/UA-1 producer-side defaults, including tagged PDF, XMP metadata, a document language default, and display-title viewer preference handling
PDFACompliance AnsiString empty Selects PDF/A conformance handling. Supported values include A, B, 2A, 2B, 2U, 3A, 3B, and 3U. Empty disables PDF/A enforcement
PDFXCompliance AnsiString empty Selects PDF/X prepress handling. Supported values are X-1a, X-3, and X-4. The property enables matching metadata, version requirements, encryption restrictions, and Trapped validation
Trapped AnsiString empty Writes the PDF/X DocInfo trapped state. Use True, False, or Unknown when PDFXCompliance is enabled

Compression and Copy Handling

Property Type Default תיאור
CompressionLevel TPDFCompressionLevel clDefault Selects the zlib-backed Flate compression level used by enhanced compression paths. Valid values are clNone, clFastest, clDefault, and clMaximum
EnableStructuredContent Boolean true Controls whether the version-manager enhanced mode keeps structured-content support enabled for the current PDF version. Older document modes can turn it off automatically
EnableTransparency Boolean true Controls whether transparency-capable output paths stay enabled for the current document mode and PDF version
EnableOptionalContent Boolean false Controls optional-content support for PDF 1.5+ workflows. Version switching can update it through the document feature manager
DecompressForCopy Boolean true When copying from loaded documents, allows HotPDF to decompress source object streams as needed so page-copy and extraction operations can materialize reusable objects
OriginallyCompressed Boolean false Read-only flag set by the loader when source content was originally compressed and had to be decompressed for copy or analysis

Document Information

Property Type Default תיאור
Information Boolean true Controls whether HotPDF writes the document information dictionary during save. Page extraction and split workflows turn it off on generated output documents when they need a content-only copy

PDF/A Default Color Spaces

RegisterDefaultColorSpace - Maps DefaultGray, DefaultRGB, or DefaultCMYK to an ICCBased color space registered by RegisterICCProfile, so Device color use can be made explicit before PDF/A color checks

UsedDeviceGray, ‏UsedDeviceRGB, ‏UsedDeviceCMYK - דגלים read-only שמראים אם נעשה שימוש בתוכן DeviceGray, ‏DeviceRGB או DeviceCMYK בזמן בניית המסמך

Text shaping and compact font output

ShapingFeatures documents the current GSUB/GPOS shaping flags, including typographic feature flags, figure-style flags, complex-script preprocess flags, sfKerning, sfMarkPositioning, sfTibetanShaping, sfMongolianShaping, and sfIndicGSUB

SimpleLatinFonts documents the compact Base14 / WinAnsi path for printable ASCII text

מתודות preprocess של script shaping מכסות AutoShapeNko, ‏AutoShapeAdlam, ‏AutoShapeHanifiRohingya ודגלי preprocess עבור Thai/Lao, Hebrew, Javanese, Tai Viet, Meetei Mayek, Khmer ו-Myanmar; עמוד GPOS מכסה כעת contextual ו-vertical kerning וכן mark-to-ligature placement

Runtime State

AutoShapeArabic מפעיל shaping בערבית בצד producer לפני פלט טקסט. IsHaveSimpleText ו-IsEncrypted חושפים מצב simple-text והצפנה עבור המסמך הנוכחי או הטעון

Prepress and Graphics-State Helpers

RegisterSoftMaskState, RegisterTransferFunctionState, RegisterHalftoneType1, RegisterHalftoneState, and RegisterPrintControlState register specialised ExtGState or halftone resources for transparency, transfer-function, screening, overprint, stroke-adjustment, rendering-intent, and flatness workflows

OutputIntent Helpers

AddPDFAOutputIntent ו-AddPDFXOutputIntent עוטפים רישום ICC profile יחד עם יצירת Catalog /OutputIntents עבור הפקת PDF/A ו-PDF/X. השתמש בהם לפני EndDoc בכל פעם שמאפיין התאימות המתאים מופעל

Type 3 Font Glyphs

RegisterType3Font יוצר resource של Type 3 font שמוגדר על ידי הקורא, ו-AddType3Glyph מוסיף את content streams של glyphs בודדים. בחר את ה-resource על עמוד באמצעות THPDFPage.SetType3Font לפני כתיבת טקסט

PDF/A Convenience and Associated Files

PDFAConformanceLevel, ‏IsPDFA1Strict ו-IsPDFA2OrLater חושפים את חלק PDF/A הפעיל ואת ענף conformance עבור לוגיקת הקורא. EnsurePDFAImplementationLimits בודק implementation limits של PDF/A-2 ו-PDF/A-3 עבור metadata strings, ‏/Lang ו-page boxes לפני EndDoc. ‏AddPDFA3AssociatedFile מצרף associated files של PDF/A-3 Annex E עם /AFRelationship, בעוד AddXAdESAssociatedFile מטמיע XAdES XML שנוצר על ידי הקורא כ-associated file עבור תהליכי XAdES-in-PDF

See Also