| Modifier and Type | Field and Description |
|---|---|
| private PDAppearanceHandler | customAppearanceHandler
Custom appearance handler to generate an appearance stream. |
| public static final String | HIGHLIGHT_MODE_INVERT
Constant values of the Text as defined in the PDF 1.6 reference Table 8.19. |
| public static final String | HIGHLIGHT_MODE_NONE
Constant values of the Text as defined in the PDF 1.6 reference Table 8.19. |
| public static final String | HIGHLIGHT_MODE_OUTLINE
Constant values of the Text as defined in the PDF 1.6 reference Table 8.19. |
| public static final String | HIGHLIGHT_MODE_PUSH
Constant values of the Text as defined in the PDF 1.6 reference Table 8.19. |
| public static final String | SUB_TYPE
The type of annotation. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PDAnnotationLink(COSDictionary
the PDF object to represent as a field. field)Creates a Link annotation from a COSDictionary, expected to be a correct object definition. |
| Modifier and Type | Method and Description |
|---|---|
| public void | constructAppearances()
Overrides org. Create the appearance entry for this annotation. |
| public void | constructAppearances(PDDocument
the related document document)Overrides org. Create the appearance entry for this annotation. |
| public PDAction | Returns: The action to be performed when this annotation is activated.Get the action to be performed when this annotation is to be activated. |
| public PDBorderStyleDictionary | Returns: the border style dictionary.This will retrieve the border style dictionary, specifying the width and dash pattern used in drawing the line. |
| public PDDestination | Returns: The destination for this annotation.Get the destination to be displayed when the annotation is activated. |
| public String | Returns: The string representation of the highlight mode.Set the highlight mode for when the mouse is depressed. |
| public PDActionURI | Returns: The previous URI.This will set the previous URI action, in case it's needed. |
| public float[] | Returns: An array of floats representing the quad points.This will retrieve the set of quadpoints which encompass the areas of this annotation which will activate. |
| public void | |
| public void | setBorderStyle(PDBorderStyleDictionary
the border style dictionary to set. bs)This will set the border style dictionary, specifying the width and dash pattern used in drawing the line. |
| public void | setCustomAppearanceHandler(PDAppearanceHandler
custom appearance handler appearanceHandler)Set a custom appearance handler for generating the annotations appearance streams. |
| public void | |
| public void | |
| public void | setPreviousURI(PDActionURI
The previous URI. pa)This will set the previous URI action, in case it needs to be retrieved at later date. |
| public void | setQuadPoints(float[]
an array representing the set of area covered. quadPoints)This will set the set of quadpoints which encompass the areas of this annotation which will activate. |
| customAppearanceHandler | back to summary |
|---|---|
| private PDAppearanceHandler customAppearanceHandler Custom appearance handler to generate an appearance stream. | |
| HIGHLIGHT_MODE_INVERT | back to summary |
|---|---|
| public static final String HIGHLIGHT_MODE_INVERT Constant values of the Text as defined in the PDF 1.6 reference Table 8.19. | |
| HIGHLIGHT_MODE_NONE | back to summary |
|---|---|
| public static final String HIGHLIGHT_MODE_NONE Constant values of the Text as defined in the PDF 1.6 reference Table 8.19. | |
| HIGHLIGHT_MODE_OUTLINE | back to summary |
|---|---|
| public static final String HIGHLIGHT_MODE_OUTLINE Constant values of the Text as defined in the PDF 1.6 reference Table 8.19. | |
| HIGHLIGHT_MODE_PUSH | back to summary |
|---|---|
| public static final String HIGHLIGHT_MODE_PUSH Constant values of the Text as defined in the PDF 1.6 reference Table 8.19. | |
| SUB_TYPE | back to summary |
|---|---|
| public static final String SUB_TYPE The type of annotation. | |
| PDAnnotationLink | back to summary |
|---|---|
| public PDAnnotationLink() Constructor. | |
| PDAnnotationLink | back to summary |
|---|---|
| public PDAnnotationLink(COSDictionary field) Creates a Link annotation from a COSDictionary, expected to be a correct object definition.
| |
| constructAppearances | back to summary |
|---|---|
| public void constructAppearances() Overrides org. Doc from org. Create the appearance entry for this annotation. Not having it may prevent display in some viewers. This method is for overriding in subclasses, the default implementation does nothing.
| |
| constructAppearances | back to summary |
|---|---|
| public void constructAppearances(PDDocument document) Overrides org. Doc from org. Create the appearance entry for this annotation. Not having it may prevent display in some viewers. This method is for overriding in subclasses, the default implementation does nothing.
| |
| getAction | back to summary |
|---|---|
| public PDAction getAction() Get the action to be performed when this annotation is to be activated. Either this or the destination entry should be set, but not both.
| |
| getBorderStyle | back to summary |
|---|---|
| public PDBorderStyleDictionary getBorderStyle() This will retrieve the border style dictionary, specifying the width and dash pattern used in drawing the line.
| |
| getDestination | back to summary |
|---|---|
| public PDDestination getDestination() throws IOException Get the destination to be displayed when the annotation is activated. Either this or the action entry should be set, but not both.
| |
| getHighlightMode | back to summary |
|---|---|
| public String getHighlightMode() Set the highlight mode for when the mouse is depressed. See the HIGHLIGHT_MODE_XXX constants.
| |
| getPreviousURI | back to summary |
|---|---|
| public PDActionURI getPreviousURI() This will set the previous URI action, in case it's needed.
| |
| getQuadPoints | back to summary |
|---|---|
| public float[] getQuadPoints() This will retrieve the set of quadpoints which encompass the areas of this annotation which will activate.
| |
| setAction | back to summary |
|---|---|
| public void setAction(PDAction action) Set the annotation action. Either this or the destination entry should be set, but not both.
| |
| setBorderStyle | back to summary |
|---|---|
| public void setBorderStyle(PDBorderStyleDictionary bs) This will set the border style dictionary, specifying the width and dash pattern used in drawing the line.
| |
| setCustomAppearanceHandler | back to summary |
|---|---|
| public void setCustomAppearanceHandler(PDAppearanceHandler appearanceHandler) Set a custom appearance handler for generating the annotations appearance streams.
| |
| setDestination | back to summary |
|---|---|
| public void setDestination(PDDestination dest) The new destination value. Either this or the action entry should be set, but not both.
| |
| setHighlightMode | back to summary |
|---|---|
| public void setHighlightMode(String mode) Set the highlight mode. See the HIGHLIGHT_MODE_XXX constants.
| |
| setPreviousURI | back to summary |
|---|---|
| public void setPreviousURI(PDActionURI pa) This will set the previous URI action, in case it needs to be retrieved at later date.
| |
| setQuadPoints | back to summary |
|---|---|
| public void setQuadPoints(float[] quadPoints) This will set the set of quadpoints which encompass the areas of this annotation which will activate.
| |