PDFium Delphi Component Docs

ClassifyPdfUaNamespace Funktion

Unit: PDFium
Ordnet einen PDF/UA-2-Struktur-Namespace-URI seiner TPdfUaNamespaceKind zu

Syntax

function ClassifyPdfUaNamespace(const NamespaceUri: WString): TPdfUaNamespaceKind;

Parameter

NamespaceUriWString

Rückgabewert

TPdfUaNamespaceKind

Beschreibung

ClassifyPdfUaNamespace erkennt die bekannten Namespace-URIs von ISO/TS 32005 und gibt die passende Art zurück

NamespaceUriErgebnis
''punkMissing
http://iso.org/pdf/ssnpunkPdf17
http://iso.org/pdf2/ssnpunkPdf20
http://www.w3.org/1998/Math/MathMLpunkMathMl
http://www.w3.org/ns/aria#punkAria
http://www.w3.org/ns/role/dpub#punkDpub
jeder andere WertpunkCustom

Der Vergleich ist exakt und beachtet Groß- und Kleinschreibung, sodass ein URI, der sich in Schema, Host, Pfad, Schreibweise oder abschließendem Fragment unterscheidet, zu punkCustom fällt

Hinweise

Beispiel

Kind := ClassifyPdfUaNamespace(Elements[I].NamespaceUri);

Siehe auch

ValidatePdfUa2NamespaceSemantics, ValidatePdfUa2Containment, ValidatePdfUa2FormulaSemantics, TPdf.StructureElements