PDFium Delphi Component Docs

ValidatePdfUa2FormulaSemantics 함수

유닛: PDFium
PDF/UA-2 구조 트리에서 Formula 폴백 텍스트, MathML 포함 관계, 연관 파일 관계를 검증합니다

Syntax

function ValidatePdfUa2FormulaSemantics(const Elements: TPdfStructureElements): TPdfUaValidationIssues;

Parameters

ElementsTPdfStructureElements

Return Value

TPdfUaValidationIssues

Description

ValidatePdfUa2FormulaSemantics는 모든 Formula 요소가 AlternateText, ActualText, 연관 파일 중 하나로 보조 기술용 폴백을 제공하는지 검사하고, 그렇지 않으면 pvuaiFormulaSemanticInvalid가 보고됩니다

MathML 네임스페이스의 요소는 Formula 요소 안이나 다른 MathML 네임스페이스 요소 안에 중첩되어야 하며, 그렇지 않으면 pvuaiFormulaSemanticInvalid가 보고됩니다

연관 파일을 갖는 모든 요소는 비어 있지 않은 AssociatedFileDescription과 일곱 가지 표준 관계(Source, Data, Alternative, Supplement, EncryptedPayload, FormData, Schema) 중 하나를 가져야 하며, 그렇지 않으면 pvuaiAssociatedFileSemanticInvalid가 보고됩니다

Remarks

Example

FormulaIssues := ValidatePdfUa2FormulaSemantics(Pdf.StructureElements);

See Also

ValidatePdfUa2StructureElements, ValidatePdfUa2AssociatedFileSemantics, ClassifyPdfUaNamespace, TPdf.StructureElements