Package org.apache.poi.hssf.record
Class UserSViewBegin
- java.lang.Object
-
- org.apache.poi.hssf.record.RecordBase
-
- org.apache.poi.hssf.record.Record
-
- org.apache.poi.hssf.record.StandardRecord
-
- org.apache.poi.hssf.record.UserSViewBegin
-
- All Implemented Interfaces:
Duplicatable
,GenericRecord
public final class UserSViewBegin extends StandardRecord
The UserSViewBegin record specifies settings for a custom view associated with the sheet. This record also marks the start of custom view records, which save custom view settings. Records betweenUserSViewBegin
andUserSViewEnd
contain settings for the custom view, not settings for the sheet itself.
-
-
Field Summary
Fields Modifier and Type Field Description static short
sid
-
Constructor Summary
Constructors Constructor Description UserSViewBegin(byte[] data)
UserSViewBegin(RecordInputStream in)
construct an UserSViewBegin record.UserSViewBegin(UserSViewBegin other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserSViewBegin
copy()
protected int
getDataSize()
Map<String,Supplier<?>>
getGenericProperties()
HSSFRecordTypes
getGenericRecordType()
byte[]
getGuid()
short
getSid()
return the non static version of the id for this record.void
serialize(LittleEndianOutput out)
spit the record out AS IS.-
Methods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serialize
-
Methods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, serialize, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
-
-
-
Field Detail
-
sid
public static final short sid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UserSViewBegin
public UserSViewBegin(UserSViewBegin other)
-
UserSViewBegin
public UserSViewBegin(byte[] data)
-
UserSViewBegin
public UserSViewBegin(RecordInputStream in)
construct an UserSViewBegin record. No fields are interpreted and the record will be serialized in its original form more or less- Parameters:
in
- the RecordInputstream to read the record from
-
-
Method Detail
-
serialize
public void serialize(LittleEndianOutput out)
spit the record out AS IS. no interpretation or identification- Specified by:
serialize
in classStandardRecord
- Parameters:
out
- the output object
-
getDataSize
protected int getDataSize()
- Specified by:
getDataSize
in classStandardRecord
-
getSid
public short getSid()
Description copied from class:Record
return the non static version of the id for this record.
-
getGuid
public byte[] getGuid()
- Returns:
- Globally unique identifier for the custom view
-
copy
public UserSViewBegin copy()
- Specified by:
copy
in interfaceDuplicatable
- Specified by:
copy
in classStandardRecord
- Returns:
- a deep copy of the implementing class / instance
-
getGenericRecordType
public HSSFRecordTypes getGenericRecordType()
- Specified by:
getGenericRecordType
in interfaceGenericRecord
- Specified by:
getGenericRecordType
in classRecord
-
-