PDFium Delphi Component Docs

FPdfStandardsExecution unit

Execution, repair, mapping, validation and bounded-processing primitives used by the standards workflows above the format-specific validators

Exceptions and enumerations

TypeValues or purpose
EPdfStandardsExecutionException raised for invalid inputs, exceeded limits, failed conversions and unsupported execution states
TPdfMeasureFormatKindpmfkDecimal, pmfkFraction, pmfkPercentage
TPdfAutoTagObjectKindpatokText, patokImage, patokPath, patokForm, patokAnnotation
TPdfHistoricalEvidenceKindphekCertificate, phekOcsp, phekCrl
TPdfEInteractiveIssuesSet containing peiiExternalMultimedia, peiiAnnotationFlags, peiiMissingAppearance, peiiUnsupportedU3d, peiiEncryption, peiiInvalidSignature and peiiDocMdp

Measurement and geospatial types

TypePublic members
TPdfMeasureNumberFormatUnitLabel, ConversionFactor, FormatKind, Precision, FractionDenominator, Prefix, Suffix
TPdfMeasureNumberFormatsDynamic array of TPdfMeasureNumberFormat
TPdfMeasurementPropertiesRatio, X, Y, D, A, T, V, CY
TPdfGeoPointX, Y
TPdfGeoViewportPageIndex, Left, Bottom, Right, Top, Lpts, Gpts, CoordinateSystem
TPdfGeoViewportsDynamic array of TPdfGeoViewport
TPdfGeoViewportIndexesDynamic array of viewport indexes

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
TPdfTextRepairItemsDynamic array of TPdfTextRepairItem
TPdfTextRepairResultPageIndex, ObjectIndex, FontRepaired, ToUnicodeRepaired, ActualTextRepaired, PreservedPixels, ErrorText
TPdfTextRepairResultsDynamic array of TPdfTextRepairResult
IPdfTextSemanticsRepairProviderRepair

PDF/UA tagging and form-repair types

TypePublic members
TPdfAutoTagObjectPageIndex, ObjectIndex, Kind, Left, Bottom, Right, Top, Text, AlternateText, Confidence
TPdfAutoTagObjectsDynamic array of TPdfAutoTagObject
TPdfAutoTagNodePageIndex, ObjectIndex, ParentIndex, Mcid, RoleName, Artifact, Confidence
TPdfAutoTagNodesDynamic array of TPdfAutoTagNode
TPdfUaFormFieldPageIndex, AnnotationIndex, FieldName, Tooltip, Contents, TabOrder
TPdfUaFormFieldsDynamic array of TPdfUaFormField
TPdfUaFormRepairPageIndex, AnnotationIndex, LabelText, TooltipText, ContentsText, StructRole, TabOrder, Confidence
TPdfUaFormRepairsDynamic array of TPdfUaFormRepair

External profile and historical-evidence types

TypePublic members
IPdfExternalProfileResolverResolve
TPdfExternalProfileRequestUri, ExpectedSha256, Colourants, MaxBytes
TPdfExternalProfileResultProfile, Sha256, ComponentCount, IsMulticolour
TPdfHistoricalEvidenceKind, Data, ProducedAt, ThisUpdate, NextUpdate
TPdfHistoricalEvidenceArrayDynamic array of TPdfHistoricalEvidence
TPdfHistoricalVriSignatureContents, EvidenceIndexes
TPdfHistoricalVrisDynamic array of TPdfHistoricalVri
TPdfHistoricalEvidenceReportValidEvidence, InvalidEvidence, VriOwnershipValid, ErrorText
IPdfHistoricalEvidenceValidatorValidate

PDF/VT, PDF/E, and PDF/R types

TypePublic members
TPdfDPartMetadataName, Value
TPdfDPartMetadataArrayDynamic array of TPdfDPartMetadata
TPdfDPartRecordObjectNumber, PageStart, PageEnd, GtsXid, GtsScope, Metadata
TPdfDPartRecordsDynamic array of TPdfDPartRecord
TPdfDPartQueryName, Value, MaxResults
TPdfDPartQueryResultsDynamic array of matching record indexes
TPdfEInteractiveFactsAllMultimediaEmbedded, AnnotationFlagsValid, AppearancesPresent, U3dVersionSupported, EncryptionAllowed, SignaturesValid, DocMdpAllowsChanges
TPdfRasterStripInfoWidth, Height, BytesPerPixel, RowStride, Generation, PageObjectNumber, ImageObjectNumber, ContentStreamCount, HasInheritedResources
TPdfRasterStripReportRowsCopied, PeakBufferBytes, BytesCopied

Top-level routines

RoutineDescription
ConvertPdfMeasurementApplies the selected conversion factor to a measurement value
FormatPdfMeasurementFormats decimal, fractional and percentage values with the configured prefix, unit label and suffix
PdfPageToGeoMaps a page point through a GeoPDF viewport into geographic coordinates
PdfGeoToPageMaps geographic coordinates back into a GeoPDF page viewport
QueryPdfGeoViewportsReturns viewport indexes matching a page and point
ExecutePdfARepairPlanExecutes automatic repair steps under a snapshot and rolls back when a step or validation fails
RepairPdfTextSemanticsCoordinates bounded font, ToUnicode and ActualText repairs through a caller provider
BuildPdfUa2AutoTagPlanBuilds confidence-filtered reading-order, role, artifact and MCID decisions
BuildPdfUa2FormRepairPlanBuilds form labels, tooltips, structure roles, tab order and confidence values
ResolvePdfXExternalProfileRetrieves bounded external ICC data and verifies the expected SHA-256 value
ValidatePdfHistoricalEvidenceChecks certificate, OCSP, CRL, time-window and VRI ownership evidence
QueryPdfDPartsEvaluates bounded DPM metadata queries
BuildPdfDPartResourceCacheKeyBuilds a stable scope-aware resource cache key for a DPart record
ValidatePdfEInteractiveFactsReports independent multimedia, annotation, U3D, encryption, signature and DocMDP failures
StreamPdfRasterStripCopies complete PDF/R rows under a strict caller memory ceiling