jxl.read.biff
Class SetupRecord

java.lang.Object
  |
  +--jxl.biff.RecordData
        |
        +--jxl.read.biff.SetupRecord

public class SetupRecord
extends RecordData

Contains the page set up for a sheet


Field Summary
private  byte[] data
          The raw data
private  int fitHeight
          The fit height
private  int fitWidth
          The fit width
private  double footerMargin
          The footer margin
private  double headerMargin
          The header margin
private  int horizontalPrintResolution
          The horizontal print resolution
private  int pageStart
          The page start
private  int paperSize
          The paper size
private  boolean portraitOrientation
          The orientation flag
private  int scaleFactor
          The scale factor
private  int verticalPrintResolution
          The vertical print resolution
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
(package private) SetupRecord(Record t)
          Constructor which creates this object from the binary data
 
Method Summary
 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, registerNatives, toString, wait, wait, wait
 

Field Detail

data

private byte[] data
The raw data

portraitOrientation

private boolean portraitOrientation
The orientation flag

headerMargin

private double headerMargin
The header margin

footerMargin

private double footerMargin
The footer margin

paperSize

private int paperSize
The paper size

scaleFactor

private int scaleFactor
The scale factor

pageStart

private int pageStart
The page start

fitWidth

private int fitWidth
The fit width

fitHeight

private int fitHeight
The fit height

horizontalPrintResolution

private int horizontalPrintResolution
The horizontal print resolution

verticalPrintResolution

private int verticalPrintResolution
The vertical print resolution
Constructor Detail

SetupRecord

SetupRecord(Record t)
Constructor which creates this object from the binary data
Parameters:
t - the record
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