Package org.apache.poi.hssf.record
Class HideObjRecord
- 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.HideObjRecord
-
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord
public final class HideObjRecord extends StandardRecord
Flag defines whether to hide placeholders and object
-
-
Field Summary
Fields Modifier and Type Field Description static shortHIDE_ALLstatic shortSHOW_ALLstatic shortSHOW_PLACEHOLDERSstatic shortsid
-
Constructor Summary
Constructors Constructor Description HideObjRecord()HideObjRecord(HideObjRecord other)HideObjRecord(RecordInputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HideObjRecordcopy()java.util.Map<java.lang.String,java.util.function.Supplier<?>>getGenericProperties()HSSFRecordTypesgetGenericRecordType()shortgetHideObj()get hide object optionsshortgetSid()return the non static version of the id for this record.voidserialize(LittleEndianOutput out)voidsetHideObj(short hide)set hide object options-
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
equals, 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
-
HIDE_ALL
public static final short HIDE_ALL
- See Also:
- Constant Field Values
-
SHOW_PLACEHOLDERS
public static final short SHOW_PLACEHOLDERS
- See Also:
- Constant Field Values
-
SHOW_ALL
public static final short SHOW_ALL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HideObjRecord
public HideObjRecord()
-
HideObjRecord
public HideObjRecord(HideObjRecord other)
-
HideObjRecord
public HideObjRecord(RecordInputStream in)
-
-
Method Detail
-
setHideObj
public void setHideObj(short hide)
set hide object options- Parameters:
hide- options- See Also:
HIDE_ALL,SHOW_PLACEHOLDERS,SHOW_ALL
-
getHideObj
public short getHideObj()
get hide object options- Returns:
- hide options
- See Also:
HIDE_ALL,SHOW_PLACEHOLDERS,SHOW_ALL
-
serialize
public void serialize(LittleEndianOutput out)
-
getSid
public short getSid()
Description copied from class:Recordreturn the non static version of the id for this record.
-
copy
public HideObjRecord copy()
- Specified by:
copyin interfaceorg.apache.poi.common.Duplicatable- Specified by:
copyin classStandardRecord
-
getGenericRecordType
public HSSFRecordTypes getGenericRecordType()
- Specified by:
getGenericRecordTypein interfaceGenericRecord- Specified by:
getGenericRecordTypein classRecord
-
getGenericProperties
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
-
-