iText 7 7.1.8 API
|
A wrapper for namespace dictionaries (ISO 32000-2 section 14.7.4). More...
Public Member Functions |
|
PdfNamespace (PdfDictionary dictionary) | |
Constructs namespace from the given iText.Kernel.Pdf.PdfDictionary that represents namespace dictionary. This method is useful for property reading in reading mode or modifying in stamping mode. More... |
|
PdfNamespace (String namespaceName) | |
Constructs a namespace defined by the given namespace name. More... |
|
PdfNamespace (PdfString namespaceName) | |
Constructs a namespace defined by the given namespace name. More... |
|
virtual iText.Kernel.Pdf.Tagging.PdfNamespace | SetNamespaceName (String namespaceName) |
Sets the string defining the namespace name. More... |
|
virtual iText.Kernel.Pdf.Tagging.PdfNamespace | SetNamespaceName (PdfString namespaceName) |
Sets the string defining the namespace name. More... |
|
virtual String | GetNamespaceName () |
Gets the string defining the namespace name. More... |
|
virtual iText.Kernel.Pdf.Tagging.PdfNamespace | SetSchema (PdfFileSpec fileSpec) |
Sets file specification identifying the schema file, which defines this namespace. More... |
|
virtual PdfFileSpec | GetSchema () |
Gets file specification identifying the schema file, which defines this namespace. More... |
|
virtual iText.Kernel.Pdf.Tagging.PdfNamespace | SetNamespaceRoleMap (PdfDictionary roleMapNs) |
A dictionary that maps the names of structure types used in the namespace to their approximate equivalents in another namespace. More... |
|
virtual PdfDictionary | GetNamespaceRoleMap () |
A dictionary that maps the names of structure types used in the namespace to their approximate equivalents in another namespace. More... |
|
virtual iText.Kernel.Pdf.Tagging.PdfNamespace | AddNamespaceRoleMapping (String thisNsRole, String defaultNsRole) |
Adds to the namespace role map (see SetNamespaceRoleMap(iText.Kernel.Pdf.PdfDictionary) ) a single role mapping to the default standard structure namespace. More... |
|
virtual iText.Kernel.Pdf.Tagging.PdfNamespace | AddNamespaceRoleMapping (String thisNsRole, String targetNsRole, iText.Kernel.Pdf.Tagging.PdfNamespace targetNs) |
Adds to the namespace role map (see SetNamespaceRoleMap(iText.Kernel.Pdf.PdfDictionary) ) a single role mapping to the target namespace. More... |
|
Public Member Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary > | |
virtual T | GetPdfObject () |
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document, PdfIndirectReference reference) |
Marks object behind wrapper to be saved as indirect. More... |
|
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document) |
Marks object behind wrapper to be saved as indirect. More... |
|
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | SetModified () |
virtual void | Flush () |
virtual bool | IsFlushed () |
A wrapper for namespace dictionaries (ISO 32000-2 section 14.7.4).
A wrapper for namespace dictionaries (ISO 32000-2 section 14.7.4). A namespace dictionary defines a namespace within the structure tree.
This pdf entity is meaningful only for the PDF documents of version 2.0 and higher.
|
inline |
Constructs namespace from the given iText.Kernel.Pdf.PdfDictionary that represents namespace dictionary. This method is useful for property reading in reading mode or modifying in stamping mode.
dictionary | a iText.Kernel.Pdf.PdfDictionary that represents namespace in the document. |
|
inline |
Constructs a namespace defined by the given namespace name.
namespaceName | a System.String defining the namespace name (conventionally a uniform resource identifier, or URI). |
|
inline |
Constructs a namespace defined by the given namespace name.
namespaceName | a iText.Kernel.Pdf.PdfString defining the namespace name (conventionally a uniform resource identifier, or URI). |
|
inlinevirtual |
Adds to the namespace role map (see SetNamespaceRoleMap(iText.Kernel.Pdf.PdfDictionary) ) a single role mapping to the default standard structure namespace.
thisNsRole | a System.String identifying structure element type in this namespace. |
defaultNsRole | a System.String identifying a structure element type in the default standard structure namespace. |
|
inlinevirtual |
Adds to the namespace role map (see SetNamespaceRoleMap(iText.Kernel.Pdf.PdfDictionary) ) a single role mapping to the target namespace.
thisNsRole | a System.String identifying structure element type in this namespace. |
targetNsRole | a System.String identifying a structure element type in the target namespace. |
targetNs | a PdfNamespace identifying the target namespace. |
|
inlinevirtual |
Gets the string defining the namespace name.
|
inlinevirtual |
A dictionary that maps the names of structure types used in the namespace to their approximate equivalents in another namespace.
|
inlinevirtual |
Gets file specification identifying the schema file, which defines this namespace.
|
inlinevirtual |
Sets the string defining the namespace name.
namespaceName | a iText.Kernel.Pdf.PdfString defining the namespace name (conventionally a uniform resource identifier, or URI). |
|
inlinevirtual |
Sets the string defining the namespace name.
namespaceName | a System.String defining the namespace name (conventionally a uniform resource identifier, or URI). |
|
inlinevirtual |
A dictionary that maps the names of structure types used in the namespace to their approximate equivalents in another namespace.
roleMapNs | a iText.Kernel.Pdf.PdfDictionary which is comprised of a set of keys representing structure element types in the namespace defined within this namespace dictionary. The corresponding value for each of these keys shall either be a single iText.Kernel.Pdf.PdfName identifying a structure element type in the default namespace or an iText.Kernel.Pdf.PdfArray where the first value shall be a structure element type name in a target namespace with the second value being an indirect reference to the target namespace dictionary. |
|
inlinevirtual |
Sets file specification identifying the schema file, which defines this namespace.
fileSpec | a iText.Kernel.Pdf.Filespec.PdfFileSpec identifying the schema file. |