PDFium Delphi Component Docs

ValidatePdfUa2AssociatedFileSemantics 함수

유닛: PDFium
PDF/UA-2 연관 파일의 관계, 소유권, 읽기 순서, 탐색 가능성을 검증합니다

구문

function ValidatePdfUa2AssociatedFileSemantics(
  const Elements: TPdfStructureElements): TPdfUaValidationIssues;

매개변수

ElementsTPdfStructureElements

반환 값

TPdfUaValidationIssues

설명

ValidatePdfUa2AssociatedFileSemantics는 HasAssociatedFile 플래그가 설정된 모든 요소를 검사합니다

AssociatedFileRelationship은 Source, Data, Alternative, Supplement, EncryptedPayload, FormData, Schema 중 하나여야 하고 AssociatedFileDescription은 비어 있으면 안 되며, 그렇지 않으면 pvuaiAssociatedFileSemanticInvalid가 보고됩니다

파일은 카탈로그나 구조 트리가 소유해야 하고, embedded-files name tree에 등록된 파일은 카탈로그에도 선언되어야 하며, 그렇지 않으면 pvuaiAssociatedFileOwnershipInvalid가 보고됩니다

구조 쪽에서 선언된 파일은 구조 선언 전반에서 고유하고 감소하지 않는, 음수가 아닌 AssociatedFileReadingOrderIndex를 가져야 하며, 그렇지 않으면 pvuaiAssociatedFileReadingOrderInvalid가 보고됩니다

파일은 탐색 가능해야 합니다. 즉 카탈로그에 선언되었거나 유효한 읽기 순서 인덱스와 함께 구조 쪽에 선언되어야 하며, 그렇지 않으면 pvuaiAssociatedFileDiscoverabilityInvalid가 보고됩니다

참고 사항

예제

FileIssues := ValidatePdfUa2AssociatedFileSemantics(Pdf.StructureElements);

관련 항목

ValidatePdfUa2StructureElements, ValidatePdfUa2FormulaSemantics, TPdf.StructureElements, TPdf.ValidatePdfUa