PDFium Component Docs

ValidatePdfUa2FormulaSemantics funkcja

Unit: PDFium
Sprawdza tekst zapasowy Formula, zawieranie MathML i relacje plików powiązanych w drzewie struktury PDF/UA-2

Syntax

function ValidatePdfUa2FormulaSemantics(const Elements: TPdfStructureElements): TPdfUaValidationIssues;

Parameters

ElementsTPdfStructureElements

Return Value

TPdfUaValidationIssues

Description

ValidatePdfUa2FormulaSemantics sprawdza, czy każdy element Formula dostarcza tekst zapasowy dla technologii wspomagającej przez AlternateText, ActualText albo plik powiązany; w przeciwnym razie raportowane jest pvuaiFormulaSemanticInvalid

Element w przestrzeni nazw MathML musi być zagnieżdżony wewnątrz elementu Formula albo innego elementu z przestrzeni nazw MathML; w przeciwnym razie raportowane jest pvuaiFormulaSemanticInvalid

Każdy element z plikiem powiązanym musi nieść niepusty AssociatedFileDescription i jedną z siedmiu standardowych relacji (Source, Data, Alternative, Supplement, EncryptedPayload, FormData albo Schema); w przeciwnym razie raportowane jest pvuaiAssociatedFileSemanticInvalid

Remarks

Example

FormulaIssues := ValidatePdfUa2FormulaSemantics(Pdf.StructureElements);

See Also

ValidatePdfUa2StructureElements, ValidatePdfUa2AssociatedFileSemantics, ClassifyPdfUaNamespace, TPdf.StructureElements