function ValidatePdfUa2AssociatedFileSemantics(
const Elements: TPdfStructureElements): TPdfUaValidationIssues;
| Elements | TPdfStructureElements |
TPdfUaValidationIssuesValidatePdfUa2AssociatedFileSemantics는 HasAssociatedFile 플래그가 설정된 모든 요소를 검사합니다
AssociatedFileRelationship은 Source, Data, Alternative, Supplement, EncryptedPayload, FormData, Schema 중 하나여야 하고 AssociatedFileDescription은 비어 있으면 안 되며, 그렇지 않으면 pvuaiAssociatedFileSemanticInvalid가 보고됩니다
파일은 카탈로그나 구조 트리가 소유해야 하고, embedded-files name tree에 등록된 파일은 카탈로그에도 선언되어야 하며, 그렇지 않으면 pvuaiAssociatedFileOwnershipInvalid가 보고됩니다
구조 쪽에서 선언된 파일은 구조 선언 전반에서 고유하고 감소하지 않는, 음수가 아닌 AssociatedFileReadingOrderIndex를 가져야 하며, 그렇지 않으면 pvuaiAssociatedFileReadingOrderInvalid가 보고됩니다
파일은 탐색 가능해야 합니다. 즉 카탈로그에 선언되었거나 유효한 읽기 순서 인덱스와 함께 구조 쪽에 선언되어야 하며, 그렇지 않으면 pvuaiAssociatedFileDiscoverabilityInvalid가 보고됩니다
FileIssues := ValidatePdfUa2AssociatedFileSemantics(Pdf.StructureElements);