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 |
copy() |
short |
getCopies() |
protected int |
getDataSize() |
boolean |
getDraft() |
short |
getFitHeight() |
short |
getFitWidth() |
double |
getFooterMargin() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
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) |
getRecordSize, serializecloneViaReserialise, serialize, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericChildrenpublic 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 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 StandardRecordout - the output objectprotected int getDataSize()
getDataSize in class StandardRecordpublic short getSid()
Recordpublic PrintSetupRecord copy()
copy in interface Duplicatablecopy in class StandardRecordpublic HSSFRecordTypes getGenericRecordType()
getGenericRecordType in interface GenericRecordgetGenericRecordType in class Recordpublic java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.