Package | Description |
---|---|
com.itextpdf.kernel.pdf.tagging | |
com.itextpdf.kernel.pdf.tagutils |
Modifier and Type | Method and Description |
---|---|
PdfNamespace |
PdfNamespace.addNamespaceRoleMapping(String thisNsRole, String defaultNsRole)
Adds to the namespace role map (see setNamespaceRoleMap(PdfDictionary) ) a single role mapping to the default standard structure namespace.
|
PdfNamespace |
PdfNamespace.addNamespaceRoleMapping(String thisNsRole, String targetNsRole, PdfNamespace targetNs)
Adds to the namespace role map (see setNamespaceRoleMap(PdfDictionary) ) a single role mapping to the target namespace.
|
PdfNamespace |
PdfStructElem.getNamespace()
A namespace this element belongs to (see ISO 32000-2 14.7.4, "Namespaces").
|
PdfNamespace |
PdfNamespace.setNamespaceName(PdfString namespaceName)
Sets the string defining the namespace name.
|
PdfNamespace |
PdfNamespace.setNamespaceName(String namespaceName)
Sets the string defining the namespace name.
|
PdfNamespace |
PdfNamespace.setNamespaceRoleMap(PdfDictionary roleMapNs)
A dictionary that maps the names of structure types used in the namespace to their approximate equivalents in another namespace.
|
PdfNamespace |
PdfNamespace.setSchema(PdfFileSpec fileSpec)
Sets file specification identifying the schema file, which defines this namespace.
|
Modifier and Type | Method and Description |
---|---|
List<PdfNamespace> |
PdfStructTreeRoot.getNamespaces()
Gets namespaces used within the document.
|
Modifier and Type | Method and Description |
---|---|
void |
PdfStructTreeRoot.addNamespace(PdfNamespace namespace)
Adds a PdfNamespace to the list of the namespaces used within the document.
|
PdfNamespace |
PdfNamespace.addNamespaceRoleMapping(String thisNsRole, String targetNsRole, PdfNamespace targetNs)
Adds to the namespace role map (see setNamespaceRoleMap(PdfDictionary) ) a single role mapping to the target namespace.
|
static boolean |
StandardNamespaces.isKnownDomainSpecificNamespace(PdfNamespace namespace)
Checks if the given namespace is identified as the one that is common within broad ranges of documents types and doesn't require a role mapping for it's roles.
|
void |
PdfStructElem.setNamespace(PdfNamespace namespace)
A namespace this element belongs to (see ISO 32000-2 14.7.4, "Namespaces").
|
Constructor and Description |
---|
PdfStructureAttributes(PdfNamespace namespace) |
Modifier and Type | Field and Description |
---|---|
protected PdfNamespace |
DefaultAccessibilityProperties.namespace |
Modifier and Type | Method and Description |
---|---|
PdfNamespace |
TagStructureContext.fetchNamespace(String namespaceName)
This method defines a recommended way to obtain PdfNamespace class instances.
|
PdfNamespace |
TagStructureContext.getDocumentDefaultNamespace()
A namespace that is used as a default value for the tagging for any new TagTreePointer created (including the pointer returned by TagStructureContext.getAutoTaggingPointer() , which implies that automatically created tag structure will be in this namespace by default).
|
PdfNamespace |
AccessibilityProperties.getNamespace() |
PdfNamespace |
DefaultAccessibilityProperties.getNamespace() |
PdfNamespace |
IRoleMappingResolver.getNamespace()
Defines the namespace of the current role.
|
PdfNamespace |
TagTreePointer.getNamespaceForNewTags()
Gets a PdfNamespace which will be set to every new tag created by this TagTreePointer instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TagStructureContext.checkIfRoleShallBeMappedToStandardRole(String role, PdfNamespace namespace)
Checks if the given role and namespace are specified to be obligatory mapped to the standard structure namespace in order to be a valid role in the Tagged PDF.
|
IRoleMappingResolver |
TagStructureContext.getRoleMappingResolver(String role, PdfNamespace namespace)
Gets an instance of the IRoleMappingResolver corresponding to the current tag structure target version.
|
IRoleMappingResolver |
TagStructureContext.resolveMappingToStandardOrDomainSpecificRole(String role, PdfNamespace namespace)
Gets an instance of the IRoleMappingResolver which is already in the "resolved" state: it returns role in the standard or domain-specific namespace for the IRoleMappingResolver.getRole() and IRoleMappingResolver.getNamespace() methods calls which correspond to the mapping of the given role; or null if the given role is not mapped to the standard or domain-specific one.
|
TagStructureContext |
TagStructureContext.setDocumentDefaultNamespace(PdfNamespace namespace)
Sets a namespace that will be used as a default value for the tagging for any new TagTreePointer created.
|
AccessibilityProperties |
AccessibilityProperties.setNamespace(PdfNamespace namespace) |
AccessibilityProperties |
DefaultAccessibilityProperties.setNamespace(PdfNamespace namespace) |
TagTreePointer |
TagTreePointer.setNamespaceForNewTags(PdfNamespace namespace)
Sets a PdfNamespace which will be set to every new tag created by this TagTreePointer instance if this tag doesn't explicitly define namespace by the means of DefaultAccessibilityProperties.setNamespace(PdfNamespace) .
|
Copyright © 1998–2020 iText Group NV. All rights reserved.