| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  |
  +--jxl.biff.RecordData
        |
        +--jxl.biff.WritableRecordData
              |
              +--jxl.write.biff.SetupRecord
Stores the options and measurements from the Page Setup dialog box
| Field Summary | |
private  byte[] | 
data
The binary data for output to file  | 
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  PageOrientation | 
orientation
The page orientation  | 
private  int | 
pageStart
The page start  | 
private  int | 
paperSize
The paper size  | 
private  int | 
scaleFactor
The scale factor  | 
private  int | 
verticalPrintResolution
The vertical print resolution  | 
| Fields inherited from class jxl.biff.RecordData | 
code, record | 
| Constructor Summary | |
SetupRecord()
Deprecated. in favour of the sheet settings constructor  | 
|
SetupRecord(SetupRecord sr)
Deprecated. in favour of the SheetSettings constructor  | 
|
SetupRecord(SheetSettings s)
Constructor, taking the sheet settings.  | 
|
| Method Summary | |
 byte[] | 
getData()
Gets the binary data for output to file  | 
 void | 
setMargins(double hm,
           double fm)
Sets the header and footer margins  | 
 void | 
setOrientation(PageOrientation o)
Sets the orientation  | 
 void | 
setPaperSize(PaperSize ps)
Sets the paper size  | 
| Methods inherited from class jxl.biff.WritableRecordData | 
getBytes | 
| Methods inherited from class jxl.biff.RecordData | 
getCode, getRecord | 
| Methods inherited from class java.lang.Object | 
 | 
| Field Detail | 
private byte[] data
private double headerMargin
private double footerMargin
private PageOrientation orientation
private int paperSize
private int scaleFactor
private int pageStart
private int fitWidth
private int fitHeight
private int horizontalPrintResolution
private int verticalPrintResolution
| Constructor Detail | 
public SetupRecord()
public SetupRecord(SheetSettings s)
the - sheet settingspublic SetupRecord(SetupRecord sr)
| Method Detail | 
public void setOrientation(PageOrientation o)
o - the orientation
public void setMargins(double hm,
                       double fm)
hm - the header marginfm - the footer marginpublic void setPaperSize(PaperSize ps)
ps - the paper sizepublic byte[] getData()
getData in class WritableRecordData
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||