iText 8.0.2 API
|
A helper interface that facilitates roles mapping resolving for the tag structures that are defined for different PDF document specification versions. More...
Inherited by iText.Kernel.Pdf.Tagutils.RoleMappingResolver, and iText.Kernel.Pdf.Tagutils.RoleMappingResolverPdf2.
Public Member Functions |
|
String | GetRole () |
Defines the current role of the resolver. More... |
|
PdfNamespace | GetNamespace () |
Defines the namespace of the current role. More... |
|
bool | CurrentRoleIsStandard () |
Checks if the current role belongs to one of the standard structure namespaces. More... |
|
bool | CurrentRoleShallBeMappedToStandard () |
Checks if the current 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. More... |
|
bool | ResolveNextMapping () |
Performs a mapping resolving "step". More... |
|
A helper interface that facilitates roles mapping resolving for the tag structures that are defined for different PDF document specification versions.
A helper interface that facilitates roles mapping resolving for the tag structures that are defined for different PDF document specification versions.
Be aware, that it is explicitly allowed for the document by the specification to have circular or transitive mappings.
bool iText.Kernel.Pdf.Tagutils.IRoleMappingResolver.CurrentRoleIsStandard | ( | ) |
Checks if the current role belongs to one of the standard structure namespaces.
bool iText.Kernel.Pdf.Tagutils.IRoleMappingResolver.CurrentRoleShallBeMappedToStandard | ( | ) |
Checks if the current 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.
PdfNamespace iText.Kernel.Pdf.Tagutils.IRoleMappingResolver.GetNamespace | ( | ) |
Defines the namespace of the current role.
String iText.Kernel.Pdf.Tagutils.IRoleMappingResolver.GetRole | ( | ) |
Defines the current role of the resolver.
Defines the current role of the resolver. On every successful resolving "step" the role returned by this method changes in order to reflect the mapping of the previous role.
bool iText.Kernel.Pdf.Tagutils.IRoleMappingResolver.ResolveNextMapping | ( | ) |
Performs a mapping resolving "step".
Performs a mapping resolving "step". Essentially finds the role and it's namespace to which the current role is mapped to. After this method call GetRole() and GetNamespace() methods might change their return value.