function ClassifyPdfUaNamespace(const NamespaceUri: WString): TPdfUaNamespaceKind;
| NamespaceUri | WString |
TPdfUaNamespaceKindClassifyPdfUaNamespace herkent de bekende namespace-URI's van ISO/TS 32005 en geeft de bijbehorende soort terug
| NamespaceUri | Result |
|---|---|
'' | punkMissing |
http://iso.org/pdf/ssn | punkPdf17 |
http://iso.org/pdf2/ssn | punkPdf20 |
http://www.w3.org/1998/Math/MathML | punkMathMl |
http://www.w3.org/ns/aria# | punkAria |
http://www.w3.org/ns/role/dpub# | punkDpub |
| elke andere waarde | punkCustom |
De vergelijking is exact en hoofdlettergevoelig, dus een URI die afwijkt in scheme, host, pad, hoofdlettergebruik of afsluitend fragment valt terug op punkCustom
Kind := ClassifyPdfUaNamespace(Elements[I].NamespaceUri);