public final class ExtendedFormatRecord extends StandardRecord
There are two breeds: Style and Cell.
It should be noted that fields in the extended format record are somewhat arbitrary. Almost all of the fields are bit-level, but we name them as best as possible by functional group. In some places this is better than others.
(可能是更复杂的记录之一。有两个品种:风格和细胞。需要注意的是,扩展格式记录中的字段有些随意。几乎所有字段都是位级的,但我们尽可能按功能组命名它们。在某些地方,这比其他地方要好。)Modifier and Type | Field and Description |
---|---|
static short |
ALT_BARS |
static short |
BIG_SPOTS |
static short |
BRICKS |
static short |
CENTER |
static short |
CENTER_SELECTION |
static short |
DASH_DOT |
static short |
DASH_DOT_DOT |
static short |
DASHED |
static short |
DIAMONDS |
static short |
DOTTED |
static short |
DOUBLE |
static short |
FILL |
static short |
FINE_DOTS |
static short |
GENERAL |
static short |
HAIR |
static short |
JUSTIFY |
static short |
LEFT |
static short |
MEDIUM |
static short |
MEDIUM_DASH_DOT |
static short |
MEDIUM_DASH_DOT_DOT |
static short |
MEDIUM_DASHED |
static short |
NO_FILL |
static short |
NONE |
static short |
NULL |
static short |
RIGHT |
static short |
sid |
static short |
SLANTED_DASH_DOT |
static short |
SOLID_FILL |
static short |
SPARSE_DOTS |
static short |
SQUARES |
static short |
THICK |
static short |
THICK_BACKWARD_DIAG |
static short |
THICK_FORWARD_DIAG |
static short |
THICK_HORZ_BANDS |
static short |
THICK_VERT_BANDS |
static short |
THIN |
static short |
THIN_BACKWARD_DIAG |
static short |
THIN_FORWARD_DIAG |
static short |
THIN_HORZ_BANDS |
static short |
THIN_VERT_BANDS |
static short |
VERTICAL_BOTTOM |
static short |
VERTICAL_CENTER |
static short |
VERTICAL_JUSTIFY |
static short |
VERTICAL_TOP |
static short |
XF_CELL |
static short |
XF_STYLE |
Constructor and Description |
---|
ExtendedFormatRecord() |
ExtendedFormatRecord(ExtendedFormatRecord other) |
ExtendedFormatRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
cloneStyleFrom(ExtendedFormatRecord source)
Clones all the style information from another ExtendedFormatRecord, onto this one.
(将另一个 ExtendedFormatRecord 中的所有样式信息克隆到这个上。)
|
ExtendedFormatRecord |
copy() |
boolean |
equals(java.lang.Object obj)
Will consider two different records with the same contents as equals, as the various indexes that matter are embedded in the records
(将考虑两个具有相同内容的不同记录,因为重要的各种索引都嵌入在记录中)
|
boolean |
get123Prefix()
get some old holdover from lotus 123.
(从lotus 123那里得到一些旧的保留。)
|
short |
getAdtlDiag()
get for diagonal borders? No idea (its a palette color for the other function we didn't know what was?)
(获得对角线边框?不知道(它是我们不知道的其他功能的调色板颜色?))
|
short |
getAdtlDiagLineStyle()
get the diagonal border line style? Who the heck ever heard of a diagonal border?
(获得对角线边框线样式?谁听说过对角线边界?)
|
short |
getAdtlFillPattern()
get the additional fill pattern
(获得额外的填充图案)
|
int |
getAdtlPaletteOptions()
get the additional palette options bitmask (see individual bit getter methods that reference this method)
(获取其他调色板选项位掩码(请参阅引用此方法的各个位获取器方法))
|
short |
getAlignment()
get the horizontal alignment of the cell.
(获取单元格的水平对齐方式。)
|
short |
getAlignmentOptions()
get the alignment options bitmask.
(获取对齐选项位掩码。)
|
short |
getBorderBottom()
get the borderline style for the bottom border
(获取底部边框的边框样式)
|
short |
getBorderLeft()
get the borderline style for the left border
(获取左边框的边框样式)
|
short |
getBorderOptions()
get the border options bitmask (see the corresponding bit getter methods that reference back to this one)
(获取边框选项位掩码(请参阅引用回此的相应位 getter 方法))
|
short |
getBorderRight()
get the borderline style for the right border
(获取右边框的边框样式)
|
short |
getBorderTop()
get the borderline style for the top border
(获取上边框的边框样式)
|
short |
getBottomBorderPaletteIdx()
get the palette index for the bottom border
(获取底部边框的调色板索引)
|
short |
getCellOptions()
gets the options bitmask - you can also use corresponding option bit getters (see other methods that reference this one)
(获取选项位掩码 - 您还可以使用相应的选项位获取器(请参阅引用此方法的其他方法))
|
protected int |
getDataSize() |
short |
getDiag()
Not sure what this is for (maybe fill lines?) 1 = down, 2 = up, 3 = both, 0 for none..
(不知道这是干什么用的(也许是填充线?) 1 = 向下,2 = 向上,3 = 两者,0 表示无..)
|
short |
getFillBackground()
get the background palette color index
(获取背景调色板颜色索引)
|
short |
getFillForeground()
get the foreground palette color index
(获取前景调色板颜色索引)
|
short |
getFillPaletteOptions()
get the fill palette options bitmask (see indivdual bit getters that reference this method)
(获取填充调色板选项位掩码(请参阅引用此方法的各个位获取器))
|
short |
getFontIndex()
get the index to the FONT record (which font to use 0 based)
(获取 FONT 记录的索引(基于 0 使用哪种字体))
|
short |
getFormatIndex()
get the index to the Format record (which FORMAT to use 0-based)
(获取 Format 记录的索引(使用从 0 开始的 FORMAT))
|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
short |
getIndent()
get indention (not sure of the units, think its spaces)
(缩进(不确定单位,想想它的空格))
|
short |
getIndentionOptions()
get the indent options bitmask (see corresponding bit getters that reference this field)
(获取缩进选项位掩码(请参阅引用此字段的相应位获取器))
|
short |
getJustifyLast()
Dunno.
(不知道。)
|
short |
getLeftBorderPaletteIdx()
get the palette index for the left border color
(获取左边框颜色的调色板索引)
|
boolean |
getMergeCells()
get whether to merge cells
(获取是否合并单元格)
|
short |
getPaletteOptions()
get the palette options bitmask (see the individual bit getter methods that reference this one)
(获取调色板选项位掩码(请参阅引用此选项的各个位 getter 方法))
|
short |
getParentIndex()
for cell XF types this is the parent style (usually 0/normal).
(对于单元格 XF 类型,这是父样式(通常为 0/正常)。)
|
short |
getReadingOrder()
get the reading order for far east versions (0 - Context, 1 - Left to right, 2 - right to left) - We could use some help with support for the far east.
(获取远东版本的阅读顺序(0 - 上下文,1 - 从左到右,2 - 从右到左) - 我们可以使用一些帮助来支持远东。)
|
short |
getRightBorderPaletteIdx()
get the palette index for the right border color
(获取右边框颜色的调色板索引)
|
short |
getRotation()
get the degree of rotation.
(得到旋转度数。)
|
boolean |
getShrinkToFit()
get whether to shrink the text to fit
(获取是否缩小文本以适应)
|
short |
getSid()
return the non static version of the id for this record.
(返回此记录的 id 的非静态版本。)
|
short |
getTopBorderPaletteIdx()
get the palette index for the top border
(获取上边框的调色板索引)
|
short |
getVerticalAlignment()
get the vertical alignment of text in the cell
(获取单元格中文本的垂直对齐方式)
|
boolean |
getWrapText()
get whether to wrap the text in the cell
(获取是否将文本换行到单元格中)
|
short |
getXFType()
get whether the cell is a cell or style XFRecord
(获取单元格是单元格还是样式 XFRecord)
|
int |
hashCode() |
boolean |
isHidden()
get whether the cell is hidden or not
(获取单元格是否隐藏)
|
boolean |
isIndentNotParentAlignment()
get whether or not to use the alignment in this XF instead of the parent XF.
(获取是否使用此 XF 中的对齐而不是父 XF。)
|
boolean |
isIndentNotParentBorder()
get whether or not to use the border in this XF instead of the parent XF.
(获取是否在此 XF 中使用边框而不是父 XF。)
|
boolean |
isIndentNotParentCellOptions()
get whether or not to use the locking/hidden in this XF instead of the parent XF.
(获取是否使用此 XF 中的锁定/隐藏而不是父 XF。)
|
boolean |
isIndentNotParentFont()
get whether or not to use the font in this XF instead of the parent XF.
(获取是否使用此 XF 中的字体而不是父 XF。)
|
boolean |
isIndentNotParentFormat()
get whether or not to use the format in this XF instead of the parent XF.
(获取是否使用此 XF 中的格式而不是父 XF。)
|
boolean |
isIndentNotParentPattern()
get whether or not to use the pattern in this XF instead of the parent XF.
(获取是否使用此 XF 中的模式而不是父 XF。)
|
boolean |
isLocked()
get whether the cell is locked or not
(获取单元格是否被锁定)
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
(写入此 BIFF 记录的数据内容。)
|
void |
set123Prefix(boolean prefix)
set some old holdover from lotus 123.
(设置一些来自莲花 123 的旧保留。)
|
void |
setAdtlDiag(short diag)
set for diagonal borders? No idea (its a palette color for the other function we didn't know what was?)
(设置对角线边框?不知道(它是我们不知道的其他功能的调色板颜色?))
|
void |
setAdtlDiagLineStyle(short diag)
set the diagonal border line style? Who the heck ever heard of a diagonal border?
(设置对角线边框线样式?谁听说过对角线边界?)
|
void |
setAdtlFillPattern(short fill)
set the fill pattern
(设置填充图案)
|
void |
setAdtlPaletteOptions(short options)
set the additional palette options bitmask (see individual bitsetter methods that reference this method)
(设置其他调色板选项位掩码(请参阅引用此方法的各个位设置器方法))
|
void |
setAlignment(short align)
set the horizontal alignment of the cell.
(设置单元格的水平对齐方式。)
|
void |
setAlignmentOptions(short options)
set the alignment options bitmask.
(设置对齐选项位掩码。)
|
void |
setBorderBottom(short border)
set the border line style for the bottom border
(设置下边框的边框线样式)
|
void |
setBorderLeft(short border)
set the borderline style for the left border
(设置左边框的边框样式)
|
void |
setBorderOptions(short options)
set the border options bitmask (see the corresponding bitsetter methods that reference back to this one)
(设置边框选项位掩码(请参阅引用回此的相应 bitsetter 方法))
|
void |
setBorderRight(short border)
set the border line style for the right border
(设置右边框的边框线样式)
|
void |
setBorderTop(short border)
set the border line style for the top border
(设置上边框的边框线样式)
|
void |
setBottomBorderPaletteIdx(short border)
set the palette index for the bottom border
(设置底部边框的调色板索引)
|
void |
setCellOptions(short options)
sets the options bitmask - you can also use corresponding option bit setters (see other methods that reference this one)
(设置选项位掩码 - 您还可以使用相应的选项位设置器(请参阅引用此方法的其他方法))
|
void |
setDiag(short diag)
Not sure what this is for (maybe fill lines?) 1 = down, 2 = up, 3 = both, 0 for none..
(不知道这是干什么用的(也许是填充线?) 1 = 向下,2 = 向上,3 = 两者,0 表示无..)
|
void |
setFillBackground(short color)
set the background palette color index
(设置背景调色板颜色索引)
|
void |
setFillForeground(short color)
set the foreground palette color index
(设置前景调色板颜色索引)
|
void |
setFillPaletteOptions(short options)
set the fill palette options bitmask (see bitfields for additional palette options)
(设置填充调色板选项位掩码(有关其他调色板选项,请参见位域))
|
void |
setFontIndex(short index)
set the index to the FONT record (which font to use 0 based)
(将索引设置为 FONT 记录(基于 0 使用哪种字体))
|
void |
setFormatIndex(short index)
set the index to the Format record (which FORMAT to use 0-based)
(将索引设置为 Format 记录(使用从 0 开始的 FORMAT))
|
void |
setHidden(boolean hidden)
set whether the cell is hidden or not
(设置单元格是否隐藏)
|
void |
setIndent(short indent)
set indention (not sure of the units, think its spaces)
(设置缩进(不确定单位,想想它的空格))
|
void |
setIndentionOptions(short options)
set the indent options bitmask (see corresponding bitmask setters that reference this field)
(设置缩进选项位掩码(请参阅引用此字段的相应位掩码设置器))
|
void |
setIndentNotParentAlignment(boolean alignment)
set whether or not to use the alignment in this XF instead of the parent XF.
(设置是否使用此 XF 中的对齐而不是父 XF。)
|
void |
setIndentNotParentBorder(boolean border)
set whether or not to use the border in this XF instead of the parent XF.
(设置是否使用此 XF 中的边框而不是父 XF。)
|
void |
setIndentNotParentCellOptions(boolean options)
set whether or not to use the locking/hidden in this XF instead of the parent XF.
(设置是否使用此 XF 中的锁定/隐藏而不是父 XF。)
|
void |
setIndentNotParentFont(boolean font)
set whether or not to use the font in this XF instead of the parent XF.
(设置是否使用此 XF 中的字体而不是父 XF。)
|
void |
setIndentNotParentFormat(boolean parent)
set whether or not to use the format in this XF instead of the parent XF.
(设置是否使用此 XF 中的格式而不是父 XF。)
|
void |
setIndentNotParentPattern(boolean pattern)
Sets whether or not to use the pattern in this XF instead of the parent XF (foreground/background).
(设置是否使用此 XF 中的图案而不是父 XF(前景/背景)。)
|
void |
setJustifyLast(short justify)
Dunno.
(不知道。)
|
void |
setLeftBorderPaletteIdx(short border)
set the palette index for the left border color
(设置左边框颜色的调色板索引)
|
void |
setLocked(boolean locked)
set whether the cell is locked or not
(设置单元格是否被锁定)
|
void |
setMergeCells(boolean merge)
set whether to merge cells
(设置是否合并单元格)
|
void |
setPaletteOptions(short options)
set the palette options bitmask (see the individual bitsetter methods that reference this one)
(设置调色板选项位掩码(请参阅引用此选项的各个位设置器方法))
|
void |
setParentIndex(short parent)
for cell XF types this is the parent style (usually 0/normal).
(对于单元格 XF 类型,这是父样式(通常为 0/正常)。)
|
void |
setReadingOrder(short order)
set the reading order for far east versions (0 - Context, 1 - Left to right, 2 - right to left) - We could use some help with support for the far east.
(设置远东版本的阅读顺序(0 - 上下文,1 - 从左到右,2 - 从右到左) - 我们可以使用一些帮助来支持远东。)
|
void |
setRightBorderPaletteIdx(short border)
set the palette index for the right border color
(为右边框颜色设置调色板索引)
|
void |
setRotation(short rotation)
set the degree of rotation.
(设置旋转度数。)
|
void |
setShrinkToFit(boolean shrink)
set whether to shrink the text to fit
(设置是否缩小文本以适应)
|
void |
setTopBorderPaletteIdx(short border)
set the palette index for the top border
(设置上边框的调色板索引)
|
void |
setVerticalAlignment(short align)
set the vertical alignment of text in the cell
(设置单元格中文本的垂直对齐方式)
|
void |
setWrapText(boolean wrapped)
set whether to wrap the text in the cell
(设置是否将单元格中的文本换行)
|
void |
setXFType(short type)
set whether the cell is a cell or style XFRecord
(设置单元格是单元格还是样式 XFRecord)
|
int[] |
stateSummary() |
getRecordSize, serialize
cloneViaReserialise, serialize, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getGenericChildren
public static final short sid
public static final short NULL
public static final short XF_STYLE
public static final short XF_CELL
public static final short NONE
public static final short THIN
public static final short MEDIUM
public static final short DASHED
public static final short DOTTED
public static final short THICK
public static final short DOUBLE
public static final short HAIR
public static final short MEDIUM_DASHED
public static final short DASH_DOT
public static final short MEDIUM_DASH_DOT
public static final short DASH_DOT_DOT
public static final short MEDIUM_DASH_DOT_DOT
public static final short SLANTED_DASH_DOT
public static final short GENERAL
public static final short LEFT
public static final short CENTER
public static final short RIGHT
public static final short FILL
public static final short JUSTIFY
public static final short CENTER_SELECTION
public static final short VERTICAL_TOP
public static final short VERTICAL_CENTER
public static final short VERTICAL_BOTTOM
public static final short VERTICAL_JUSTIFY
public static final short NO_FILL
public static final short SOLID_FILL
public static final short FINE_DOTS
public static final short ALT_BARS
public static final short SPARSE_DOTS
public static final short THICK_HORZ_BANDS
public static final short THICK_VERT_BANDS
public static final short THICK_BACKWARD_DIAG
public static final short THICK_FORWARD_DIAG
public static final short BIG_SPOTS
public static final short BRICKS
public static final short THIN_HORZ_BANDS
public static final short THIN_VERT_BANDS
public static final short THIN_BACKWARD_DIAG
public static final short THIN_FORWARD_DIAG
public static final short SQUARES
public static final short DIAMONDS
public ExtendedFormatRecord()
public ExtendedFormatRecord(ExtendedFormatRecord other)
public ExtendedFormatRecord(RecordInputStream in)
public void setFontIndex(short index)
index
- to the font
(index - 到字体)
FontRecord
public void setFormatIndex(short index)
index
- to the format record
(index - 到格式记录)
FormatRecord
public void setCellOptions(short options)
options
- bitmask to set
(options - 要设置的位掩码)
public void setLocked(boolean locked)
locked
- - if the cell is locked
(锁定 - - 如果单元格被锁定)
setCellOptions(short)
public void setHidden(boolean hidden)
hidden
- - if the cell is hidden
(hidden - - 如果单元格被隐藏)
setCellOptions(short)
public void setXFType(short type)
type
- - cell or style (0/1)
(type - - 单元格或样式 (0/1))
XF_STYLE
,
XF_CELL
,
setCellOptions(short)
public void set123Prefix(boolean prefix)
prefix
- - the lotus thing to set.
(前缀——要设置的莲花。)
setCellOptions(short)
public void setParentIndex(short parent)
parent
- index of parent XF
(parent - 父 XF 的索引)
NULL
,
setCellOptions(short)
public void setAlignmentOptions(short options)
options
- - the bitmask to set
(options - - 要设置的位掩码)
public void setAlignment(short align)
align
- - how to align the cell (see constants)
(align - - 如何对齐单元格(见常量))
GENERAL
,
LEFT
,
CENTER
,
RIGHT
,
FILL
,
JUSTIFY
,
CENTER_SELECTION
,
setAlignmentOptions(short)
public void setWrapText(boolean wrapped)
wrapped
- - whether or not to wrap the cell text
(Wrapped - - 是否对单元格文本进行换行)
setAlignmentOptions(short)
public void setVerticalAlignment(short align)
align
- where to align the text
(align - 对齐文本的位置)
VERTICAL_TOP
,
VERTICAL_CENTER
,
VERTICAL_BOTTOM
,
VERTICAL_JUSTIFY
,
setAlignmentOptions(short)
public void setJustifyLast(short justify)
justify
- use 0 for US
(justify - 使用 0 表示美国)
setAlignmentOptions(short)
public void setRotation(short rotation)
rotation
- the degree of rotation
(旋转 - 旋转的程度)
setAlignmentOptions(short)
public void setIndentionOptions(short options)
options
- bitmask to set.
(options - 要设置的位掩码。)
public void setIndent(short indent)
indent
- - how far to indent the cell
(indent - - 单元格缩进多远)
setIndentionOptions(short)
public void setShrinkToFit(boolean shrink)
shrink
- - shrink to fit or not
(收缩 - - 收缩以适应与否)
setIndentionOptions(short)
public void setMergeCells(boolean merge)
merge
- - merge cells or not
(合并 - - 合并单元格与否)
setIndentionOptions(short)
public void setReadingOrder(short order)
order
- - the reading order (0,1,2)
(order - - 阅读顺序 (0,1,2))
setIndentionOptions(short)
public void setIndentNotParentFormat(boolean parent)
parent
- - true if this XF has a different format value than its parent, false otherwise.
(parent - 如果此 XF 具有与其父级不同的格式值,则为 true,否则为 false。)
setIndentionOptions(short)
public void setIndentNotParentFont(boolean font)
font
- - true if this XF has a different font value than its parent, false otherwise.
(font - 如果此 XF 具有与其父级不同的字体值,则为 true,否则为 false。)
setIndentionOptions(short)
public void setIndentNotParentAlignment(boolean alignment)
alignment
- true if this XF has a different alignment value than its parent, false otherwise.
(对齐 - 如果此 XF 具有与其父级不同的对齐值,则为 true,否则为 false。)
setIndentionOptions(short)
public void setIndentNotParentBorder(boolean border)
border
- - true if this XF has a different border value than its parent, false otherwise.
(border - 如果此 XF 的边框值与其父级不同,则为 true,否则为 false。)
setIndentionOptions(short)
public void setIndentNotParentPattern(boolean pattern)
Sets whether or not to use the pattern in this XF instead of the parent XF (foreground/background).
(设置是否使用此 XF 中的图案而不是父 XF(前景/背景)。)pattern
-
true
if this XF has a different pattern value than its parent,
false
otherwise.
(pattern - 如果此 XF 具有与其父级不同的模式值,则为 true,否则为 false。)
setIndentionOptions(short)
public void setIndentNotParentCellOptions(boolean options)
options
- true if this XF has a different locking or hidden value than its parent, false otherwise.
(options - 如果此 XF 具有与其父级不同的锁定或隐藏值,则为 true,否则为 false。)
setIndentionOptions(short)
public void setBorderOptions(short options)
options
- - the bit mask to set
(options - - 要设置的位掩码)
public void setBorderLeft(short border)
border
- - type of border for the left side of the cell
(边框 - 单元格左侧的边框类型)
NONE
,
THIN
,
MEDIUM
,
DASHED
,
DOTTED
,
THICK
,
DOUBLE
,
HAIR
,
MEDIUM_DASHED
,
DASH_DOT
,
MEDIUM_DASH_DOT
,
DASH_DOT_DOT
,
MEDIUM_DASH_DOT_DOT
,
SLANTED_DASH_DOT
,
setBorderOptions(short)
public void setBorderRight(short border)
border
- - type of border for the right side of the cell
(边框 - 单元格右侧的边框类型)
NONE
,
THIN
,
MEDIUM
,
DASHED
,
DOTTED
,
THICK
,
DOUBLE
,
HAIR
,
MEDIUM_DASHED
,
DASH_DOT
,
MEDIUM_DASH_DOT
,
DASH_DOT_DOT
,
MEDIUM_DASH_DOT_DOT
,
SLANTED_DASH_DOT
,
setBorderOptions(short)
public void setBorderTop(short border)
border
- - type of border for the top of the cell
(边框 - 单元格顶部的边框类型)
NONE
,
THIN
,
MEDIUM
,
DASHED
,
DOTTED
,
THICK
,
DOUBLE
,
HAIR
,
MEDIUM_DASHED
,
DASH_DOT
,
MEDIUM_DASH_DOT
,
DASH_DOT_DOT
,
MEDIUM_DASH_DOT_DOT
,
SLANTED_DASH_DOT
,
setBorderOptions(short)
public void setBorderBottom(short border)
border
- - type of border for the bottom of the cell
(边框 - 单元格底部的边框类型)
NONE
,
THIN
,
MEDIUM
,
DASHED
,
DOTTED
,
THICK
,
DOUBLE
,
HAIR
,
MEDIUM_DASHED
,
DASH_DOT
,
MEDIUM_DASH_DOT
,
DASH_DOT_DOT
,
MEDIUM_DASH_DOT_DOT
,
SLANTED_DASH_DOT
,
setBorderOptions(short)
public void setPaletteOptions(short options)
options
- - the bitmask to set
(options - - 要设置的位掩码)
public void setLeftBorderPaletteIdx(short border)
border
- - palette index
(边框 - - 调色板索引)
setPaletteOptions(short)
public void setRightBorderPaletteIdx(short border)
border
- - palette index
(边框 - - 调色板索引)
setPaletteOptions(short)
public void setDiag(short diag)
diag
- - set whatever it is that this is.
(diag - 设置它是什么。)
setPaletteOptions(short)
public void setAdtlPaletteOptions(short options)
options
- - bitmask to set
(options - - 要设置的位掩码)
public void setTopBorderPaletteIdx(short border)
border
- - palette index
(边框 - - 调色板索引)
setAdtlPaletteOptions(short)
public void setBottomBorderPaletteIdx(short border)
border
- - palette index
(边框 - - 调色板索引)
setAdtlPaletteOptions(short)
public void setAdtlDiag(short diag)
diag
- - the palette index?
(diag - - 调色板索引?)
setAdtlPaletteOptions(short)
public void setAdtlDiagLineStyle(short diag)
diag
- - the line style
(diag - - 线型)
NONE
,
THIN
,
MEDIUM
,
DASHED
,
DOTTED
,
THICK
,
DOUBLE
,
HAIR
,
MEDIUM_DASHED
,
DASH_DOT
,
MEDIUM_DASH_DOT
,
DASH_DOT_DOT
,
MEDIUM_DASH_DOT_DOT
,
SLANTED_DASH_DOT
,
setAdtlPaletteOptions(short)
public void setAdtlFillPattern(short fill)
fill
- - fill pattern??
(填充——填充图案??)
NO_FILL
,
SOLID_FILL
,
FINE_DOTS
,
ALT_BARS
,
SPARSE_DOTS
,
THICK_HORZ_BANDS
,
THICK_VERT_BANDS
,
THICK_BACKWARD_DIAG
,
THICK_FORWARD_DIAG
,
BIG_SPOTS
,
BRICKS
,
THIN_HORZ_BANDS
,
THIN_VERT_BANDS
,
THIN_BACKWARD_DIAG
,
THIN_FORWARD_DIAG
,
SQUARES
,
DIAMONDS
,
setAdtlPaletteOptions(short)
public void setFillPaletteOptions(short options)
options
- the palette options
(options - 调色板选项)
public void setFillForeground(short color)
color
- - palette index
(颜色 - - 调色板索引)
setFillPaletteOptions(short)
public void setFillBackground(short color)
color
- - palette index
(颜色 - - 调色板索引)
setFillPaletteOptions(short)
public short getFontIndex()
FontRecord
public short getFormatIndex()
FormatRecord
public short getCellOptions()
public boolean isLocked()
getCellOptions()
public boolean isHidden()
getCellOptions()
public short getXFType()
XF_STYLE
,
XF_CELL
,
getCellOptions()
public boolean get123Prefix()
getCellOptions()
public short getParentIndex()
NULL
,
getCellOptions()
public short getAlignmentOptions()
public short getAlignment()
GENERAL
,
LEFT
,
CENTER
,
RIGHT
,
FILL
,
JUSTIFY
,
CENTER_SELECTION
,
getAlignmentOptions()
public boolean getWrapText()
getAlignmentOptions()
public short getVerticalAlignment()
VERTICAL_TOP
,
VERTICAL_CENTER
,
VERTICAL_BOTTOM
,
VERTICAL_JUSTIFY
,
getAlignmentOptions()
public short getJustifyLast()
getAlignmentOptions()
public short getRotation()
getAlignmentOptions()
public short getIndentionOptions()
public short getIndent()
getIndentionOptions()
public boolean getShrinkToFit()
getIndentionOptions()
public boolean getMergeCells()
getIndentionOptions()
public short getReadingOrder()
getIndentionOptions()
public boolean isIndentNotParentFormat()
getIndentionOptions()
public boolean isIndentNotParentFont()
getIndentionOptions()
public boolean isIndentNotParentAlignment()
getIndentionOptions()
public boolean isIndentNotParentBorder()
getIndentionOptions()
public boolean isIndentNotParentPattern()
getIndentionOptions()
public boolean isIndentNotParentCellOptions()
getIndentionOptions()
public short getBorderOptions()
public short getBorderLeft()
NONE
,
THIN
,
MEDIUM
,
DASHED
,
DOTTED
,
THICK
,
DOUBLE
,
HAIR
,
MEDIUM_DASHED
,
DASH_DOT
,
MEDIUM_DASH_DOT
,
DASH_DOT_DOT
,
MEDIUM_DASH_DOT_DOT
,
SLANTED_DASH_DOT
,
getBorderOptions()
public short getBorderRight()
NONE
,
THIN
,
MEDIUM
,
DASHED
,
DOTTED
,
THICK
,
DOUBLE
,
HAIR
,
MEDIUM_DASHED
,
DASH_DOT
,
MEDIUM_DASH_DOT
,
DASH_DOT_DOT
,
MEDIUM_DASH_DOT_DOT
,
SLANTED_DASH_DOT
,
getBorderOptions()
public short getBorderTop()
NONE
,
THIN
,
MEDIUM
,
DASHED
,
DOTTED
,
THICK
,
DOUBLE
,
HAIR
,
MEDIUM_DASHED
,
DASH_DOT
,
MEDIUM_DASH_DOT
,
DASH_DOT_DOT
,
MEDIUM_DASH_DOT_DOT
,
SLANTED_DASH_DOT
,
getBorderOptions()
public short getBorderBottom()
NONE
,
THIN
,
MEDIUM
,
DASHED
,
DOTTED
,
THICK
,
DOUBLE
,
HAIR
,
MEDIUM_DASHED
,
DASH_DOT
,
MEDIUM_DASH_DOT
,
DASH_DOT_DOT
,
MEDIUM_DASH_DOT_DOT
,
SLANTED_DASH_DOT
,
getBorderOptions()
public short getPaletteOptions()
public short getLeftBorderPaletteIdx()
getPaletteOptions()
public short getRightBorderPaletteIdx()
getPaletteOptions()
public short getDiag()
getPaletteOptions()
public int getAdtlPaletteOptions()
public short getTopBorderPaletteIdx()
getAdtlPaletteOptions()
public short getBottomBorderPaletteIdx()
getAdtlPaletteOptions()
public short getAdtlDiag()
getAdtlPaletteOptions()
public short getAdtlDiagLineStyle()
NONE
,
THIN
,
MEDIUM
,
DASHED
,
DOTTED
,
THICK
,
DOUBLE
,
HAIR
,
MEDIUM_DASHED
,
DASH_DOT
,
MEDIUM_DASH_DOT
,
DASH_DOT_DOT
,
MEDIUM_DASH_DOT_DOT
,
SLANTED_DASH_DOT
,
getAdtlPaletteOptions()
public short getAdtlFillPattern()
NO_FILL
,
SOLID_FILL
,
FINE_DOTS
,
ALT_BARS
,
SPARSE_DOTS
,
THICK_HORZ_BANDS
,
THICK_VERT_BANDS
,
THICK_BACKWARD_DIAG
,
THICK_FORWARD_DIAG
,
BIG_SPOTS
,
BRICKS
,
THIN_HORZ_BANDS
,
THIN_VERT_BANDS
,
THIN_BACKWARD_DIAG
,
THIN_FORWARD_DIAG
,
SQUARES
,
DIAMONDS
,
getAdtlPaletteOptions()
public short getFillPaletteOptions()
public short getFillForeground()
getFillPaletteOptions()
public short getFillBackground()
getFillPaletteOptions()
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 void cloneStyleFrom(ExtendedFormatRecord source)
source
- the ExtendedFormatRecord to copy from
(source - 要从中复制的 ExtendedFormatRecord)
public int hashCode()
hashCode
in class
java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class
java.lang.Object
public int[] stateSummary()
public ExtendedFormatRecord 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.