@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.
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
|
byte |
getBy()
Y position of shape relative to anchor CP
|
int |
getCTxbx()
Count of textboxes in shape (undo doc only).
|
short |
getFlags()
Get the flags field for the FSPA record.
|
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
|
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)
|
boolean |
isFRcaSimple()
When set, temporarily overrides bx, by, forcing the xaLeft, xaRight, yaTop, and yaBottom fields to all be page relative.
|
void |
serialize(byte[] data,
int offset) |
void |
setBx(byte value)
Sets the bx field value.
|
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.
|
void |
setFBelowText(boolean value)
Sets the fBelowText field value.
|
void |
setFHdr(boolean value)
Sets the fHdr field value.
|
void |
setFlags(short field_6_flags)
Set the flags field for the FSPA record.
|
void |
setFRcaSimple(boolean value)
Sets the fRcaSimple field value.
|
void |
setSpid(int field_1_spid)
Shape Identifier.
|
void |
setWr(byte value)
Sets the wr field value.
|
void |
setWrk(byte value)
Sets the wrk field value.
|
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.