|
THotPDF Advanced Workflow Methods
This page collects advanced public THotPDF methods that support loaded-document repair, file-backed rewriting, xref-stream parsing, conformance output, and shaping workflows
Prefer the task-focused pages such as page operation methods, loaded form field methods, utility methods, and ShapingFeatures for common application code
Loaded Document Resolution
| Method |
Usage |
DoPageOperationProgress | Supports loaded-document resolution, form-field lookup, encryption metadata, or object-number bookkeeping in advanced workflows |
ResolveLoadedObject | Supports loaded-document resolution, form-field lookup, encryption metadata, or object-number bookkeeping in advanced workflows |
ResolveLoadedDictionary | Supports loaded-document resolution, form-field lookup, encryption metadata, or object-number bookkeeping in advanced workflows |
ResolveLoadedArray | Supports loaded-document resolution, form-field lookup, encryption metadata, or object-number bookkeeping in advanced workflows |
EnsureLoadedRootIndex | Supports loaded-document resolution, form-field lookup, encryption metadata, or object-number bookkeeping in advanced workflows |
MaterializeLazyStreams | Supports loaded-document resolution, form-field lookup, encryption metadata, or object-number bookkeeping in advanced workflows |
FindLoadedFormFieldByIndex | Supports loaded-document resolution, form-field lookup, encryption metadata, or object-number bookkeeping in advanced workflows |
FindLoadedFormFieldByName | Supports loaded-document resolution, form-field lookup, encryption metadata, or object-number bookkeeping in advanced workflows |
ConfigurePDFVersion | Supports loaded-document resolution, form-field lookup, encryption metadata, or object-number bookkeeping in advanced workflows |
RecoverReloadFEKFromBytes | Supports loaded-document resolution, form-field lookup, encryption metadata, or object-number bookkeeping in advanced workflows |
LoadedEncryptVersion | Supports loaded-document resolution, form-field lookup, encryption metadata, or object-number bookkeeping in advanced workflows |
IsObjStmMemberObject | Supports loaded-document resolution, form-field lookup, encryption metadata, or object-number bookkeeping in advanced workflows |
SyncMaxObjNumFromLoadedObjects | Supports loaded-document resolution, form-field lookup, encryption metadata, or object-number bookkeeping in advanced workflows |
Direct File State and Rewrite
| Method |
Usage |
ClearDirectFileState | Supports file-backed direct rewriting, AES-256 encryption or decryption, and object-source state handling |
GetDirectFileIndex | Supports file-backed direct rewriting, AES-256 encryption or decryption, and object-source state handling |
DAFindReplacementIndex | Supports file-backed direct rewriting, AES-256 encryption or decryption, and object-source state handling |
DAReadObjectSource | Supports file-backed direct rewriting, AES-256 encryption or decryption, and object-source state handling |
DAStoreObjectSource | Supports file-backed direct rewriting, AES-256 encryption or decryption, and object-source state handling |
DAAppendObjectSourceInternal | Supports file-backed direct rewriting, AES-256 encryption or decryption, and object-source state handling |
DATryBuildCompressedFileState | Supports file-backed direct rewriting, AES-256 encryption or decryption, and object-source state handling |
DADirectLoadObjectFromBody | Supports file-backed direct rewriting, AES-256 encryption or decryption, and object-source state handling |
DARecoverAES256FileKey | Supports file-backed direct rewriting, AES-256 encryption or decryption, and object-source state handling |
DADirectPrepareObjectForAES256Encrypt | Supports file-backed direct rewriting, AES-256 encryption or decryption, and object-source state handling |
DADirectDecryptObjectAES256 | Supports file-backed direct rewriting, AES-256 encryption or decryption, and object-source state handling |
DAWriteDirectAES256Rewrite | Supports file-backed direct rewriting, AES-256 encryption or decryption, and object-source state handling |
DADirectEncryptFileAES256 | Supports file-backed direct rewriting, AES-256 encryption or decryption, and object-source state handling |
DADirectDecryptFileAES256 | Supports file-backed direct rewriting, AES-256 encryption or decryption, and object-source state handling |
DAWriteFullRewrite | Supports file-backed direct rewriting, AES-256 encryption or decryption, and object-source state handling |
XRef Stream and Object Parsing
| Method |
Usage |
LoadXRefStreamDocument | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
LoadXRefStreamDocumentFromFile | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
LoadXRefStreamDocumentEncFromFile | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
XRefProbeObjCount | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
XRefProbeObjNum | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
XRefProbeCompactCount | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
XRefProbeType2Mismatches | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
XRefProbeObjHasKey | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
XRefProbeObjNameVal | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
XRefProbeCompactObjNum | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
XRefProbeType2EncryptedSkipped | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
XRefProbeCountReplacementChars | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
XRefProbeObjStringVal | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
XRefProbeDecryptObjStmSkips | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
TryParseModernPDF | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
CreateBasicPageContent | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
CreatePDF16PageReference | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
CreateBasicResources | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
CreatePDF16Resources | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ParseSimplePageObject | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ParseRealPageContent | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ProcessObjectStreamsForDecompression | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ScanAndLoadReferencedObjects | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ForceLoadMissingReferencedObjects | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
FindAllObjectStreams | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ExtractStreamParameters | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ProcessFlateDecode | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
AnalyzePageObject | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ExtendPageArr | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ParseSimpleDictionary | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ParseSimpleArray | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ParseSimpleStream | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
FindAndProcessObjectStream | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ExtractObjectFromStream | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ExtractRawObjectFromStream | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
IsObjectInStream | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
GetObjectFromStream | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ParseModernPageObject | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
IntelligentDecompress | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
DecompressFlateDecode | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ParseObjectStream | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ReorderPageArrByPagesTree | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
GetCorrectPageOrderFromPagesTree | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
GetPageObjectId | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
GetPageArrIndexForObjectNumber | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ExtractNumericValue | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ParseDecompressedObjects | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
LoadCompressedXrefStream | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
LoadObjectStreamsDirectly | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ParseXrefStreamData | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
ProcessObjectStreamObjects | Supports xref-stream and object-stream parsing, recovery, and diagnostics for modern PDF files |
Conformance and Font Output
| Method |
Usage |
BuildAndApplyUnicodeFontSubset | Supports Unicode font-subset sharing and PDF/A, PDF/X, or PDF/UA conformance checks during output |
EnsurePDFUATabsOnAnnotatedPages | Supports Unicode font-subset sharing and PDF/A, PDF/X, or PDF/UA conformance checks during output |
EnsurePDFAOutputIntent | Supports Unicode font-subset sharing and PDF/A, PDF/X, or PDF/UA conformance checks during output |
EnsurePDFAColorSpaceConsistency | Supports Unicode font-subset sharing and PDF/A, PDF/X, or PDF/UA conformance checks during output |
EmitDocumentDefaultColorSpaces | Supports Unicode font-subset sharing and PDF/A, PDF/X, or PDF/UA conformance checks during output |
EnsurePDFXOutputIntent | Supports Unicode font-subset sharing and PDF/A, PDF/X, or PDF/UA conformance checks during output |
EnsurePDFXPageBoxes | Supports Unicode font-subset sharing and PDF/A, PDF/X, or PDF/UA conformance checks during output |
Advanced Shaping Helpers
| Method |
Usage |
ApplyArabicGSUBPositional | Supports advanced GSUB shaping, glyph mapping, and synthetic-codepoint workflows before text emission |
ArabicGSUBShapeToGIDs | Supports advanced GSUB shaping, glyph mapping, and synthetic-codepoint workflows before text emission |
ApplyArabicGSUBNativeShaping | Supports advanced GSUB shaping, glyph mapping, and synthetic-codepoint workflows before text emission |
ApplyLatinLigatureFeature | Supports advanced GSUB shaping, glyph mapping, and synthetic-codepoint workflows before text emission |
ApplyLatinSingleSubstitutionFeature | Supports advanced GSUB shaping, glyph mapping, and synthetic-codepoint workflows before text emission |
ApplyLatinFractionFeature | Supports advanced GSUB shaping, glyph mapping, and synthetic-codepoint workflows before text emission |
ApplyArabicGSUBRefinement | Supports advanced GSUB shaping, glyph mapping, and synthetic-codepoint workflows before text emission |
See also
|