THotPDF 方法

 

THotPDF 方法

 

顶部 

 

Create

Destroy

BeginDoc

EndDoc

AddImage

AddPage

EnablePubKeyEncryption

AddPubKeyRecipient

AddPubKeyRecipientCertificate / AddPubKeyAgreementRecipient

InsertSignatureHexAt / RenewPAdESLTATimestamp

实用方法

字体回退与字形诊断

SetFontFallbackChain / ResolveFontForCodePoint / AnalyzeUnresolvedGlyphs

GetVerticalGlyphMetrics / SetVerticalDefaultMetrics

高级工作流辅助函数与运行时标志

高级工作流方法

PDF MAC:AddStandalonePDFMAC 添加独立认证码,SignPDFWithPFXAndAttachedPDFMAC 创建签名附加的认证修订,ValidatePDFMAC 验证当前修订,ValidatePDFMACChain 验证每个增量修订并报告具体失败

RSA-PSS 签名 / PDF Portfolio 集合 / 阅读顺序诊断

SetPageLabel

SetDecimalPageLabel

SetUpperRomanPageLabel

SetLowerRomanPageLabel

SetUpperLettersPageLabel

SetLowerLettersPageLabel

ClearPageLabels

SetDocumentCloseAction

ClearDocumentCloseAction

SetDocumentWillSaveAction

ClearDocumentWillSaveAction

SetDocumentDidSaveAction

ClearDocumentDidSaveAction

SetDocumentWillPrintAction

ClearDocumentWillPrintAction

SetDocumentDidPrintAction

ClearDocumentDidPrintAction

SetPageAdditionalAction

SetPageOpenAction

SetPageCloseAction

ClearPageAdditionalAction

ClearPageOpenAction

ClearPageCloseAction

RegisterArticleThread

文本塑形与字体输出 API: ShapingFeatures, SimpleLatinFonts, GSUB script/language, GSUB lookup, GPOS, Indic shaping, Tibetan/Mongolian/Syriac shaping, script shaping preprocess, subset and ToUnicode mapping

BeginIncrementalUpdate

MarkDirty

AddLoadedSignedSignatureField

SaveIncrementalUpdate

SaveIncrementalUpdateAuthenticated

GetIncrementalUpdateSourceInfo

GetLastIncrementalXRefRebuildInfo

DecryptLoadedDocument

SanitiseLoadedDocument

ApplyLoadedRedactions

FlattenLoadedPageTransparency

FlattenLoadedPageComplexGraphics

ScrubLoadedRedactionRemnants

AddEDIFACTSupplementaryFile

GetLoadedFacturXAttachments

GetLoadedInvoiceSummary

GetLoadedPDFAIssues

ValidateVisualXmlConsistency

AddUBLSupplementaryFile

ExtractLoadedPageGlyphs

ExtractLoadedPageCharacters

AnalyzeLoadedPageSemanticText

ExtractLoadedPageSemanticText

ExportLoadedPagesStructured

ExtractLoadedTypedTables

ExportLoadedTypedTables

GetImportedResourceDedupStatistics and ClearImportedResourceDedupCache

ExtractLoadedPageText

GetLoadedFontDecoder

GetLoadedFontDecoderCacheInfo

ResetLoadedFontDecoderCacheStatistics

GetLastJPEGReducedDecodeInfo

GetImageDecodeConcurrencyInfo

AcquireLoadedImageStream

AcquireLoadedImageRegionAtResolution

DecodeLoadedImageStreamCached

DecodeLoadedImageRegionAtResolutionCached

GetLoadedPageContentBytes

OpenLoadedPageContentStream

GetLastPageContentSequenceInfo

RenderLoadedPageToBitmap

ReplaceLoadedDocumentText

ReplaceLoadedPageText

SearchLoadedDocumentText

SearchLoadedPageText

WriteRebuiltStream

ExportLoadedFormToXFDF

ImportLoadedFormFromXFDF

ExportLoadedAnnotationsToXFDF

ImportLoadedAnnotationsFromXFDF

Direct File API:DAOpenFileReadOnly、DACloseFile、DACopyFile、DASaveAsFile、DAGetPageCount、DAGetObjectCount、DAGetObjectSource、DAReplaceObjectSource、DAAppendObjectSource、DASetDocumentInfo、DATryBuildTraditionalFileState、DAParseXRefStreamSection、DAReadCompressedObjectBody

需要 file-backed 打开、页数加原始副本工作流、对象源检查或替换、文档信息更新,以及不把每个流载入常规对象图就完整重写输出的大型现有 PDF,请使用 Direct File API

低层 Direct File 辅助函数 DATryBuildTraditionalFileState、DAParseXRefStreamSection 和 DAReadCompressedObjectBody 面向流式工作流:需要构建 THPDFDirectFileState、解析 xref stream section,或在调用更高层 DA* 动作前从对象流读取对象体时使用

ApplyStrictParserBudgetPolicy

ResetParserBudgetPolicy

GetLastParserBudgetStatistics

Preflight 报告方法

ExtractLoadedPageTextLayout

FindLoadedOutlineByTitle

FindLoadedSignatureFieldDict

GetLoadedOutlineTitlesDeep

GetLoadedSignatureFieldName

GetLoadedSignatureInfo

InvalidateRenderedPageCache

ReadLoadedSignatureDict

RenderLoadedPageToBitmapCached

