public final class PrintSetupRecord extends StandardRecord
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
PrintSetupRecord() |
PrintSetupRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
short |
getCopies() |
protected int |
getDataSize() |
boolean |
getDraft() |
boolean |
getEndNotes() |
int |
getErrors() |
short |
getFitHeight() |
short |
getFitWidth() |
double |
getFooterMargin() |
double |
getHeaderMargin() |
short |
getHResolution() |
boolean |
getLandscape() |
boolean |
getLeftToRight() |
boolean |
getNoColor() |
boolean |
getNoOrientation() |
boolean |
getNotes() |
short |
getOptions() |
short |
getPageStart() |
short |
getPaperSize() |
short |
getScale() |
short |
getSid()
return the non static version of the id for this record.
|
boolean |
getUsePage() |
boolean |
getValidSettings() |
short |
getVResolution() |
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
void |
setCopies(short copies) |
void |
setDraft(boolean d) |
void |
setEndNotes(boolean flag) |
void |
setErrors(int mode) |
void |
setFitHeight(short height) |
void |
setFitWidth(short width) |
void |
setFooterMargin(double footermargin) |
void |
setHeaderMargin(double headermargin) |
void |
setHResolution(short resolution) |
void |
setLandscape(boolean ls) |
void |
setLeftToRight(boolean ltor) |
void |
setNoColor(boolean mono) |
void |
setNoOrientation(boolean orientation) |
void |
setNotes(boolean printnotes) |
void |
setOptions(short options) |
void |
setPageStart(short start) |
void |
setPaperSize(short size) |
void |
setScale(short scale) |
void |
setUsePage(boolean page) |
void |
setValidSettings(boolean valid) |
void |
setVResolution(short resolution) |
String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serialize
cloneViaReserialise, serialize
public static final short sid
public PrintSetupRecord()
public PrintSetupRecord(RecordInputStream in)
public void setPaperSize(short size)
public void setScale(short scale)
public void setPageStart(short start)
public void setFitWidth(short width)
public void setFitHeight(short height)
public void setOptions(short options)
public void setLeftToRight(boolean ltor)
public void setLandscape(boolean ls)
public void setValidSettings(boolean valid)
public void setNoColor(boolean mono)
public void setDraft(boolean d)
public void setNotes(boolean printnotes)
public void setNoOrientation(boolean orientation)
public void setUsePage(boolean page)
public void setEndNotes(boolean flag)
public void setErrors(int mode)
public void setHResolution(short resolution)
public void setVResolution(short resolution)
public void setHeaderMargin(double headermargin)
public void setFooterMargin(double footermargin)
public void setCopies(short copies)
public short getPaperSize()
public short getScale()
public short getPageStart()
public short getFitWidth()
public short getFitHeight()
public short getOptions()
public boolean getLeftToRight()
public boolean getLandscape()
public boolean getValidSettings()
public boolean getNoColor()
public boolean getDraft()
public boolean getNotes()
public boolean getNoOrientation()
public boolean getUsePage()
public boolean getEndNotes()
public int getErrors()
public short getHResolution()
public short getVResolution()
public double getHeaderMargin()
public double getFooterMargin()
public short getCopies()
public String toString()
Record
public void serialize(LittleEndianOutput out)
StandardRecord
RecordBase.getRecordSize()
} minus four
( record header consiting of a 'ushort sid' and 'ushort reclength' has already been written
by thye superclass).serialize
in class StandardRecord
protected int getDataSize()
getDataSize
in class StandardRecord
public short getSid()
Record
Copyright © 2020. All rights reserved.