Package org.apache.poi.hssf.record
Class LbsDataSubRecord
java.lang.Object
org.apache.poi.hssf.record.SubRecord
org.apache.poi.hssf.record.LbsDataSubRecord
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord
This structure specifies the properties of a list or drop-down list embedded object in a sheet.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis structure specifies properties of the dropdown list controlNested classes/interfaces inherited from class org.apache.poi.hssf.record.SubRecord
SubRecord.SubRecordTypes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLbsDataSubRecord(LbsDataSubRecord other) LbsDataSubRecord(LittleEndianInput in, int cbFContinued, int cmoOt) -
Method Summary
Modifier and TypeMethodDescriptioncopy()intbooleanWhether this record terminates the sub-record stream.static LbsDataSubRecordvoidMethods inherited from class org.apache.poi.hssf.record.SubRecord
createSubRecord, getMaxRecordLength, serialize, setMaxRecordLength, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
Field Details
-
sid
public static final int sid- See Also:
-
-
Constructor Details
-
LbsDataSubRecord
-
LbsDataSubRecord
- Parameters:
in- the stream to read data fromcbFContinued- the seconf short in the record headercmoOt- the containing Obj'sCommonObjectDataSubRecord.field_1_objectType
-
-
Method Details
-
newAutoFilterInstance
- Returns:
- a new instance of LbsDataSubRecord to construct auto-filters
- See Also:
-
isTerminating
public boolean isTerminating()Description copied from class:SubRecordWhether this record terminates the sub-record stream. There are two cases when this method must be overridden and returntrue- EndSubRecord (sid = 0x00) - LbsDataSubRecord (sid = 0x12)- Overrides:
isTerminatingin classSubRecord- Returns:
- true as LbsDataSubRecord is always the last sub-record
-
serialize
-
copy
-
getFormula
- Returns:
- the formula that specifies the range of cell values that are the items in this list.
-
getNumberOfItems
public int getNumberOfItems()- Returns:
- the number of items in the list
-
getGenericRecordType
- Specified by:
getGenericRecordTypein interfaceGenericRecord- Specified by:
getGenericRecordTypein classSubRecord
-
getGenericProperties
-