PDFium Delphi Component Docs

פונקציית ValidatePdfUa2AssociatedFileSemantics

Unit: PDFium
מאמת קשר גומלין, בעלות, סדר קריאה ויכולת גילוי של קבצים נלווים ב-PDF/UA-2

Syntax

function ValidatePdfUa2AssociatedFileSemantics(
  const Elements: TPdfStructureElements): TPdfUaValidationIssues;

Parameters

ElementsTPdfStructureElements

Return Value

TPdfUaValidationIssues

Description

ValidatePdfUa2AssociatedFileSemantics בוחן כל אלמנט שהדגל HasAssociatedFile שלו מוגדר

ה-AssociatedFileRelationship חייב להיות אחד מ-Source, Data, Alternative, Supplement, EncryptedPayload, FormData או Schema, וכן AssociatedFileDescription חייב להיות לא ריק; אחרת מדווח pvuaiAssociatedFileSemanticInvalid

הקובץ חייב להיות בבעלות הקטלוג או של עץ המבנה, וקובץ הרשום בעץ השמות של הקבצים המוטמעים חייב להיות מוכרז גם בקטלוג; אחרת מדווח pvuaiAssociatedFileOwnershipInvalid

קובץ המוכרז במבנה חייב לשאת AssociatedFileReadingOrderIndex לא שלילי שהוא ייחודי ואינו פוחת לאורך ההכרזות במבנה; אחרת מדווח pvuaiAssociatedFileReadingOrderInvalid

הקובץ חייב להיות ניתן לגילוי, כלומר מוכרז בקטלוג או מוכרז במבנה עם אינדקס סדר קריאה תקין; אחרת מדווח pvuaiAssociatedFileDiscoverabilityInvalid

Remarks

Example

FileIssues := ValidatePdfUa2AssociatedFileSemantics(Pdf.StructureElements);

See Also

ValidatePdfUa2StructureElements, ValidatePdfUa2FormulaSemantics, TPdf.StructureElements, TPdf.ValidatePdfUa