📄 commonobjectdatasubrecord.java
字号:
* 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_DRAWING */ public short getObjectType() { return field_1_objectType; } /** * Set the object type field for the CommonObjectData record. * * @param 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_DRAWING */ public void setObjectType(short field_1_objectType) { this.field_1_objectType = field_1_objectType; } /** * Get the object id field for the CommonObjectData record. */ public short getObjectId() { return field_2_objectId; } /** * Set the object id field for the CommonObjectData record. */ public void setObjectId(short field_2_objectId) { this.field_2_objectId = field_2_objectId; } /** * Get the option field for the CommonObjectData record. */ public short getOption() { return field_3_option; } /** * Set the option field for the CommonObjectData record. */ public void setOption(short field_3_option) { this.field_3_option = field_3_option; } /** * Get the reserved1 field for the CommonObjectData record. */ public int getReserved1() { return field_4_reserved1; } /** * Set the reserved1 field for the CommonObjectData record. */ public void setReserved1(int field_4_reserved1) { this.field_4_reserved1 = field_4_reserved1; } /** * Get the reserved2 field for the CommonObjectData record. */ public int getReserved2() { return field_5_reserved2; } /** * Set the reserved2 field for the CommonObjectData record. */ public void setReserved2(int field_5_reserved2) { this.field_5_reserved2 = field_5_reserved2; } /** * Get the reserved3 field for the CommonObjectData record. */ public int getReserved3() { return field_6_reserved3; } /** * Set the reserved3 field for the CommonObjectData record. */ public void setReserved3(int field_6_reserved3) { this.field_6_reserved3 = field_6_reserved3; } /** * Sets the locked field value. * true if object is locked when sheet has been protected */ public void setLocked(boolean value) { field_3_option = locked.setShortBoolean(field_3_option, value); } /** * true if object is locked when sheet has been protected * @return the locked field value. */ public boolean isLocked() { return locked.isSet(field_3_option); } /** * Sets the printable field value. * object appears when printed */ public void setPrintable(boolean value) { field_3_option = printable.setShortBoolean(field_3_option, value); } /** * object appears when printed * @return the printable field value. */ public boolean isPrintable() { return printable.isSet(field_3_option); } /** * Sets the autofill field value. * whether object uses an automatic fill style */ public void setAutofill(boolean value) { field_3_option = autofill.setShortBoolean(field_3_option, value); } /** * whether object uses an automatic fill style * @return the autofill field value. */ public boolean isAutofill() { return autofill.isSet(field_3_option); } /** * Sets the autoline field value. * whether object uses an automatic line style */ public void setAutoline(boolean value) { field_3_option = autoline.setShortBoolean(field_3_option, value); } /** * whether object uses an automatic line style * @return the autoline field value. */ public boolean isAutoline() { return autoline.isSet(field_3_option); }} // END OF CLASS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -