public abstract class AccessibilityProperties extends Object
structure elements
in Tagged PDF documents via TagTreePointer API.| Constructor and Description |
|---|
AccessibilityProperties() |
| Modifier and Type | Method and Description |
|---|---|
AccessibilityProperties |
addAttributes(int index,
PdfStructureAttributes attributes)
Adds the attributes to the element with specified index.
|
AccessibilityProperties |
addAttributes(PdfStructureAttributes attributes)
Adds the attributes to the element.
|
AccessibilityProperties |
addRef(TagTreePointer treePointer)
Adds the reference to other tagged element.
|
AccessibilityProperties |
clearAttributes()
Clears the list of attributes.
|
AccessibilityProperties |
clearRefs()
Clears the list of references to other tagged elements.
|
String |
getActualText()
Gets the actual text of element.
|
String |
getAlternateDescription()
Gets the alternate description of element.
|
List<PdfStructureAttributes> |
getAttributesList()
Gets the attributes list.
|
String |
getExpansion()
Gets the expansion of element.
|
String |
getLanguage()
Gets the language identifier of element.
|
PdfNamespace |
getNamespace()
Gets the namespace of element.
|
String |
getPhoneme()
Gets the phoneme of element.
|
String |
getPhoneticAlphabet()
Gets the phonetic alphabet of element.
|
List<TagTreePointer> |
getRefsList()
Gets the list of references to other tagged elements.
|
String |
getRole()
Gets the role of element.
|
AccessibilityProperties |
setActualText(String actualText)
Sets the actual text of element.
|
AccessibilityProperties |
setAlternateDescription(String alternateDescription)
Sets the alternate description of element.
|
AccessibilityProperties |
setExpansion(String expansion)
Sets the expansion of element.
|
AccessibilityProperties |
setLanguage(String language)
Sets the language identifier of element.
|
AccessibilityProperties |
setNamespace(PdfNamespace namespace)
Sets the namespace of element.
|
AccessibilityProperties |
setPhoneme(String phoneme)
Sets the phoneme of element.
|
AccessibilityProperties |
setPhoneticAlphabet(String phoneticAlphabet)
Sets the phonetic alphabet of element.
|
AccessibilityProperties |
setRole(String role)
Sets the role of element.
|
public String getRole()
See also StandardRoles.
public AccessibilityProperties setRole(String role)
See also StandardRoles.
role - the role to be setAccessibilityProperties instancepublic String getLanguage()
For more information see PDF Specification ISO 32000-1 section 14.9.2.
public AccessibilityProperties setLanguage(String language)
For more information see PDF Specification ISO 32000-1 section 14.9.2.
language - the language to be setAccessibilityProperties instancepublic String getActualText()
public AccessibilityProperties setActualText(String actualText)
actualText - the actual text to be setAccessibilityProperties instancepublic String getAlternateDescription()
public AccessibilityProperties setAlternateDescription(String alternateDescription)
alternateDescription - the alternation description to be setAccessibilityProperties instancepublic String getExpansion()
Expansion it is the expanded form of an abbreviation of structure element.
public AccessibilityProperties setExpansion(String expansion)
Expansion it is the expanded form of an abbreviation of structure element.
expansion - the expansion to be setAccessibilityProperties instancepublic String getPhoneme()
For more information see PdfStructElem.setPhoneme(PdfString).
public AccessibilityProperties setPhoneme(String phoneme)
For more information see PdfStructElem.setPhoneme(PdfString).
phoneme - the phoneme to be setAccessibilityProperties instancepublic String getPhoneticAlphabet()
For more information see PdfStructElem.setPhoneticAlphabet(PdfName).
public AccessibilityProperties setPhoneticAlphabet(String phoneticAlphabet)
For more information see PdfStructElem.setPhoneticAlphabet(PdfName).
phoneticAlphabet - the phonetic alphabet to be setAccessibilityProperties instancepublic PdfNamespace getNamespace()
public AccessibilityProperties setNamespace(PdfNamespace namespace)
namespace - the namespace to be setAccessibilityProperties instancepublic AccessibilityProperties addRef(TagTreePointer treePointer)
For more information see PdfStructElem.addRef(PdfStructElem).
treePointer - the reference to be setAccessibilityProperties instancepublic List<TagTreePointer> getRefsList()
For more information see PdfStructElem.addRef(PdfStructElem).
public AccessibilityProperties clearRefs()
For more information see PdfStructElem.addRef(PdfStructElem).
AccessibilityProperties instancepublic AccessibilityProperties addAttributes(PdfStructureAttributes attributes)
attributes - the attributes to be addedAccessibilityProperties instancepublic AccessibilityProperties addAttributes(int index, PdfStructureAttributes attributes)
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 indexattributes - the attributes to be addedAccessibilityProperties instancepublic AccessibilityProperties clearAttributes()
AccessibilityProperties instancepublic List<PdfStructureAttributes> getAttributesList()
Copyright © 1998–2021 iText Group NV. All rights reserved.