PDFium Delphi Component 文件

FPdfStandardsExecution 单元

供格式专用验证器之上的标准工作流使用的执行、修复、映射、验证和有界处理原语

Exceptions and enumerations

TypeValues or purpose
EPdfStandardsExecution在输入无效、超出限制、转换失败或执行状态不受支持时引发的异常
TPdfMeasureFormatKindpmfkDecimal, pmfkFraction, pmfkPercentage
TPdfAutoTagObjectKindpatokText, patokImage, patokPath, patokForm, patokAnnotation
TPdfHistoricalEvidenceKindphekCertificate, phekOcsp, phekCrl
TPdfEInteractiveIssues包含 peiiExternalMultimedia、peiiAnnotationFlags、peiiMissingAppearance、peiiUnsupportedU3d、peiiEncryption、peiiInvalidSignature 和 peiiDocMdp 的集合

Measurement and geospatial types

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 repair and text-semantics types

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 tagging and form-repair types

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 的动态数组

External profile and historical-evidence types

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, and PDF/R types

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

Top-level routines

RoutineDescription
ConvertPdfMeasurement对测量值应用选定的转换因子
FormatPdfMeasurement使用配置的前缀、单位标签和后缀格式化十进制、分数和百分比值
PdfPageToGeo通过 GeoPDF 视口把页面点映射为地理坐标
PdfGeoToPage把地理坐标映射回 GeoPDF 页面视口
QueryPdfGeoViewports返回与页面和点匹配的视口索引
ExecutePdfARepairPlan在快照下执行自动修复步骤,并在某个步骤或验证失败时回滚
RepairPdfTextSemantics通过调用方提供方协调有界的字体、ToUnicode 和 ActualText 修复
BuildPdfUa2AutoTagPlan构建经置信度过滤的阅读顺序、角色、Artifact 和 MCID 决策
BuildPdfUa2FormRepairPlan构建表单标签、工具提示、结构角色、Tab 键顺序和置信度值
ResolvePdfXExternalProfile获取有界的外部 ICC 数据并验证期望的 SHA-256 值
ValidatePdfHistoricalEvidence检查证书、OCSP、CRL、时间窗口和 VRI 归属证据
QueryPdfDParts执行有界的 DPM 元数据查询
BuildPdfDPartResourceCacheKey为 DPart 记录构建稳定的、感知作用域的资源缓存键
ValidatePdfEInteractiveFacts报告独立的多媒体、注释、U3D、加密、签名和 DocMDP 失败项
StreamPdfRasterStrip在严格的调用方内存上限下复制完整的 PDF/R 行