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.
(返回此记录的 id 的非静态版本。)
|
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.
(写入此 BIFF 记录的数据内容。)
|
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 record
(options - 为此记录设置哪些选项)
public void setDisplayFormulas(boolean formulas)
formulas
- or not
(公式 - 与否)
public void setDisplayGridlines(boolean gridlines)
gridlines
- or not
(网格线 - 或不)
public void setDisplayRowColHeadings(boolean headings)
headings
- or not
(标题 - 或没有)
public void setFreezePanes(boolean freezepanes)
freezepanes
- freeze panes or not
(freezepanes - 是否冻结窗格)
public void setDisplayZeros(boolean zeros)
zeros
- or not
(零 - 或不)
public void setDefaultHeader(boolean header)
header
- or not
(标头 - 与否)
public void setArabic(boolean isarabic)
isarabic
- arabic or not
(isarabic - 阿拉伯语与否)
public void setDisplayGuts(boolean guts)
guts
- symbols or not
(胆量 - 符号与否)
public void setFreezePanesNoSplit(boolean freeze)
freeze
- or not
(冻结 - 或不)
public void setSelected(boolean sel)
sel
- selected or not
(sel - 选择与否)
public void setActive(boolean p)
p
- displayed or not
(p - 显示与否)
public void setSavedInPageBreakPreview(boolean p)
p
- pagebreaksaved or not
(p - 是否保存分页符)
public void setTopRow(short topRow)
topRow
- top row visible
(topRow - 顶行可见)
public void setLeftCol(short leftCol)
leftCol
- leftmost column
(leftCol - 最左边的列)
public void setHeaderColor(int color)
color
- Which color to use for the header, see the specification for details
(color - 标题使用哪种颜色,详细信息请参阅规范)
public void setPageBreakZoom(short zoom)
zoom
- The zoom-level to use for the page-break view
(zoom - 用于分页视图的缩放级别)
public void setNormalZoom(short zoom)
zoom
- The zoom-level to use for the normal view
(zoom - 用于普通视图的缩放级别)
public void setReserved(int reserved)
reserved
- reserved value usually does not need to be set
(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 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
(在 StandardRecord 类中序列化)
out
- the output object
(out - 输出对象)
protected int getDataSize()
getDataSize
in class
StandardRecord
(类 StandardRecord 中的 getDataSize)
public short getSid()
Record
public WindowTwoRecord copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
StandardRecord
(在 StandardRecord 类中复制)
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericRecordType)
getGenericRecordType
in class
Record
(类 Record 中的 getGenericRecordType)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.