function ValidatePdfUa2AnnotationSemantics(const Elements: TPdfStructureElements): TPdfUaValidationIssues;
| Elements | TPdfStructureElements |
TPdfUaValidationIssuesValidatePdfUa2AnnotationSemantics는 모든 Annot 요소와 AnnotationSubtype을 갖는 모든 요소를 검토합니다
Ink, Screen, 3D, RichMedia 주석은 요소가 artifact로 표시되지 않는 한 AnnotationContents 또는 AnnotationAlternateText를 제공해야 합니다
AnnotationContents와 AnnotationAlternateText가 모두 있을 때는 같은 텍스트를 담고 있어야 합니다
Form 요소는 최대 하나의 Widget만 가질 수 있습니다
Widget을 소유한 Form 요소는 LabelText, FieldAlternateName, AlternateText, ActualText 중 하나로 사용 가능한 레이블을 노출해야 하며, 해당 Widget은 appearance를 갖춰야 합니다
모든 위반은 pvuaiAnnotationSemanticInvalid로 보고됩니다
AnnotIssues := ValidatePdfUa2AnnotationSemantics(Pdf.StructureElements);