public final class WindowTwoRecord extends StandardRecord
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
WindowTwoRecord() |
WindowTwoRecord(RecordInputStream in) |
WindowTwoRecord(WindowTwoRecord other) |
Modifier and Type | Method and Description |
---|---|
WindowTwoRecord |
copy() |
boolean |
getArabic()
is this arabic?
|
protected int |
getDataSize() |
boolean |
getDefaultHeader()
get whether the window should display a default header
|
boolean |
getDisplayFormulas()
get whether the window should display formulas
|
boolean |
getDisplayGridlines()
get whether the window should display gridlines
|
boolean |
getDisplayGuts()
get whether the outline symbols are displaed
|
boolean |
getDisplayRowColHeadings()
get whether the window should display row and column headings
|
boolean |
getDisplayZeros()
get whether the window should display zero values
|
boolean |
getFreezePanes()
get whether the window should freeze panes
|
boolean |
getFreezePanesNoSplit()
freeze unsplit panes or not
|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
int |
getHeaderColor()
get the palette index for the header color
|
short |
getLeftCol()
get the leftmost column displayed in the window
|
short |
getNormalZoom()
get the zoom magnification in normal view
|
short |
getOptions()
get the options bitmask or just use the bit setters.
|
short |
getPageBreakZoom()
zoom magification in page break view
|
int |
getReserved()
get the reserved bits - why would you do this?
|
boolean |
getSavedInPageBreakPreview()
was the sheet saved in page break view
|
boolean |
getSelected()
sheet tab is selected
|
short |
getSid()
return the non static version of the id for this record.
|
short |
getTopRow()
get the top row visible in the window
|
boolean |
isActive()
is the sheet currently displayed in the window
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
void |
setActive(boolean p)
is the sheet currently displayed in the window
|
void |
setArabic(boolean isarabic)
is this arabic?
|
void |
setDefaultHeader(boolean header)
set whether the window should display a default header
|
void |
setDisplayFormulas(boolean formulas)
set whether the window should display formulas
|
void |
setDisplayGridlines(boolean gridlines)
set whether the window should display gridlines
|
void |
setDisplayGuts(boolean guts)
set whether the outline symbols are displaed
|
void |
setDisplayRowColHeadings(boolean headings)
set whether the window should display row and column headings
|
void |
setDisplayZeros(boolean zeros)
set whether the window should display zero values
|
void |
setFreezePanes(boolean freezepanes)
set whether the window should freeze panes
|
void |
setFreezePanesNoSplit(boolean freeze)
freeze unsplit panes or not
|
void |
setHeaderColor(int color)
set the palette index for the header color
|
void |
setLeftCol(short leftCol)
set the leftmost column displayed in the window
|
void |
setNormalZoom(short zoom)
set the zoom magnification in normal view
|
void |
setOptions(short options)
set the options bitmask or just use the bit setters.
|
void |
setPageBreakZoom(short zoom)
zoom magnification in page break view
|
void |
setReserved(int reserved)
set the reserved (don't do this) value
|
void |
setSavedInPageBreakPreview(boolean p)
was the sheet saved in page break view
|
void |
setSelected(boolean sel)
sheet tab is selected
|
void |
setTopRow(short topRow)
set the top row visible in the window
|
getRecordSize, serialize
cloneViaReserialise, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public static final short sid
public WindowTwoRecord()
public WindowTwoRecord(WindowTwoRecord other)
public WindowTwoRecord(RecordInputStream in)
public void setOptions(short options)
options
- Which options to set for this recordpublic void setDisplayFormulas(boolean formulas)
formulas
- or notpublic void setDisplayGridlines(boolean gridlines)
gridlines
- or notpublic void setDisplayRowColHeadings(boolean headings)
headings
- or notpublic void setFreezePanes(boolean freezepanes)
freezepanes
- freeze panes or notpublic void setDisplayZeros(boolean zeros)
zeros
- or notpublic void setDefaultHeader(boolean header)
header
- or notpublic void setArabic(boolean isarabic)
isarabic
- arabic or notpublic void setDisplayGuts(boolean guts)
guts
- symbols or notpublic void setFreezePanesNoSplit(boolean freeze)
freeze
- or notpublic void setSelected(boolean sel)
sel
- selected or notpublic void setActive(boolean p)
p
- displayed or notpublic void setSavedInPageBreakPreview(boolean p)
p
- pagebreaksaved or notpublic void setTopRow(short topRow)
topRow
- top row visiblepublic void setLeftCol(short leftCol)
leftCol
- leftmost columnpublic void setHeaderColor(int color)
color
- Which color to use for the header, see the specification for detailspublic void setPageBreakZoom(short zoom)
zoom
- The zoom-level to use for the page-break viewpublic void setNormalZoom(short zoom)
zoom
- The zoom-level to use for the normal viewpublic void setReserved(int reserved)
reserved
- reserved value usually does not need to be setpublic short getOptions()
public boolean getDisplayFormulas()
public boolean getDisplayGridlines()
public boolean getDisplayRowColHeadings()
public boolean getFreezePanes()
public boolean getDisplayZeros()
public boolean getDefaultHeader()
public boolean getArabic()
public boolean getDisplayGuts()
public boolean getFreezePanesNoSplit()
public boolean getSelected()
public boolean isActive()
public boolean getSavedInPageBreakPreview()
public short getTopRow()
public short getLeftCol()
public int getHeaderColor()
public short getPageBreakZoom()
public short getNormalZoom()
public int getReserved()
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
public WindowTwoRecord copy()
copy
in interface Duplicatable
copy
in class StandardRecord
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in class Record
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.