com.pdftools.expa
Class Annotation

java.lang.Object
  extended by com.pdftools.NativeLibrary
      extended by com.pdftools.expa.ExpaInitialize
          extended by com.pdftools.expa.Annotation

public class Annotation
extends ExpaInitialize


Nested Class Summary
 
Nested classes/interfaces inherited from class com.pdftools.expa.ExpaInitialize
ExpaInitialize.CONTENTOBJECT, ExpaInitialize.ORIENTATION, ExpaInitialize.Rectangle, ExpaInitialize.TransformMatrix
 
Nested classes/interfaces inherited from class com.pdftools.NativeLibrary
NativeLibrary.COLORCONVERSION, NativeLibrary.COLORSPACE, NativeLibrary.COMPRESSION, NativeLibrary.DITHERINGMODE, NativeLibrary.ERRORCODE, NativeLibrary.FONTTYPE, NativeLibrary.PERMISSION, NativeLibrary.RENDEREROPTION, NativeLibrary.RENDERINGMODE, NativeLibrary.ROTATEMODE, NativeLibrary.STRIPTYPE
 
Field Summary
 
Fields inherited from class com.pdftools.NativeLibrary
VERSION
 
Constructor Summary
Annotation()
           
 
Method Summary
 int getColor()
          get the color of the annotation.
 java.lang.String getContents()
          get the content of the annotation.
 ExpaInitialize.Rectangle getDate()
          get the date of the annotation.
 int getFlags()
          get the flags of the annotation.
 java.lang.String getName()
          get the name of the annotation.
 ExpaInitialize.Rectangle getRect()
          get the rectangle of the annotation.
 java.lang.String getSubtype()
          get the type of the annotation.
 java.lang.String getTextLabel()
          get the label of the text annotation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Annotation

public Annotation()
Method Detail

getSubtype

public java.lang.String getSubtype()
get the type of the annotation.

Returns:
the type of the annotation as string, such as "Widget", "Square"...

getRect

public ExpaInitialize.Rectangle getRect()
get the rectangle of the annotation.

Returns:
the rectangle of the annotation.

getContents

public java.lang.String getContents()
get the content of the annotation.

Returns:
the content of the annotation.

getName

public java.lang.String getName()
get the name of the annotation.

Returns:
the name of the annotation as string.

getDate

public ExpaInitialize.Rectangle getDate()
get the date of the annotation.

Returns:
the date of the annotation.

getFlags

public int getFlags()
get the flags of the annotation.

Returns:
the flags of the annotation as 32bit integer. 1 Invisible, 2 Hidden (PDF 1.2), 3 Print (PDF 1.2), 4 NoZoom (PDF 1.3), 5 NoRotate (PDF 1.3). 6 NoView (PDF 1.3), 7 ReadOnly (PDF 1.3), 8 Locked (PDF 1.4), 9 ToggleNoView (PDF 1.5).

getColor

public int getColor()
get the color of the annotation.


getTextLabel

public java.lang.String getTextLabel()
get the label of the text annotation.

Returns:
the label of the text annotation.