jPod PDF library

de.intarsys.pdf.pd
Class PDFileAttachmentAnnotation

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.PDFileAttachmentAnnotation
All Implemented Interfaces:
ICOSObjectListener, IAdditionalActionSupport, de.intarsys.tools.attribute.IAttributeSupport

public class PDFileAttachmentAnnotation
extends PDMarkupAnnotation

The file attachment annotation


Nested Class Summary
static class PDFileAttachmentAnnotation.MetaClass
          The meta class implementation
 
Field Summary
static COSName CN_Name_Graph
           
static COSName CN_Name_Paperclip
           
static COSName CN_Name_PushPin
           
static COSName CN_Name_Tag
           
static COSName CN_Subtype_FileAttachment
           
static COSName DK_FS
           
static COSName DK_Name
           
static PDFileAttachmentAnnotation.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
 
Constructor Summary
PDFileAttachmentAnnotation(COSObject object)
           
 
Method Summary
 float getDefaultHeight()
          The default height this annotation likes to have.
 float getDefaultWidth()
          The default width this annotation likes to have.
 PDFileSpecification getFileSpecification()
           
 COSName getIconName()
           
 float getMinHeight()
          The minimum height this annotation allows.
 float getMinWidth()
          The minimum width this annotation allows.
 void setFileSpecification(PDFileSpecification fileSpec)
           
 void setIconName(COSName name)
           
 
Methods inherited from class de.intarsys.pdf.pd.PDMarkupAnnotation
cosSetField, getCreationDate, getInnerColor, getInReplyTo, getOpacity, getPopup, getRichContent, getSubject, getSubtypeLabel, 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, isPrint, isReadOnly, isToggleNoView, isWidgetAnnotation, setAction, setAdditionalActions, setAppearance, setAppearanceState, setBorderStyle, setBorderStyleName, setBorderStyleWidth, setColor, setContents, setHidden, setInvisible, setLocked, setName, setNoRotate, setNoView, setNoZoom, setPrint, setReadOnly, setRectangle, setToggleNoView, supportsPrint, 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 PDFileAttachmentAnnotation.MetaClass META
The meta class instance


DK_FS

public static final COSName DK_FS

DK_Name

public static final COSName DK_Name

CN_Name_Graph

public static final COSName CN_Name_Graph

CN_Name_PushPin

public static final COSName CN_Name_PushPin

CN_Name_Paperclip

public static final COSName CN_Name_Paperclip

CN_Name_Tag

public static final COSName CN_Name_Tag

CN_Subtype_FileAttachment

public static final COSName CN_Subtype_FileAttachment
Constructor Detail

PDFileAttachmentAnnotation

public PDFileAttachmentAnnotation(COSObject object)
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.

getFileSpecification

public PDFileSpecification getFileSpecification()

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.

setFileSpecification

public void setFileSpecification(PDFileSpecification fileSpec)

setIconName

public void setIconName(COSName name)

jPod PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.