Class PDArtifactMarkedContent
java.lang.Object
org.apache.pdfbox.pdmodel.documentinterchange.markedcontent.PDMarkedContent
org.apache.pdfbox.pdmodel.documentinterchange.taggedpdf.PDArtifactMarkedContent
An artifact marked content.
- Version:
- $Revision: $
- Author:
- Johannes Koch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBBox()
Gets the artifact's bounding box (BBox).Gets the subtype (Subtype).getType()
Gets the type (Type).boolean
Is the artifact attached to the bottom edge?boolean
Is the artifact attached to the left edge?boolean
Is the artifact attached to the right edge?boolean
Is the artifact attached to the top edge?Methods inherited from class org.apache.pdfbox.pdmodel.documentinterchange.markedcontent.PDMarkedContent
addMarkedContent, addText, addXObject, create, getActualText, getAlternateDescription, getContents, getExpandedForm, getLanguage, getMCID, getProperties, getTag, toString
-
Constructor Details
-
PDArtifactMarkedContent
-
-
Method Details
-
getType
Gets the type (Type).- Returns:
- the type
-
getBBox
Gets the artifact's bounding box (BBox).- Returns:
- the artifact's bounding box
-
isTopAttached
public boolean isTopAttached()Is the artifact attached to the top edge?- Returns:
true
if the artifact is attached to the top edge,false
otherwise
-
isBottomAttached
public boolean isBottomAttached()Is the artifact attached to the bottom edge?- Returns:
true
if the artifact is attached to the bottom edge,false
otherwise
-
isLeftAttached
public boolean isLeftAttached()Is the artifact attached to the left edge?- Returns:
true
if the artifact is attached to the left edge,false
otherwise
-
isRightAttached
public boolean isRightAttached()Is the artifact attached to the right edge?- Returns:
true
if the artifact is attached to the right edge,false
otherwise
-
getSubtype
Gets the subtype (Subtype).- Returns:
- the subtype
-