Chapter, ChapterAutoNumber, Chunk, Document, GreekList, HtmlCell, Image, ImgCCITT, ImgJBIG2, ImgRaw, ImgTemplate, ImgWMF, Jpeg, Jpeg2000, List, ListBody, ListItem, ListLabel, Paragraph, PdfAnnotation, PdfAppearance, PdfArtifact, PdfDiv, PdfDocument, PdfFormField, PdfImportedPage, PdfPatternPainter, PdfPCell, PdfPHeaderCell, PdfPRow, PdfPSXObject, PdfPTable, PdfPTableBody, PdfPTableFooter, PdfPTableHeader, PdfTemplate, RomanList, Section, TabbedChunk, ZapfDingbatsList, ZapfDingbatsNumberListpublic interface IAccessibleElement
| Modifier and Type | Method | Description |
|---|---|---|
PdfObject |
getAccessibleAttribute(PdfName key) |
Get the attribute of accessible element (everything in
A dictionary + Lang, Alt, ActualText, E). |
java.util.HashMap<PdfName,PdfObject> |
getAccessibleAttributes() |
Gets all the properties of accessible element.
|
AccessibleElementId |
getId() |
|
PdfName |
getRole() |
Gets the role of the accessible element.
|
boolean |
isInline() |
|
void |
setAccessibleAttribute(PdfName key,
PdfObject value) |
Set the attribute of accessible element (everything in
A dictionary + Lang, Alt, ActualText, E). |
void |
setId(AccessibleElementId id) |
|
void |
setRole(PdfName role) |
Sets the role of the accessiblee element.
|
PdfObject getAccessibleAttribute(PdfName key)
A dictionary + Lang, Alt, ActualText, E).key - void setAccessibleAttribute(PdfName key, PdfObject value)
A dictionary + Lang, Alt, ActualText, E).key - value - java.util.HashMap<PdfName,PdfObject> getAccessibleAttributes()
PdfName getRole()
void setRole(PdfName role)
null if you don't want to tag this element.
Note that all child elements won't also be tagged.role - AccessibleElementId getId()
void setId(AccessibleElementId id)
boolean isInline()
Copyright © 1998–2018. All rights reserved.