@Internal public abstract class FSPAAbstractType extends java.lang.Object
Class and fields descriptions are quoted from Microsoft Office Word 97-2007 Binary File Format
NOTE: This source is automatically generated please do not modify this file. Either subclass or remove the record in src/types/definitions.
This class is internal. It content or properties may change without notice due to changes in our knowledge of internal Microsoft Word binary structures.
(文件形状地址 (FSPA)。类和字段描述引用自 Microsoft Office Word 97-2007 二进制文件格式 注意:此源是自动生成的,请勿修改此文件。子类化或删除 src/types/definitions 中的记录。这个类是内部的。由于我们对内部 Microsoft Word 二进制结构的了解发生变化,其内容或属性可能会发生变化,恕不另行通知。)Modifier and Type | Field and Description |
---|---|
protected int |
field_1_spid |
protected int |
field_2_xaLeft |
protected int |
field_3_yaTop |
protected int |
field_4_xaRight |
protected int |
field_5_yaBottom |
protected short |
field_6_flags |
protected int |
field_7_cTxbx |
Modifier | Constructor and Description |
---|---|
protected |
FSPAAbstractType() |
Modifier and Type | Method and Description |
---|---|
protected void |
fillFields(byte[] data, int offset) |
byte |
getBx()
X position of shape relative to anchor CP
(形状相对于锚点 CP 的 X 位置)
|
byte |
getBy()
Y position of shape relative to anchor CP
(形状相对于锚点 CP 的 Y 位置)
|
int |
getCTxbx()
Count of textboxes in shape (undo doc only).
(形状中的文本框计数(仅限撤消文档)。)
|
short |
getFlags()
Get the flags field for the FSPA record.
(获取 FSPA 记录的标志字段。)
|
static int |
getSize()
Size of record
(记录大小)
|
int |
getSpid()
Shape Identifier.
(形状标识符。)
|
byte |
getWr()
Text wrapping mode
(文字环绕模式)
|
byte |
getWrk()
Text wrapping mode type (valid only for wrapping modes 2 and 4
(文本换行模式类型(仅对换行模式 2 和 4 有效)
|
int |
getXaLeft()
Left of rectangle enclosing shape relative to the origin of the shape.
(相对于形状原点的矩形包围形状的左侧。)
|
int |
getXaRight()
Right of rectangle enclosing shape relative to the origin of the shape.
(相对于形状原点的矩形封闭形状的右侧。)
|
int |
getYaBottom()
Bottom of the rectangle enclosing shape relative to the origin of the shape.
(相对于形状原点的矩形封闭形状的底部。)
|
int |
getYaTop()
Top of rectangle enclosing shape relative to the origin of the shape.
(相对于形状原点的矩形封闭形状的顶部。)
|
boolean |
isFAnchorLock() |
boolean |
isFBelowText() |
boolean |
isFHdr()
1 in the undo doc when shape is from the header doc, 0 otherwise (undefined when not in the undo doc)
(当形状来自标题文档时,撤消文档中为 1,否则为 0(不在撤消文档中时未定义))
|
boolean |
isFRcaSimple()
When set, temporarily overrides bx, by, forcing the xaLeft, xaRight, yaTop, and yaBottom fields to all be page relative.
(设置时,通过强制 xaLeft、xaRight、yaTop 和 yaBottom 字段都与页面相关来临时覆盖 bx。)
|
void |
serialize(byte[] data, int offset) |
void |
setBx(byte value)
Sets the bx field value.
(设置 bx 字段值。)
|
void |
setBy(byte value)
Sets the by field value.
(设置按字段值。)
|
void |
setCTxbx(int field_7_cTxbx)
Count of textboxes in shape (undo doc only).
(形状中的文本框计数(仅限撤消文档)。)
|
void |
setFAnchorLock(boolean value)
Sets the fAnchorLock field value.
(设置 fAnchorLock 字段值。)
|
void |
setFBelowText(boolean value)
Sets the fBelowText field value.
(设置 fBelowText 字段值。)
|
void |
setFHdr(boolean value)
Sets the fHdr field value.
(设置 fHdr 字段值。)
|
void |
setFlags(short field_6_flags)
Set the flags field for the FSPA record.
(设置 FSPA 记录的标志字段。)
|
void |
setFRcaSimple(boolean value)
Sets the fRcaSimple field value.
(设置 fRcaSimple 字段值。)
|
void |
setSpid(int field_1_spid)
Shape Identifier.
(形状标识符。)
|
void |
setWr(byte value)
Sets the wr field value.
(设置 wr 字段值。)
|
void |
setWrk(byte value)
Sets the wrk field value.
(设置 wrk 字段值。)
|
void |
setXaLeft(int field_2_xaLeft)
Left of rectangle enclosing shape relative to the origin of the shape.
(相对于形状原点的矩形包围形状的左侧。)
|
void |
setXaRight(int field_4_xaRight)
Right of rectangle enclosing shape relative to the origin of the shape.
(相对于形状原点的矩形封闭形状的右侧。)
|
void |
setYaBottom(int field_5_yaBottom)
Bottom of the rectangle enclosing shape relative to the origin of the shape.
(相对于形状原点的矩形封闭形状的底部。)
|
void |
setYaTop(int field_3_yaTop)
Top of rectangle enclosing shape relative to the origin of the shape.
(相对于形状原点的矩形封闭形状的顶部。)
|
java.lang.String |
toString() |
protected int field_1_spid
protected int field_2_xaLeft
protected int field_3_yaTop
protected int field_4_xaRight
protected int field_5_yaBottom
protected short field_6_flags
protected int field_7_cTxbx
protected void fillFields(byte[] data, int offset)
public void serialize(byte[] data, int offset)
public static int getSize()
public java.lang.String toString()
toString
in class
java.lang.Object
@Internal public int getSpid()
@Internal public void setSpid(int field_1_spid)
@Internal public int getXaLeft()
@Internal public void setXaLeft(int field_2_xaLeft)
@Internal public int getYaTop()
@Internal public void setYaTop(int field_3_yaTop)
@Internal public int getXaRight()
@Internal public void setXaRight(int field_4_xaRight)
@Internal public int getYaBottom()
@Internal public void setYaBottom(int field_5_yaBottom)
@Internal public short getFlags()
@Internal public void setFlags(short field_6_flags)
@Internal public int getCTxbx()
@Internal public void setCTxbx(int field_7_cTxbx)
@Internal public void setFHdr(boolean value)
@Internal public boolean isFHdr()
@Internal public void setBx(byte value)
@Internal public byte getBx()
@Internal public void setBy(byte value)
@Internal public byte getBy()
@Internal public void setWr(byte value)
@Internal public byte getWr()
@Internal public void setWrk(byte value)
@Internal public byte getWrk()
@Internal public void setFRcaSimple(boolean value)
@Internal public boolean isFRcaSimple()
@Internal public void setFBelowText(boolean value)
@Internal public boolean isFBelowText()
@Internal public void setFAnchorLock(boolean value)
@Internal public boolean isFAnchorLock()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.