PDFium Delphi Component 文件

FPdfStandardsExecution 單元

標準工作流程使用的執行、修復、映射、驗證與有界處理基元,位於各格式專屬驗證器之上

例外與列舉

TypeValues or purpose
EPdfStandardsExecution輸入無效、超出限制、轉換失敗與不支援的執行狀態時引發的例外
TPdfMeasureFormatKindpmfkDecimal, pmfkFraction, pmfkPercentage
TPdfAutoTagObjectKindpatokText, patokImage, patokPath, patokForm, patokAnnotation
TPdfHistoricalEvidenceKindphekCertificate, phekOcsp, phekCrl
TPdfEInteractiveIssues包含 peiiExternalMultimedia、peiiAnnotationFlags、peiiMissingAppearance、peiiUnsupportedU3d、peiiEncryption、peiiInvalidSignature 與 peiiDocMdp 的集合

量測與地理空間型別

TypePublic members
TPdfMeasureNumberFormatUnitLabel, ConversionFactor, FormatKind, Precision, FractionDenominator, Prefix, Suffix
TPdfMeasureNumberFormatsTPdfMeasureNumberFormat 的動態陣列
TPdfMeasurementPropertiesRatio, X, Y, D, A, T, V, CY
TPdfGeoPointX, Y
TPdfGeoViewportPageIndex, Left, Bottom, Right, Top, Lpts, Gpts, CoordinateSystem
TPdfGeoViewportsTPdfGeoViewport 的動態陣列
TPdfGeoViewportIndexes檢視區索引的動態陣列

PDF/A 修復與文字語意型別

TypePublic members
IPdfARepairExecutorCaptureSnapshot, ApplyStep, Validate, RestoreSnapshot
TPdfARepairExecutionReportAppliedSteps, SkippedSteps, RolledBack, ValidationPassed, ErrorText
TPdfTextRepairItemPageIndex, ObjectIndex, FontName, ExtractedText, HasEmbeddedFont, HasToUnicode, HasActualText
TPdfTextRepairItemsTPdfTextRepairItem 的動態陣列
TPdfTextRepairResultPageIndex, ObjectIndex, FontRepaired, ToUnicodeRepaired, ActualTextRepaired, PreservedPixels, ErrorText
TPdfTextRepairResultsTPdfTextRepairResult 的動態陣列
IPdfTextSemanticsRepairProviderRepair

PDF/UA 標籤與表單修復型別

TypePublic members
TPdfAutoTagObjectPageIndex, ObjectIndex, Kind, Left, Bottom, Right, Top, Text, AlternateText, Confidence
TPdfAutoTagObjectsTPdfAutoTagObject 的動態陣列
TPdfAutoTagNodePageIndex, ObjectIndex, ParentIndex, Mcid, RoleName, Artifact, Confidence
TPdfAutoTagNodesTPdfAutoTagNode 的動態陣列
TPdfUaFormFieldPageIndex, AnnotationIndex, FieldName, Tooltip, Contents, TabOrder
TPdfUaFormFieldsTPdfUaFormField 的動態陣列
TPdfUaFormRepairPageIndex, AnnotationIndex, LabelText, TooltipText, ContentsText, StructRole, TabOrder, Confidence
TPdfUaFormRepairsTPdfUaFormRepair 的動態陣列

外部描述檔與歷史證據型別

TypePublic members
IPdfExternalProfileResolverResolve
TPdfExternalProfileRequestUri, ExpectedSha256, Colourants, MaxBytes
TPdfExternalProfileResultProfile, Sha256, ComponentCount, IsMulticolour
TPdfHistoricalEvidenceKind, Data, ProducedAt, ThisUpdate, NextUpdate
TPdfHistoricalEvidenceArrayTPdfHistoricalEvidence 的動態陣列
TPdfHistoricalVriSignatureContents, EvidenceIndexes
TPdfHistoricalVrisTPdfHistoricalVri 的動態陣列
TPdfHistoricalEvidenceReportValidEvidence, InvalidEvidence, VriOwnershipValid, ErrorText
IPdfHistoricalEvidenceValidatorValidate

PDF/VT、PDF/E 與 PDF/R 型別

TypePublic members
TPdfDPartMetadataName, Value
TPdfDPartMetadataArrayTPdfDPartMetadata 的動態陣列
TPdfDPartRecordObjectNumber, PageStart, PageEnd, GtsXid, GtsScope, Metadata
TPdfDPartRecordsTPdfDPartRecord 的動態陣列
TPdfDPartQueryName, Value, MaxResults
TPdfDPartQueryResults符合條件記錄索引的動態陣列
TPdfEInteractiveFactsAllMultimediaEmbedded, AnnotationFlagsValid, AppearancesPresent, U3dVersionSupported, EncryptionAllowed, SignaturesValid, DocMdpAllowsChanges
TPdfRasterStripInfoWidth, Height, BytesPerPixel, RowStride, Generation, PageObjectNumber, ImageObjectNumber, ContentStreamCount, HasInheritedResources
TPdfRasterStripReportRowsCopied, PeakBufferBytes, BytesCopied

頂層常式

RoutineDescription
ConvertPdfMeasurement將選定的轉換係數套用到量測值
FormatPdfMeasurement以設定的前綴、單位標籤與後綴格式化十進位、分數與百分比值
PdfPageToGeo透過 GeoPDF 檢視區將頁面點映射為地理座標
PdfGeoToPage將地理座標映射回 GeoPDF 頁面檢視區
QueryPdfGeoViewports傳回符合頁面與點的檢視區索引
ExecutePdfARepairPlan在快照下執行自動修復步驟,並在步驟或驗證失敗時回復
RepairPdfTextSemantics透過呼叫端提供者協調有界的字型、ToUnicode 與 ActualText 修復
BuildPdfUa2AutoTagPlan建置經信心篩選的閱讀順序、角色、成品與 MCID 決策
BuildPdfUa2FormRepairPlan建置表單標籤、工具提示、結構角色、定位順序與信心值
ResolvePdfXExternalProfile擷取有界的外部 ICC 資料,並驗證預期的 SHA-256 值
ValidatePdfHistoricalEvidence檢查憑證、OCSP、CRL、時間窗與 VRI 擁有權證據
QueryPdfDParts評估有界的 DPM 中繼資料查詢
BuildPdfDPartResourceCacheKey為 DPart 記錄建置穩定且感知範圍的資源快取索引鍵
ValidatePdfEInteractiveFacts分別回報多媒體、註解、U3D、加密、簽章與 DocMDP 的失敗
StreamPdfRasterStrip在嚴格的呼叫端記憶體上限下複製完整的 PDF/R 列