jPod PDF library

de.intarsys.pdf.pd
Class PDTextAnnotation

java.lang.Object
  extended by de.intarsys.pdf.cos.COSBasedObject
      extended by de.intarsys.pdf.pd.PDObject
          extended by de.intarsys.pdf.pd.PDAnnotation
              extended by de.intarsys.pdf.pd.PDMarkupAnnotation
                  extended by de.intarsys.pdf.pd.PDTextAnnotation
All Implemented Interfaces:
ICOSObjectListener, IAdditionalActionSupport, de.intarsys.tools.attribute.IAttributeSupport

public class PDTextAnnotation
extends PDMarkupAnnotation

The /Text annotation.


Nested Class Summary
static class PDTextAnnotation.MetaClass
          The meta class implementation
 
Field Summary
static COSName CN_Subtype_Text
           
static COSName DK_Name
           
static COSName DK_Open
           
static COSName DK_State
           
static COSName DK_StateModel
           
static PDTextAnnotation.MetaClass META
          The meta class instance
 
Fields inherited from class de.intarsys.pdf.pd.PDMarkupAnnotation
CN_Subtype_Circle, CN_Subtype_Ink, CN_Subtype_Line, CN_Subtype_Polygon, CN_Subtype_PolyLine, CN_Subtype_Square, DK_CA, DK_CreationDate, DK_IC, DK_InkList, DK_IRT, DK_L, DK_Popup, DK_RC, DK_Subj, DK_T, DK_Vertices
 
Fields inherited from class de.intarsys.pdf.pd.PDAnnotation
ANNOTATION_ACTION_TRIGGERS, CN_Type_Annot, DK_A, DK_AP, DK_AS, DK_Border, DK_BS, DK_C, DK_Contents, DK_F, DK_M, DK_NM, DK_OC, DK_P, DK_Rect, DK_StructParent
 
Fields inherited from class de.intarsys.pdf.pd.PDObject
DK_Subtype, DK_Type
 
Fields inherited from interface de.intarsys.pdf.pd.IAdditionalActionSupport
DK_AA
 
Method Summary
 float getDefaultHeight()
          The default height this annotation likes to have.
 float getDefaultWidth()
          The default width this annotation likes to have.
 COSName getIconName()
           
 float getMinHeight()
          The minimum height this annotation allows.
 float getMinWidth()
          The minimum width this annotation allows.
 String getSubtypeLabel()
          A String representation of this.
 boolean isPrint()
          Convenience method to access "Print" flag.
 COSName setIconName(COSName name)
           
 boolean supportsPrint()
          true if print flag can be selected/changed for this kind of annotation.
 
Methods inherited from class de.intarsys.pdf.pd.PDMarkupAnnotation
cosSetField, getCreationDate, getInnerColor, getInReplyTo, getOpacity, getPopup, getRichContent, getSubject, getText, isMarkupAnnotation, setInnerColor, setOpacity, setPopup, setSubject, setText
 
Methods inherited from class de.intarsys.pdf.pd.PDAnnotation
addAction, basicGetFlags, basicSetFlags, canReceiveFocus, copy, dispose, getAction, getAdditionalActions, getAppearance, getAppearanceState, getAppearanceStates, getBorderStyle, getBorderStyleName, getBorderStyleWidth, getColor, getContents, getFlags, getModified, getName, getNormalizedRectangle, getPage, getRectangle, getSupportedTriggerEvents, invalidateCaches, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isReadOnly, isToggleNoView, isWidgetAnnotation, setAction, setAdditionalActions, setAppearance, setAppearanceState, setBorderStyle, setBorderStyleName, setBorderStyleWidth, setColor, setContents, setHidden, setInvisible, setLocked, setName, setNoRotate, setNoView, setNoZoom, setPrint, setReadOnly, setRectangle, setToggleNoView, toString, touch
 
Methods inherited from class de.intarsys.pdf.pd.PDObject
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent
 
Methods inherited from class de.intarsys.pdf.cos.COSBasedObject
changed, cosGetArray, cosGetDict, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

META

public static final PDTextAnnotation.MetaClass META
The meta class instance


CN_Subtype_Text

public static final COSName CN_Subtype_Text

DK_Name

public static final COSName DK_Name

DK_Open

public static final COSName DK_Open

DK_State

public static final COSName DK_State

DK_StateModel

public static final COSName DK_StateModel
Method Detail

getDefaultHeight

public float getDefaultHeight()
Description copied from class: PDAnnotation
The default height this annotation likes to have.

Overrides:
getDefaultHeight in class PDAnnotation
Returns:
The default height this annotation likes to have.

getDefaultWidth

public float getDefaultWidth()
Description copied from class: PDAnnotation
The default width this annotation likes to have.

Overrides:
getDefaultWidth in class PDAnnotation
Returns:
The default width this annotation likes to have.

getIconName

public COSName getIconName()

getMinHeight

public float getMinHeight()
Description copied from class: PDAnnotation
The minimum height this annotation allows.

Overrides:
getMinHeight in class PDAnnotation
Returns:
The minimum height this annotation allows.

getMinWidth

public float getMinWidth()
Description copied from class: PDAnnotation
The minimum width this annotation allows.

Overrides:
getMinWidth in class PDAnnotation
Returns:
The minimum width this annotation allows.

getSubtypeLabel

public String getSubtypeLabel()
Description copied from class: PDAnnotation
A String representation of this.

Overrides:
getSubtypeLabel in class PDMarkupAnnotation
Returns:
A String representation of this.

isPrint

public boolean isPrint()
Description copied from class: PDAnnotation
Convenience method to access "Print" flag.

Overrides:
isPrint in class PDAnnotation

setIconName

public COSName setIconName(COSName name)

supportsPrint

public boolean supportsPrint()
Description copied from class: PDAnnotation
true if print flag can be selected/changed for this kind of annotation.

Overrides:
supportsPrint in class PDAnnotation
Returns:
true if print flag can be selected/changed for this kind of annotation.

jPod PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.