org.pdfbox.pdmodel.documentinterchange.logicalstructure
Class PDMarkInfo
java.lang.Object
org.pdfbox.pdmodel.documentinterchange.logicalstructure.PDMarkInfo
- COSObjectable
public class PDMarkInfo
extends java.lang.Object
The MarkInfo provides additional information relevant to specialized
uses of structured documents.
PDMarkInfo
public PDMarkInfo()
Default Constructor.
PDMarkInfo
public PDMarkInfo(COSDictionary dic)
Constructor for an existing MarkInfo element.
dic
- The existing dictionary.
getCOSObject
public COSBase getCOSObject()
Convert this standard java object to a COS object.
- getCOSObject in interface COSObjectable
- The cos object that matches this Java object.
getDictionary
public COSDictionary getDictionary()
Convert this standard java object to a COS object.
- The cos object that matches this Java object.
isMarked
public boolean isMarked()
Tells if this is a tagged PDF.
- true If this is a tagged PDF.
isSuspect
public boolean isSuspect()
Tells if this PDF contain 'suspect' tags. See PDF Reference 1.6
section 10.6 "Logical Structure" for more information about this property.
- true if the suspect flag has been set.
setMarked
public void setMarked(boolean value)
Set if this is a tagged PDF.
value
- The new marked value.
setSuspect
public void setSuspect(boolean suspect)
Set the value of the suspects property. See PDF Reference 1.6
section 10.6 "Logical Structure" for more information about this
property.
suspect
- The new "Suspects" value.
setUserProperties
public void setUserProperties(boolean userProps)
Set if the structure elements contain user properties.
userProps
- The new value for this property.
usesUserProperties
public boolean usesUserProperties()
Tells if structure elements use user properties.
- A boolean telling if the structure elements use user properties.