jxl.read.biff
Class SetupRecord

java.lang.Object
  extended byjxl.biff.RecordData
      extended byjxl.read.biff.SetupRecord

public class SetupRecord
extends RecordData

Contains the page set up for a sheet


Method Summary
 int getCopies()
          Accessor for the number of copies
 int getFitHeight()
          Accessor for the fit height.
 int getFitWidth()
          Accessor for the fit width.
 double getFooterMargin()
          Accessor for the footer.
 double getHeaderMargin()
          Accessor for the header.
 int getHorizontalPrintResolution()
          The horizontal print resolution.
 int getPageStart()
          Accessor for the page height.
 int getPaperSize()
          Accessor for the paper size.
 int getScaleFactor()
          Accessor for the scale factor.
 int getVerticalPrintResolution()
          Accessor for the vertical print resolution.
 boolean isPortrait()
          Accessor for the orientation.
 
Methods inherited from class jxl.biff.RecordData
getCode, getRecord
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isPortrait

public boolean isPortrait()
Accessor for the orientation. Called when copying sheets

Returns:
TRUE if the orientation is portrait, FALSE if it is landscape

getHeaderMargin

public double getHeaderMargin()
Accessor for the header. Called when copying sheets

Returns:
the header margin

getFooterMargin

public double getFooterMargin()
Accessor for the footer. Called when copying sheets

Returns:
the footer margin

getPaperSize

public int getPaperSize()
Accessor for the paper size. Called when copying sheets

Returns:
the footer margin

getScaleFactor

public int getScaleFactor()
Accessor for the scale factor. Called when copying sheets

Returns:
the scale factor

getPageStart

public int getPageStart()
Accessor for the page height. called when copying sheets

Returns:
the page to start printing at

getFitWidth

public int getFitWidth()
Accessor for the fit width. Called when copying sheets

Returns:
the fit width

getFitHeight

public int getFitHeight()
Accessor for the fit height. Called when copying sheets

Returns:
the fit height

getHorizontalPrintResolution

public int getHorizontalPrintResolution()
The horizontal print resolution. Called when copying sheets

Returns:
the horizontal print resolution

getVerticalPrintResolution

public int getVerticalPrintResolution()
Accessor for the vertical print resolution. Called when copying sheets

Returns:
an vertical print resolution

getCopies

public int getCopies()
Accessor for the number of copies

Returns:
the number of copies