Enterprise 에디션: 이 unit은 Lib\Enterprise에 들어 있으며 FPdfEnterprise와 PDFiumPasEnt / PDFiumLazEnt 패키지가 링크합니다. 에디션 매트릭스를 보세요
TPdfTagCaptionPrefixes= array of WideString;
TPdfAutoTagHierarchyOptions= record
MaxNodes, MaxTextCharacters, MaxHeadingCharacters: Integer;
BodyFontSize, Heading1Ratio, Heading2Ratio, Heading3Ratio: Double;
ParagraphGapRatio, ParagraphIndentRatio, CaptionGapRatio: Double;
InferHeadings, GroupParagraphs, InferCaptions: Boolean;
CaptionPrefixes: TPdfTagCaptionPrefixes;
class function Default: TPdfAutoTagHierarchyOptions; static;
end;
function BuildPdfUa2HierarchyPlan(const Objects: TPdfAutoTagObjects;
const Options: TPdfAutoTagHierarchyOptions;
MinimumConfidence: Double= 0.5): TPdfAutoTagNodes;
BuildPdfUa2HierarchyPlan은 임의의 입력 순서와 고유한 페이지/오브젝트 식별자를 받고, 자격을 갖춘 오브젝트를 정확히 한 번씩 유지하며 부모를 자식보다 앞에 배치합니다
FontSize는 선택적인 양수 힌트입니다. 0이면 오브젝트 높이로 대체하고, BodyFontSize가 0이면 자격을 갖춘 텍스트 크기의 중앙값에서 본문 크기를 추정합니다
기본값: MaxNodes 100000, MaxTextCharacters 1048576, MaxHeadingCharacters 160, BodyFontSize 0, 제목 비율 1.8/1.5/1.2, ParagraphGapRatio 0.8, ParagraphIndentRatio 1.5, CaptionGapRatio 2
InferHeadings, GroupParagraphs, InferCaptions는 기본 True이며 Figure와 Fig. 접두어를 사용합니다. 캡션은 인접한 기술 대상 Figure가 필요하고 그 Figure의 Caption 자식이 됩니다
제목과 캡션의 신뢰도는 최대 0.75, 문단 컨테이너는 최대 0.8입니다. MinimumConfidence는 입력을 걸러내고 더 약한 휴리스틱 추가를 억제합니다
절대 상한은 소스 오브젝트/노드 1000000개, 텍스트 문자 16777216개, 제목 문자 4096개, 비어 있지 않은 캡션 접두어 32개, 총 접두어 문자 4096개입니다
제목 비율은 1.01부터 100까지 내림차순이어야 합니다. 본문 크기는 0~1000000, 문단 간격은 0~10, 들여쓰기/캡션 비율은 0~100입니다
지오메트리, 글꼴 힌트, 비율, 중복 식별자, 확장된 노드 예산을 검증합니다. 이 휴리스틱은 검토가 필요하며 읽기 순서나 PDF/UA 정확성을 보장하지 않습니다
| Type | Values or purpose |
|---|---|
EPdfStandardsExecution | 잘못된 입력, 초과된 한도, 실패한 변환, 지원되지 않는 실행 상태에 대해 발생하는 예외입니다 |
TPdfMeasureFormatKind | pmfkDecimal, pmfkFraction, pmfkPercentage |
TPdfAutoTagObjectKind | patokText, patokImage, patokPath, patokForm, patokAnnotation |
TPdfHistoricalEvidenceKind | phekCertificate, phekOcsp, phekCrl |
TPdfEInteractiveIssues | peiiExternalMultimedia, peiiAnnotationFlags, peiiMissingAppearance, peiiUnsupportedU3d, peiiEncryption, peiiInvalidSignature, peiiDocMdp를 포함하는 집합입니다 |
| Type | Public members |
|---|---|
TPdfMeasureNumberFormat | UnitLabel, ConversionFactor, FormatKind, Precision, FractionDenominator, Prefix, Suffix |
TPdfMeasureNumberFormats | TPdfMeasureNumberFormat의 동적 배열 |
TPdfMeasurementProperties | Ratio, X, Y, D, A, T, V, CY |
TPdfGeoPoint | X, Y |
TPdfGeoViewport | PageIndex, Left, Bottom, Right, Top, Lpts, Gpts, CoordinateSystem |
TPdfGeoViewports | TPdfGeoViewport의 동적 배열 |
TPdfGeoViewportIndexes | 뷰포트 인덱스의 동적 배열 |
FPdfDocumentRepair는 자동 보안·메타데이터 복구를 위한 내장 문서 실행기를 제공하고 검토된 자동 태그 계획을 지원되는 기존 문서에 적용합니다. 다른 복구 범주는 여전히 자체 제공자가 필요합니다
| Type | Public members |
|---|---|
IPdfARepairExecutor | CaptureSnapshot, ApplyStep, Validate, RestoreSnapshot |
TPdfARepairExecutionReport | AppliedSteps, SkippedSteps, RolledBack, ValidationPassed, ErrorText |
TPdfTextRepairItem | PageIndex, ObjectIndex, FontName, ExtractedText, HasEmbeddedFont, HasToUnicode, HasActualText |
TPdfTextRepairItems | TPdfTextRepairItem의 동적 배열 |
TPdfTextRepairResult | PageIndex, ObjectIndex, FontRepaired, ToUnicodeRepaired, ActualTextRepaired, PreservedPixels, ErrorText |
TPdfTextRepairResults | TPdfTextRepairResult의 동적 배열 |
IPdfTextSemanticsRepairProvider | Repair |
| Type | Public members |
|---|---|
TPdfAutoTagObject | PageIndex, ObjectIndex, Kind, Left, Bottom, Right, Top, Text, AlternateText, Confidence, FontSize |
TPdfAutoTagObjects | TPdfAutoTagObject의 동적 배열 |
TPdfAutoTagNode | PageIndex, ObjectIndex, ParentIndex, Mcid, RoleName, Artifact, Confidence |
TPdfAutoTagNodes | TPdfAutoTagNode의 동적 배열 |
TPdfUaFormField | PageIndex, AnnotationIndex, FieldName, Tooltip, Contents, TabOrder |
TPdfUaFormFields | TPdfUaFormField의 동적 배열 |
TPdfUaFormRepair | PageIndex, AnnotationIndex, LabelText, TooltipText, ContentsText, StructRole, TabOrder, Confidence |
TPdfUaFormRepairs | TPdfUaFormRepair의 동적 배열 |
| Type | Public members |
|---|---|
IPdfExternalProfileResolver | Resolve |
TPdfExternalProfileRequest | Uri, ExpectedSha256, Colourants, MaxBytes |
TPdfExternalProfileResult | Profile, Sha256, ComponentCount, IsMulticolour |
TPdfHistoricalEvidence | Kind, Data, ProducedAt, ThisUpdate, NextUpdate |
TPdfHistoricalEvidenceArray | TPdfHistoricalEvidence의 동적 배열 |
TPdfHistoricalVri | SignatureContents, EvidenceIndexes |
TPdfHistoricalVris | TPdfHistoricalVri의 동적 배열 |
TPdfHistoricalEvidenceReport | ValidEvidence, InvalidEvidence, VriOwnershipValid, ErrorText |
IPdfHistoricalEvidenceValidator | Validate |
| Type | Public members |
|---|---|
TPdfDPartMetadata | Name, Value |
TPdfDPartMetadataArray | TPdfDPartMetadata의 동적 배열 |
TPdfDPartRecord | ObjectNumber, PageStart, PageEnd, GtsXid, GtsScope, Metadata |
TPdfDPartRecords | TPdfDPartRecord의 동적 배열 |
TPdfDPartQuery | Name, Value, MaxResults |
TPdfDPartQueryResults | 일치하는 레코드 인덱스의 동적 배열 |
TPdfEInteractiveFacts | AllMultimediaEmbedded, AnnotationFlagsValid, AppearancesPresent, U3dVersionSupported, EncryptionAllowed, SignaturesValid, DocMdpAllowsChanges |
TPdfRasterStripInfo | Width, Height, BytesPerPixel, RowStride, Generation, PageObjectNumber, ImageObjectNumber, ContentStreamCount, HasInheritedResources |
TPdfRasterStripReport | RowsCopied, PeakBufferBytes, BytesCopied |
| Routine | Description |
|---|---|
ConvertPdfMeasurement | 선택한 변환 계수를 측정값에 적용합니다 |
FormatPdfMeasurement | 구성된 접두사, 단위 레이블, 접미사로 십진수, 분수, 백분율 값을 서식 지정합니다 |
PdfPageToGeo | 페이지 점을 GeoPDF 뷰포트를 통해 지리 좌표로 매핑합니다 |
PdfGeoToPage | 지리 좌표를 GeoPDF 페이지 뷰포트로 다시 매핑합니다 |
QueryPdfGeoViewports | 페이지와 점에 일치하는 뷰포트 인덱스를 반환합니다 |
ExecutePdfARepairPlan | 스냅샷 아래에서 자동 복구 단계를 실행하고 단계나 검증이 실패하면 롤백합니다 |
RepairPdfTextSemantics | 호출자 공급자를 통해 한도 있는 폰트, ToUnicode, ActualText 복구를 조율합니다 |
BuildPdfUa2AutoTagPlan | 신뢰도로 필터링된 읽기 순서, 역할, artifact, MCID 결정을 만듭니다 |
BuildPdfUa2FormRepairPlan | 양식 레이블, 툴팁, 구조 역할, 탭 순서, 신뢰도 값을 만듭니다 |
ResolvePdfXExternalProfile | 한도 있는 외부 ICC 데이터를 가져와 예상 SHA-256 값을 확인합니다 |
ValidatePdfHistoricalEvidence | 인증서, OCSP, CRL, 시간 창, VRI 소유권 증거를 확인합니다 |
QueryPdfDParts | 한도 있는 DPM 메타데이터 쿼리를 평가합니다 |
BuildPdfDPartResourceCacheKey | DPart 레코드에 대해 안정적인 범위 인식 리소스 캐시 키를 만듭니다 |
ValidatePdfEInteractiveFacts | 독립적인 멀티미디어, 주석, U3D, 암호화, 서명, DocMDP 실패를 보고합니다 |
StreamPdfRasterStrip | 엄격한 호출자 메모리 상한 아래에서 완전한 PDF/R 행을 복사합니다 |