public final class CommonObjectDataSubRecord extends SubRecord
Constructor and Description |
---|
CommonObjectDataSubRecord() |
CommonObjectDataSubRecord(LittleEndianInput in,
int size) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
protected int |
getDataSize() |
int |
getObjectId()
Get the object id field for the CommonObjectData record.
|
short |
getObjectType()
Get the object type field for the CommonObjectData record.
|
short |
getOption()
Get the option field for the CommonObjectData record.
|
int |
getReserved1()
Get the reserved1 field for the CommonObjectData record.
|
int |
getReserved2()
Get the reserved2 field for the CommonObjectData record.
|
int |
getReserved3()
Get the reserved3 field for the CommonObjectData record.
|
short |
getSid() |
boolean |
isAutofill()
whether object uses an automatic fill style
|
boolean |
isAutoline()
whether object uses an automatic line style
|
boolean |
isDefaultSize()
whether the application is expected to choose the object's size
|
boolean |
isDisabled()
whether object is disabled
|
boolean |
isLocked()
true if object is locked when sheet has been protected
|
boolean |
isPrintable()
object appears when printed
|
boolean |
isPublished()
whether chart object published along with sheet.
|
boolean |
isRecalcObj()
whether update obj on load of the sheet.
|
boolean |
isRecalcObjAlways()
whether update obj on associated cell changes.
|
boolean |
isUiObj()
whether an app inserted object
|
void |
serialize(LittleEndianOutput out) |
void |
setAutofill(boolean value)
Sets the autofill field value.
|
void |
setAutoline(boolean value)
Sets the autoline field value.
|
void |
setDefaultSize(boolean value)
Set whether the application is expected to choose the object's size.
|
void |
setDisabled(boolean value)
Sets the disabled field value.
|
void |
setLocked(boolean value)
Sets the locked field value.
|
void |
setObjectId(int field_2_objectId)
Set the object id field for the CommonObjectData record.
|
void |
setObjectType(short field_1_objectType)
Set the object type field for the CommonObjectData record.
|
void |
setOption(short field_3_option)
Set the option field for the CommonObjectData record.
|
void |
setPrintable(boolean value)
Sets the printable field value.
|
void |
setPublished(boolean value)
Sets the published field value.
|
void |
setRecalcObj(boolean value)
Sets the recalcObj field value.
|
void |
setRecalcObjAlways(boolean value)
Sets the recalcObjAlways field value.
|
void |
setReserved1(int field_4_reserved1)
Set the reserved1 field for the CommonObjectData record.
|
void |
setReserved2(int field_5_reserved2)
Set the reserved2 field for the CommonObjectData record.
|
void |
setReserved3(int field_6_reserved3)
Set the reserved3 field for the CommonObjectData record.
|
void |
setUiObj(boolean value)
Sets the uiobj field value.
|
String |
toString() |
createSubRecord, isTerminating, serialize
public static final short sid
public static final short OBJECT_TYPE_GROUP
public static final short OBJECT_TYPE_LINE
public static final short OBJECT_TYPE_RECTANGLE
public static final short OBJECT_TYPE_OVAL
public static final short OBJECT_TYPE_ARC
public static final short OBJECT_TYPE_CHART
public static final short OBJECT_TYPE_TEXT
public static final short OBJECT_TYPE_BUTTON
public static final short OBJECT_TYPE_PICTURE
public static final short OBJECT_TYPE_POLYGON
public static final short OBJECT_TYPE_RESERVED1
public static final short OBJECT_TYPE_CHECKBOX
public static final short OBJECT_TYPE_OPTION_BUTTON
public static final short OBJECT_TYPE_EDIT_BOX
public static final short OBJECT_TYPE_LABEL
public static final short OBJECT_TYPE_DIALOG_BOX
public static final short OBJECT_TYPE_SPINNER
public static final short OBJECT_TYPE_SCROLL_BAR
public static final short OBJECT_TYPE_LIST_BOX
public static final short OBJECT_TYPE_GROUP_BOX
public static final short OBJECT_TYPE_COMBO_BOX
public static final short OBJECT_TYPE_RESERVED2
public static final short OBJECT_TYPE_RESERVED3
public static final short OBJECT_TYPE_RESERVED4
public static final short OBJECT_TYPE_RESERVED5
public static final short OBJECT_TYPE_COMMENT
public static final short OBJECT_TYPE_RESERVED6
public static final short OBJECT_TYPE_RESERVED7
public static final short OBJECT_TYPE_RESERVED8
public static final short OBJECT_TYPE_RESERVED9
public static final short OBJECT_TYPE_MICROSOFT_OFFICE_DRAWING
public CommonObjectDataSubRecord()
public CommonObjectDataSubRecord(LittleEndianInput in, int size)
public void serialize(LittleEndianOutput out)
protected int getDataSize()
getDataSize
in class SubRecord
public short getSid()
public short getObjectType()
public void setObjectType(short field_1_objectType)
field_1_objectType
- One of
OBJECT_TYPE_GROUP
OBJECT_TYPE_LINE
OBJECT_TYPE_RECTANGLE
OBJECT_TYPE_OVAL
OBJECT_TYPE_ARC
OBJECT_TYPE_CHART
OBJECT_TYPE_TEXT
OBJECT_TYPE_BUTTON
OBJECT_TYPE_PICTURE
OBJECT_TYPE_POLYGON
OBJECT_TYPE_RESERVED1
OBJECT_TYPE_CHECKBOX
OBJECT_TYPE_OPTION_BUTTON
OBJECT_TYPE_EDIT_BOX
OBJECT_TYPE_LABEL
OBJECT_TYPE_DIALOG_BOX
OBJECT_TYPE_SPINNER
OBJECT_TYPE_SCROLL_BAR
OBJECT_TYPE_LIST_BOX
OBJECT_TYPE_GROUP_BOX
OBJECT_TYPE_COMBO_BOX
OBJECT_TYPE_RESERVED2
OBJECT_TYPE_RESERVED3
OBJECT_TYPE_RESERVED4
OBJECT_TYPE_RESERVED5
OBJECT_TYPE_COMMENT
OBJECT_TYPE_RESERVED6
OBJECT_TYPE_RESERVED7
OBJECT_TYPE_RESERVED8
OBJECT_TYPE_RESERVED9
OBJECT_TYPE_MICROSOFT_OFFICE_DRAWINGpublic int getObjectId()
public void setObjectId(int field_2_objectId)
public short getOption()
public void setOption(short field_3_option)
public int getReserved1()
public void setReserved1(int field_4_reserved1)
public int getReserved2()
public void setReserved2(int field_5_reserved2)
public int getReserved3()
public void setReserved3(int field_6_reserved3)
public void setLocked(boolean value)
public boolean isLocked()
public void setPrintable(boolean value)
public boolean isPrintable()
public void setAutofill(boolean value)
public boolean isAutofill()
public void setAutoline(boolean value)
public boolean isAutoline()
public void setRecalcObj(boolean value)
public boolean isRecalcObj()
public void setRecalcObjAlways(boolean value)
public boolean isRecalcObjAlways()
public void setUiObj(boolean value)
public boolean isUiObj()
public void setDisabled(boolean value)
public boolean isDisabled()
public void setPublished(boolean value)
public boolean isPublished()
public void setDefaultSize(boolean value)
public boolean isDefaultSize()
Copyright © 2020. All rights reserved.