com.pdftools.expa
Class Page

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

public class Page
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
Page()
           
 
Method Summary
 ExpaInitialize.Rectangle getArtBox()
          get the art box rectangle.
 ExpaInitialize.Rectangle getBleedBox()
          get the bleed box rectangle.
 Content getContent()
          get the page’s content stream.
 ExpaInitialize.Rectangle getCropBox()
          get the crop box rectangle.
 Document getDocument()
          get the page’s document.
 Annotation getFirstAnnotation()
          get the first annotation.
 ExpaInitialize.Rectangle getMediaBox()
          get the media box rectangle.
 Annotation getNextAnnotation()
          get the next annotation.
 int getRotate()
          get the page’s rotation value.
 ExpaInitialize.Rectangle getTrimBox()
          get the trim box rectangle.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Page

public Page()
Method Detail

getDocument

public Document getDocument()
get the page’s document.

Returns:
the interface to the page’s document.

getMediaBox

public ExpaInitialize.Rectangle getMediaBox()
get the media box rectangle.

Returns:
the media box rectangle given by the coordinates left, bottom, right, top.

getCropBox

public ExpaInitialize.Rectangle getCropBox()
get the crop box rectangle.

Returns:
the crop box rectangle given by the coordinates left, bottom, right, top

getBleedBox

public ExpaInitialize.Rectangle getBleedBox()
get the bleed box rectangle.

Returns:
the bleed box rectangle given by the coordinates left, bottom, right, top

getTrimBox

public ExpaInitialize.Rectangle getTrimBox()
get the trim box rectangle.

Returns:
the trim box rectangle given by the coordinates left, bottom, right, top

getArtBox

public ExpaInitialize.Rectangle getArtBox()
get the art box rectangle.

Returns:
the art box rectangle given by the coordinates left, bottom, right, top

getRotate

public int getRotate()
get the page’s rotation value.

Returns:
the page’s rotation value. This value is used by viewer programs to turn the page by the given number of degrees while displaying. A positive number turns the page clockwise. The value must be a multiple of 90, i.e. valid values are -270, -180, -90, 0, 90, 180, 270

getContent

public Content getContent()
get the page’s content stream.

Returns:
an interface to the page’s content stream.

getFirstAnnotation

public Annotation getFirstAnnotation()
get the first annotation.

Returns:
an interface to the first annotation.

getNextAnnotation

public Annotation getNextAnnotation()
get the next annotation.

Returns:
an interface to the next annotation.