com.itextpdf.text.pdf
Class PdfArtifact
java.lang.Object
com.itextpdf.text.pdf.PdfArtifact
- All Implemented Interfaces:
- IAccessibleElement
public class PdfArtifact
- extends Object
- implements IAccessibleElement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
role
protected PdfName role
accessibleAttributes
protected HashMap<PdfName,PdfObject> accessibleAttributes
id
protected AccessibleElementId id
PdfArtifact
public PdfArtifact()
getAccessibleAttribute
public PdfObject getAccessibleAttribute(PdfName key)
- Description copied from interface:
IAccessibleElement
- Get the attribute of accessible element (everything in
A
dictionary + Lang
, Alt
, ActualText
, E
).
- Specified by:
getAccessibleAttribute
in interface IAccessibleElement
- Returns:
setAccessibleAttribute
public void setAccessibleAttribute(PdfName key,
PdfObject value)
- Description copied from interface:
IAccessibleElement
- Set the attribute of accessible element (everything in
A
dictionary + Lang
, Alt
, ActualText
, E
).
- Specified by:
setAccessibleAttribute
in interface IAccessibleElement
getAccessibleAttributes
public HashMap<PdfName,PdfObject> getAccessibleAttributes()
- Description copied from interface:
IAccessibleElement
- Gets all the properties of accessible element.
- Specified by:
getAccessibleAttributes
in interface IAccessibleElement
- Returns:
getRole
public PdfName getRole()
- Description copied from interface:
IAccessibleElement
- Gets the role of the accessible element.
- Specified by:
getRole
in interface IAccessibleElement
- Returns:
setRole
public void setRole(PdfName role)
- Description copied from interface:
IAccessibleElement
- Sets the role of the accessiblee element.
Set role to
null
if you don't want to tag this element.
Note that all child elements won't also be tagged.
- Specified by:
setRole
in interface IAccessibleElement
getId
public AccessibleElementId getId()
- Specified by:
getId
in interface IAccessibleElement
setId
public void setId(AccessibleElementId id)
- Specified by:
setId
in interface IAccessibleElement
isInline
public boolean isInline()
- Specified by:
isInline
in interface IAccessibleElement
getType
public PdfString getType()
setType
public void setType(PdfString type)
setType
public void setType(PdfArtifact.ArtifactType type)
getBBox
public PdfArray getBBox()
setBBox
public void setBBox(PdfArray bbox)
getAttached
public PdfArray getAttached()
setAttached
public void setAttached(PdfArray attached)
Copyright © 2014. All Rights Reserved.