GetLastOperationTelemetry

GetLastRenderFallbackDiagnostics

ClearLastRenderFallbackDiagnostics

RenderColourIntent

RenderFallbackPolicy

RenderFallbackDiagnosticLimit

LastRenderFallbackDroppedCount

ResolveLoadedOutlineDestPage

SaveAllLoadedEmbeddedFiles

SaveLoadedPageToPng

SaveLoadedPageToPngStream

SaveLoadedPagesToTiff

SaveLoadedPagesToTiffBanded

SaveLoadedPagesToTiffStream

SaveLoadedPagesToTiffStreamBanded

VerifyAllLoadedSignatures

VerifyLoadedSignature

VerifyLoadedSignatureEx

VerifyLoadedSignatureWithTrust

GetLoadedSignaturePermissions

AnalyzeLoadedSignatureRevisions

Page operation methods

FindLoadedBookmarkPageIndex

GetLoadedPageBox

Loaded form field methods

SetFormFieldTooltip

SetFormFieldAdditionalAction

ClearFormFieldAdditionalAction

SetFormFieldKeyStrokeAction

ClearFormFieldKeyStrokeAction

SetFormFieldFormatAction

ClearFormFieldFormatAction

SetFormFieldValidateAction

ClearFormFieldValidateAction

SetFormFieldCalculateAction

ClearFormFieldCalculateAction

SetFormFieldAnnotationAction

ClearFormFieldAnnotationAction

SetFormFieldMouseEnterAction

ClearFormFieldMouseEnterAction

SetFormFieldMouseExitAction

ClearFormFieldMouseExitAction

SetFormFieldMouseDownAction

ClearFormFieldMouseDownAction

SetFormFieldMouseUpAction

ClearFormFieldMouseUpAction

SetFormFieldSetFocusAction

ClearFormFieldSetFocusAction

SetFormFieldLostFocusAction

ClearFormFieldLostFocusAction

RegisterFormXObject

RegisterLineGraphicsState

RegisterOptionalContentRadioGroup

BeginOptionalContentOrderGroup

EndOptionalContentOrderGroup

AddLayerToOptionalContentOrder

SetOptionalContentGroupUsage

HPDFEscapeLoadedText

MakeLoadedContentsArray

EnsureUncompressedLoadedStream

HPDFEllipseToOps

ExtractLoadedPageTextColumns

SearchLoadedPageTextWholeWord

GetLoadedSearchHitRect

EnumLoadedPageElements

SearchAndRedactReplaceLoaded

GetLoadedPageTextInRegion

SearchLoadedFirst

SaveLoadedPagesAsImages

GetLoadedPageMetafile

RenderLoadedPageToDC

RenderLoadedPageToClipboard

PrintLoadedDocument

EnumerateSystemCertificates

GetLoadedTrapped

GetLoadedDocumentMetadataXML

GetLoadedCollectionInfo

GetLoadedCollectionSchemaFieldCount

GetLoadedCollectionSchemaFieldInfo

GetLoadedCollectionItemMetadata

GetLoadedOutlineChild

RotateLoadedPages

SetLoadedPageBoxForRange

TwipsToPoints

PointsToTwips

PixelsToPoints

PointsToPixels

ToPDFUnit

FromPDFUnit

AddLoadedOutline

SetLoadedOutlineDestination

SetLoadedOutlineURI

ResolveLoadedNamedDestination

AddLoadedNamedDestination

GetLoadedBookmarkPageIndex

GetLoadedPageCount

DuplicateLoadedPage

AddLoadedBlankPage

SetLoadedPageRotationValue

GetLoadedPageBoxRect

GetLoadedPageVisibleBox

GetLoadedEncryptionMethod

GetLoadedFileStructureInfo

GetLoadedXRefRecoveryInfo

SetLoadedPDFVersion

GetLoadedPageLabel

EnsureLoadedFieldAppearanceStream

RecalculateLoadedFormFields

EvaluateLoadedFieldJavaScript

FlattenLoadedFormFields

GetLoadedAnnotationAppearanceStream

Loaded RichMedia asset methods

GetLoadedRichMediaAssetCount

GetLoadedRichMediaAssetInfo

ExtractLoadedRichMediaAsset

SanitiseLoadedRichMediaAnnotations

ApplyLoadedFieldValidation

ApplyLoadedFieldCalculation

AddLoadedRubberStampAnnotation

SetLoadedAnnotationCloudyBorder

SetLoadedLineAnnotationCaps

AttachLoadedAnnotationMeasure

StitchLoadedPageSideBySideEx

StampLoadedPageText

StampLoadedPageShape

StampLoadedPagesText

StampLoadedPagesComposite

StampLoadedPageImage

InsertLoadedText

GetLoadedPageContentLength

StampLoadedPageImageFromFile

GetLoadedPageRotationValue

CompressLoadedDocument

ExtractLoadedImageToStream

OpenLoadedStreamSourceSlice

GetLoadedStreamFilterStatistics

OptimizeLoadedStreams

CompressFlateHighRatio

Advanced text, document layout, streaming, pagination diagnostics, paragraph direction, and PDF/UA helpers

ConfigureParagraphPagination

ConfigureParagraphDirection

ConfigureParagraphTextLayout

DetectParagraphDirection

GetLayoutDiagnostics

BeginTaggedParagraph

BeginPaginationArtifact

GrowXRefIfNeeded