iText 8.0.2 API
|
The accessibility properties are used to define properties of structure elements in Tagged PDF documents via TagTreePointer API. More...
Public Member Functions |
|
virtual String | GetRole () |
Gets the role of element. More... |
|
virtual AccessibilityProperties | SetRole (String role) |
Sets the role of element. More... |
|
virtual String | GetLanguage () |
Gets the language identifier of element. More... |
|
virtual AccessibilityProperties | SetLanguage (String language) |
Sets the language identifier of element. More... |
|
virtual String | GetActualText () |
Gets the actual text of element. More... |
|
virtual AccessibilityProperties | SetActualText (String actualText) |
Sets the actual text of element. More... |
|
virtual String | GetAlternateDescription () |
Gets the alternate description of element. More... |
|
virtual AccessibilityProperties | SetAlternateDescription (String alternateDescription) |
Sets the alternate description of element. More... |
|
virtual String | GetExpansion () |
Gets the expansion of element. More... |
|
virtual AccessibilityProperties | SetExpansion (String expansion) |
Sets the expansion of element. More... |
|
virtual String | GetPhoneme () |
Gets the phoneme of element. More... |
|
virtual AccessibilityProperties | SetPhoneme (String phoneme) |
Sets the phoneme of element. More... |
|
virtual String | GetPhoneticAlphabet () |
Gets the phonetic alphabet of element. More... |
|
virtual AccessibilityProperties | SetPhoneticAlphabet (String phoneticAlphabet) |
Sets the phonetic alphabet of element. More... |
|
virtual PdfNamespace | GetNamespace () |
Gets the namespace of element. More... |
|
virtual AccessibilityProperties | SetNamespace (PdfNamespace @namespace) |
Sets the namespace of element. More... |
|
virtual AccessibilityProperties | AddRef (TagTreePointer treePointer) |
Adds the reference to other tagged element. More... |
|
virtual IList< TagTreePointer > | GetRefsList () |
Gets the list of references to other tagged elements. More... |
|
virtual AccessibilityProperties | ClearRefs () |
Clears the list of references to other tagged elements. More... |
|
virtual AccessibilityProperties | AddAttributes (PdfStructureAttributes attributes) |
Adds the attributes to the element. More... |
|
virtual AccessibilityProperties | AddAttributes (int index, PdfStructureAttributes attributes) |
Adds the attributes to the element with specified index. More... |
|
virtual AccessibilityProperties | ClearAttributes () |
Clears the list of attributes. More... |
|
virtual IList< PdfStructureAttributes > | GetAttributesList () |
Gets the attributes list. More... |
|
virtual byte[] | GetStructureElementId () |
Gets the associated structure element's ID string, if it has one. More... |
|
virtual 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 accessibility properties are used to define properties of structure elements in Tagged PDF documents via TagTreePointer API.
|
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 in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
inlinevirtual |
Adds the attributes to the element.
attributes | the attributes to be added |
Reimplemented in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
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 in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
inlinevirtual |
Clears the list of attributes.
Reimplemented in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
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 in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
inlinevirtual |
Gets the actual text of element.
Reimplemented in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
inlinevirtual |
Gets the alternate description of element.
Reimplemented in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
inlinevirtual |
Gets the attributes list.
Reimplemented in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
inlinevirtual |
Gets the expansion of element.
Gets the expansion of element.
Expansion it is the expanded form of an abbreviation of structure element.
Reimplemented in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
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 in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
inlinevirtual |
Gets the namespace of element.
Reimplemented in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
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 in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
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 in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
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 in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
inlinevirtual |
Gets the role of element.
Gets the role of element.
See also iText.Kernel.Pdf.Tagging.StandardRoles.
Reimplemented in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
inlinevirtual |
Gets the associated structure element's ID string, if it has one.
Gets the associated structure element's ID string, if it has one.
See also iText.Kernel.Pdf.Tagging.PdfStructElem.GetStructureElementId().
Reimplemented in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
inlinevirtual |
Sets the actual text of element.
actualText | the actual text to be set |
Reimplemented in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
inlinevirtual |
Sets the alternate description of element.
alternateDescription | the alternation description to be set |
Reimplemented in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
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 in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
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 in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
inlinevirtual |
Sets the namespace of element.
namespace | the namespace to be set |
Reimplemented in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
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 in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
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 in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
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 in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
inlinevirtual |
Sets the associated structure element's ID.
Sets the associated structure element's ID. Passing null
removes the ID.
See also iText.Kernel.Pdf.Tagging.PdfStructElem.SetStructureElementId(iText.Kernel.Pdf.PdfString).
id | the element's ID to be set |
Reimplemented in iText.Kernel.Pdf.Tagutils.DefaultAccessibilityProperties.
|
inlinevirtual |
Sets the associated structure element's ID.
Sets the associated structure element's ID. Passing null
removes the ID. If non-null, the argument will be encoded in UTF-8 (without BOM), since ID strings are considered binary data in PDF.
See also iText.Kernel.Pdf.Tagging.PdfStructElem.SetStructureElementId(iText.Kernel.Pdf.PdfString).
id | the element's ID to be set |