| |
|
| java.lang.Object org.pdfbox.pdmodel.interactive.annotation.PDAnnotation org.pdfbox.pdmodel.interactive.annotation.PDAnnotationMarkup org.pdfbox.pdmodel.interactive.annotation.PDAnnotationTextMarkup
PDAnnotationTextMarkup | public class PDAnnotationTextMarkup extends PDAnnotationMarkup (Code) | | This is the abstract class that represents a text markup annotation
Introduced in PDF 1.3 specification, except Squiggly lines in 1.4.
author: Paul King version: $Revision: 1.1 $ |
Method Summary | |
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. |
SUB_TYPE_HIGHLIGHT | final public static String SUB_TYPE_HIGHLIGHT(Code) | | The types of annotation.
|
SUB_TYPE_SQUIGGLY | final public static String SUB_TYPE_SQUIGGLY(Code) | | The types of annotation.
|
SUB_TYPE_STRIKEOUT | final public static String SUB_TYPE_STRIKEOUT(Code) | | The types of annotation.
|
SUB_TYPE_UNDERLINE | final public static String SUB_TYPE_UNDERLINE(Code) | | The types of annotation.
|
PDAnnotationTextMarkup | public PDAnnotationTextMarkup(String subType)(Code) | | Creates a TextMarkup annotation of the specified sub type.
Parameters: subType - the subtype the annotation represents |
PDAnnotationTextMarkup | public PDAnnotationTextMarkup(COSDictionary field)(Code) | | Creates a TextMarkup annotation from a COSDictionary, expected to be a
correct object definition.
Parameters: field - the PDF objet to represent as a field. |
getQuadPoints | public float[] getQuadPoints()(Code) | | This will retrieve the set of quadpoints which encompass the areas of
this annotation.
An array of floats representing the quad points. |
getSubtype | public String getSubtype()(Code) | | This will retrieve the sub type (and hence appearance, AP taking precedence)
For this annotation.
The subtype of this annotation, see the SUB_TYPE_XXX constants. |
setQuadPoints | public void setQuadPoints(float[] quadPoints)(Code) | | This will set the set of quadpoints which encompass the areas of this
annotation.
Parameters: quadPoints - an array representing the set of area covered |
setSubtype | public void setSubtype(String subType)(Code) | | This will set the sub type (and hence appearance, AP taking precedence) For
this annotation. See the SUB_TYPE_XXX constants for valid values.
Parameters: subType - The subtype of the annotation |
|
|
|