PDFium Delphi Component Docs

פונקציית PdfUa2StructureHasIssue

Unit: PDFium
מדווח אם קבוצת הכללים המלאה של PDF/UA-2 מזהה בעיה מסוימת אחת בנתוני מבנה משוטחים

Syntax

function PdfUa2StructureHasIssue(const Elements: TPdfStructureElements;
  Issue: TPdfUaValidationIssue): Boolean;

Parameters

ElementsTPdfStructureElements
IssueTPdfUaValidationIssue

Return Value

Boolean

Description

‏PdfUa2StructureHasIssue מריצה את ValidatePdfUa2StructureElements על מערך האלמנטים ומחזירה True כאשר הבעיה המבוקשת היא חלק מקבוצת התוצאה

זו הקיצורית של בעיה בודדת עבור Issue in ValidatePdfUa2StructureElements(Elements)

ערכי בעיות שימושיים של PDF/UA-2 כוללים את pvuaiNamespaceMissing, ‏pvuaiNamespaceRoleMapInvalid, ‏pvuaiNamespaceReuseInvalid, ‏pvuaiNamespaceContainmentInvalid, ‏pvuaiTableGridInvalid, ‏pvuaiAnnotationSemanticInvalid, ‏pvuaiFormulaSemanticInvalid, ‏pvuaiAssociatedFileSemanticInvalid, ‏pvuaiAssociatedFileOwnershipInvalid, ‏pvuaiAssociatedFileReadingOrderInvalid, ‏pvuaiAssociatedFileDiscoverabilityInvalid, ‏pvuaiDocumentSemanticInvalid ו-pvuaiTocReferenceMissing

Remarks

Example

if PdfUa2StructureHasIssue(Pdf.StructureElements, pvuaiTableGridInvalid) then
  ShowMessage('Invalid table grid detected');

See Also

ValidatePdfUa2StructureElements, ValidatePdfUaStructureElements, TPdf.ValidatePdfUa, TPdf.StructureElements