Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.interactive.annotation » [javadoc | source]
public class: PDAnnotationTextMarkup [javadoc | source]

All Implemented Interfaces:

This is the abstract class that represents a text markup annotation Introduced in PDF 1.3 specification, except Squiggly lines in 1.4.
Field Summary
public static final  String SUB_TYPE_HIGHLIGHT    The types of annotation. 
public static final  String SUB_TYPE_UNDERLINE    The types of annotation. 
public static final  String SUB_TYPE_SQUIGGLY    The types of annotation. 
public static final  String SUB_TYPE_STRIKEOUT    The types of annotation. 
Fields inherited from org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationMarkup:
Fields inherited from org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation:
 public PDAnnotationTextMarkup(String subType) 
    Creates a TextMarkup annotation of the specified sub type.
    subType - the subtype the annotation represents
 public PDAnnotationTextMarkup(COSDictionary field) 
    Creates a TextMarkup annotation from a COSDictionary, expected to be a correct object definition.
    field - the PDF objet to represent as a field.
Method from org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationTextMarkup Summary:
getQuadPoints,   getSubtype,   setQuadPoints,   setSubtype
Methods from org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationMarkup:
getConstantOpacity,   getCreationDate,   getExternalData,   getInReplyTo,   getIntent,   getPopup,   getReplyType,   getRichContents,   getSubject,   getTitlePopup,   setConstantOpacity,   setCreationDate,   setExternalData,   setInReplyTo,   setIntent,   setPopup,   setReplyType,   setRichContents,   setSubject,   setTitlePopup
Methods from org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation:
createAnnotation,   getAnnotationFlags,   getAnnotationName,   getAppearance,   getAppearanceStream,   getCOSObject,   getColour,   getContents,   getDictionary,   getModifiedDate,   getPage,   getRectangle,   getSubtype,   isHidden,   isInvisible,   isLocked,   isNoRotate,   isNoView,   isNoZoom,   isPrinted,   isReadOnly,   isToggleNoView,   setAnnotationFlags,   setAnnotationName,   setAppearance,   setAppearanceStream,   setColour,   setContents,   setHidden,   setInvisible,   setLocked,   setModifiedDate,   setNoRotate,   setNoView,   setNoZoom,   setPrinted,   setReadOnly,   setRectangle,   setToggleNoView
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationTextMarkup Detail:
 public float[] getQuadPoints() 
    This will retrieve the set of quadpoints which encompass the areas of this annotation.
 public String getSubtype() 
    This will retrieve the sub type (and hence appearance, AP taking precedence) For this annotation.
 public  void setQuadPoints(float[] quadPoints) 
    This will set the set of quadpoints which encompass the areas of this annotation.
 public  void setSubtype(String subType) 
    This will set the sub type (and hence appearance, AP taking precedence) For this annotation. See the SUB_TYPE_XXX constants for valid values.