iText 8.0.2 API
|
The class represents a basic implementation of AccessibilityProperties that preserves specified accessibility properties. More...
Public Member Functions |
|
DefaultAccessibilityProperties (String role) | |
Instantiates a new DefaultAccessibilityProperties instance based on structure element role. More... |
|
override String | GetRole () |
Gets the role of element. More... |
|
override AccessibilityProperties | SetRole (String role) |
Sets the role of element. More... |
|
override String | GetLanguage () |
Gets the language identifier of element. More... |
|
override AccessibilityProperties | SetLanguage (String language) |
Sets the language identifier of element. More... |
|
override String | GetActualText () |
Gets the actual text of element. More... |
|
override AccessibilityProperties | SetActualText (String actualText) |
Sets the actual text of element. More... |
|
override String | GetAlternateDescription () |
Gets the alternate description of element. More... |
|
override AccessibilityProperties | SetAlternateDescription (String alternateDescription) |
Sets the alternate description of element. More... |
|
override String | GetExpansion () |
Gets the expansion of element. More... |
|
override AccessibilityProperties | SetExpansion (String expansion) |
Sets the expansion of element. More... |
|
override AccessibilityProperties | AddAttributes (PdfStructureAttributes attributes) |
Adds the attributes to the element. More... |
|
override AccessibilityProperties | AddAttributes (int index, PdfStructureAttributes attributes) |
Adds the attributes to the element with specified index. More... |
|
override AccessibilityProperties | ClearAttributes () |
Clears the list of attributes. More... |
|
override IList< PdfStructureAttributes > | GetAttributesList () |
Gets the attributes list. More... |
|
override String | GetPhoneme () |
Gets the phoneme of element. More... |
|
override AccessibilityProperties | SetPhoneme (String phoneme) |
Sets the phoneme of element. More... |
|
override String | GetPhoneticAlphabet () |
Gets the phonetic alphabet of element. More... |
|
override AccessibilityProperties | SetPhoneticAlphabet (String phoneticAlphabet) |
Sets the phonetic alphabet of element. More... |
|
override PdfNamespace | GetNamespace () |
Gets the namespace of element. More... |
|
override AccessibilityProperties | SetNamespace (PdfNamespace @namespace) |
Sets the namespace of element. More... |
|
override AccessibilityProperties | AddRef (TagTreePointer treePointer) |
Adds the reference to other tagged element. More... |
|
override IList< TagTreePointer > | GetRefsList () |
Gets the list of references to other tagged elements. More... |
|
override AccessibilityProperties | ClearRefs () |
Clears the list of references to other tagged elements. More... |
|
override byte[] | GetStructureElementId () |
Gets the associated structure element's ID string, if it has one. More... |
|
override AccessibilityProperties | SetStructureElementId (byte[] id) |
Sets the associated structure element's ID. More... |
|
![]() |
|
virtual AccessibilityProperties | SetStructureElementIdString (String id) |
Sets the associated structure element's ID. More... |
|
The class represents a basic implementation of AccessibilityProperties that preserves specified accessibility properties.
The class represents a basic implementation of AccessibilityProperties that preserves specified accessibility properties. Accessibility properties are used to define properties of structure elements in Tagged PDF documents via TagTreePointer API.
|
inline |
Instantiates a new DefaultAccessibilityProperties instance based on structure element role.
role | the structure element role |
|
inlinevirtual |
Adds the attributes to the element with specified index.
Adds the attributes to the element with specified index.
If an attribute with the same O and NS entries is specified more than once, the later (in array order) entry shall take precedence. For more information see PDF Specification ISO-32000 section 14.7.6.
index | the attributes index |
attributes | the attributes to be added |
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Adds the attributes to the element.
attributes | the attributes to be added |
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Adds the reference to other tagged element.
Adds the reference to other tagged element.
For more information see iText.Kernel.Pdf.Tagging.PdfStructElem.AddRef(iText.Kernel.Pdf.Tagging.PdfStructElem).
treePointer | the reference to be set |
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Clears the list of attributes.
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Clears the list of references to other tagged elements.
Clears the list of references to other tagged elements.
For more information see iText.Kernel.Pdf.Tagging.PdfStructElem.AddRef(iText.Kernel.Pdf.Tagging.PdfStructElem).
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Gets the actual text of element.
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Gets the alternate description of element.
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Gets the attributes list.
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Gets the expansion of element.
Gets the expansion of element.
Expansion it is the expanded form of an abbreviation of structure element.
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Gets the language identifier of element.
Gets the language identifier of element. Should be in format xy-ZK (for example en-US).
For more information see PDF Specification ISO 32000-1 section 14.9.2.
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Gets the namespace of element.
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Gets the phoneme of element.
Gets the phoneme of element.
For more information see iText.Kernel.Pdf.Tagging.PdfStructElem.SetPhoneme(iText.Kernel.Pdf.PdfString).
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Gets the phonetic alphabet of element.
Gets the phonetic alphabet of element.
For more information see iText.Kernel.Pdf.Tagging.PdfStructElem.SetPhoneticAlphabet(iText.Kernel.Pdf.PdfName).
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Gets the list of references to other tagged elements.
Gets the list of references to other tagged elements.
For more information see iText.Kernel.Pdf.Tagging.PdfStructElem.AddRef(iText.Kernel.Pdf.Tagging.PdfStructElem).
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Gets the role of element.
Gets the role of element.
See also iText.Kernel.Pdf.Tagging.StandardRoles.
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Gets the associated structure element's ID string, if it has one.
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Sets the actual text of element.
actualText | the actual text to be set |
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Sets the alternate description of element.
alternateDescription | the alternation description to be set |
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Sets the expansion of element.
Sets the expansion of element.
Expansion it is the expanded form of an abbreviation of structure element.
expansion | the expansion to be set |
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Sets the language identifier of element.
Sets the language identifier of element. Should be in format xy-ZK (for example en-US).
For more information see PDF Specification ISO 32000-1 section 14.9.2.
language | the language to be set |
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Sets the namespace of element.
namespace | the namespace to be set |
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Sets the phoneme of element.
Sets the phoneme of element.
For more information see iText.Kernel.Pdf.Tagging.PdfStructElem.SetPhoneme(iText.Kernel.Pdf.PdfString).
phoneme | the phoneme to be set |
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Sets the phonetic alphabet of element.
Sets the phonetic alphabet of element.
For more information see iText.Kernel.Pdf.Tagging.PdfStructElem.SetPhoneticAlphabet(iText.Kernel.Pdf.PdfName).
phoneticAlphabet | the phonetic alphabet to be set |
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Sets the role of element.
Sets the role of element.
See also iText.Kernel.Pdf.Tagging.StandardRoles.
Calling this method with a null argument will make the tagging on the associated layout element "neutral". The effect is that all children of the layout element will be tagged as if they were direct children of the parent element.
role | the role to be set |
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.
|
inlinevirtual |
Sets the associated structure element's ID.
Reimplemented from iText.Kernel.Pdf.Tagutils.AccessibilityProperties.