Class PdfArtifact
java.lang.Object
com.itextpdf.text.pdf.PdfArtifact
- All Implemented Interfaces:
IAccessibleElement
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the attribute of accessible element (everything inAdictionary +Lang,Alt,ActualText,E).Gets all the properties of accessible element.getBBox()getId()getRole()Gets the role of the accessible element.getType()booleanisInline()voidsetAccessibleAttribute(PdfName key, PdfObject value) Set the attribute of accessible element (everything inAdictionary +Lang,Alt,ActualText,E).voidsetAttached(PdfArray attached) voidvoidvoidSets the role of the accessiblee element.voidvoid
-
Field Details
-
allowedArtifactTypes
-
role
-
accessibleAttributes
-
id
-
-
Constructor Details
-
PdfArtifact
public PdfArtifact()
-
-
Method Details
-
getAccessibleAttribute
Description copied from interface:IAccessibleElementGet the attribute of accessible element (everything inAdictionary +Lang,Alt,ActualText,E).- Specified by:
getAccessibleAttributein interfaceIAccessibleElement- Parameters:
key-- Returns:
-
setAccessibleAttribute
Description copied from interface:IAccessibleElementSet the attribute of accessible element (everything inAdictionary +Lang,Alt,ActualText,E).- Specified by:
setAccessibleAttributein interfaceIAccessibleElement- Parameters:
key-value-
-
getAccessibleAttributes
Description copied from interface:IAccessibleElementGets all the properties of accessible element.- Specified by:
getAccessibleAttributesin interfaceIAccessibleElement- Returns:
-
getRole
Description copied from interface:IAccessibleElementGets the role of the accessible element.- Specified by:
getRolein interfaceIAccessibleElement- Returns:
-
setRole
Description copied from interface:IAccessibleElementSets the role of the accessiblee element. Set role tonullif you don't want to tag this element. Note that all child elements won't also be tagged.- Specified by:
setRolein interfaceIAccessibleElement- Parameters:
role-
-
getId
- Specified by:
getIdin interfaceIAccessibleElement
-
setId
- Specified by:
setIdin interfaceIAccessibleElement
-
isInline
public boolean isInline()- Specified by:
isInlinein interfaceIAccessibleElement
-
getType
-
setType
-
setType
-
getBBox
-
setBBox
-
getAttached
-
setAttached
-