public final class PrintSetupRecord extends StandardRecord
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
PrintSetupRecord() |
PrintSetupRecord(PrintSetupRecord other) |
PrintSetupRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
PrintSetupRecord |
clone()
Deprecated.
|
PrintSetupRecord |
copy() |
short |
getCopies() |
protected int |
getDataSize() |
boolean |
getDraft() |
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 |
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) |
java.lang.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(PrintSetupRecord other)
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 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 short getHResolution()
public short getVResolution()
public double getHeaderMargin()
public double getFooterMargin()
public short getCopies()
public java.lang.String toString()
Record
public void serialize(LittleEndianOutput out)
StandardRecord
The number of bytes written must equal the record size reported by
RecordBase.getRecordSize()
} minus four (
record header consisting of a 'ushort sid' and 'ushort reclength' has
already been written by their superclass).
serialize
in class StandardRecord
out
- the output objectprotected int getDataSize()
getDataSize
in class StandardRecord
public short getSid()
Record
@Deprecated @Removal(version="5.0.0") public PrintSetupRecord clone()
clone
in class java.lang.Object
public PrintSetupRecord copy()
copy
in interface Duplicatable
copy
in class StandardRecord
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.