|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hssf.record.RecordBase org.apache.poi.hssf.record.Record org.apache.poi.hssf.record.StandardRecord org.apache.poi.hssf.record.WindowTwoRecord
public final class WindowTwoRecord
Title: Window Two Record
Description: sheet window settings
REFERENCE: PG 422 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)
Field Summary | |
---|---|
static short |
sid
|
Constructor Summary | |
---|---|
WindowTwoRecord()
|
|
WindowTwoRecord(RecordInputStream in)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
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 |
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 |
boolean |
getPaged()
Deprecated. use isActive() |
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 magification in page break view |
void |
setPaged(boolean p)
Deprecated. use setActive() |
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 |
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging) |
Methods inherited from class org.apache.poi.hssf.record.StandardRecord |
---|
getRecordSize, serialize |
Methods inherited from class org.apache.poi.hssf.record.Record |
---|
cloneViaReserialise, serialize |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short sid
Constructor Detail |
---|
public WindowTwoRecord()
public WindowTwoRecord(RecordInputStream in)
Method Detail |
---|
public void setOptions(short options)
options
- public 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 setPaged(boolean p)
public 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
- public void setPageBreakZoom(short zoom)
zoom
- public void setNormalZoom(short zoom)
zoom
- public void setReserved(int reserved)
public 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 getPaged()
public boolean getSavedInPageBreakPreview()
public short getTopRow()
public short getLeftCol()
public int getHeaderColor()
public short getPageBreakZoom()
public short getNormalZoom()
public int getReserved()
public java.lang.String toString()
Record
toString
in class 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
getSid
in class Record
public java.lang.Object clone()
clone
in class Record
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |