PDFium Delphi Component Docs

ValidatePdfUaStructureElements 함수

유닛: PDFium
pdfium.dll을 로드하지 않고 평탄화된 TPdfStructureElement 데이터의 PDF/UA 구조 문제를 검증합니다

구문

function ValidatePdfUaStructureElements(const Elements: TPdfStructureElements; Conformance: TPdfUaConformance = puc1): TPdfUaValidationIssues;

매개변수

ElementsTPdfStructureElements
ConformanceTPdfUaConformance

반환 값

TPdfUaValidationIssues

설명

ValidatePdfUaStructureElements는 structure-tree 데이터만으로 감지할 수 있는 PDF/UA 문제에 대해 TPdfStructureElement 배열을 검사합니다

puc1에 대해서는 기존의 PDF/UA-1 제목, 표, 목록, 양식, 언어, 대체 텍스트, note, role 규칙을 적용합니다

puc2에 대해서는 ISO/TS 32005 namespace와 containment, 경계가 있는 사각형 표 격자, annotation과 Widget 의미론, Formula와 MathML 연결, associated file, Document root, FENote, 목록 개수, TOCI 참조, Title, Caption 개수를 추가로 검증합니다

참고 사항

예제

Issues := ValidatePdfUaStructureElements(Pdf.StructureElements, puc2);

관련 항목

TPdf.ValidatePdfUa, TPdf.StructureElements, ClassifyStructType