HSSF now supports the simple "protected" sheets (where they are not encrypted and open office et al ignore the password record entirely).
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private static final BitField | |
| public static final short |
| Access | Constructor and Description |
|---|---|
| private | |
| private | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ProtectRecord | copy()
Implements abstract org. Implements org.
|
| protected int | |
| public Map | |
| public HSSFRecordTypes | getGenericRecordType()
Overrides default org. Implements abstract org.
|
| public boolean | |
| public short | getSid()
Implements abstract org. return the non static version of the id for this record. |
| public void | serialize(LittleEndianOutput
the output object out)Implements abstract org. Write the data content of this BIFF record. |
| public void | setProtect(boolean
whether to protect the sheet or not protect)set whether the sheet is protected or not |
| _options | back to summary |
|---|---|
| private int _options | |
| protectFlag | back to summary |
|---|---|
| private static final BitField protectFlag | |
| sid | back to summary |
|---|---|
| public static final short sid | |
| ProtectRecord | back to summary |
|---|---|
| private ProtectRecord(int options) | |
| ProtectRecord | back to summary |
|---|---|
| private ProtectRecord(ProtectRecord other) | |
| ProtectRecord | back to summary |
|---|---|
| public ProtectRecord(boolean isProtected) | |
| ProtectRecord | back to summary |
|---|---|
| public ProtectRecord(RecordInputStream in) | |
| copy | back to summary |
|---|---|
| public ProtectRecord copy() Implements abstract org. Implements org.
| |
| getDataSize | back to summary |
|---|---|
| protected int getDataSize() Implements abstract org. | |
| getGenericProperties | back to summary |
|---|---|
| public Map Implements org.
| |
| getGenericRecordType | back to summary |
|---|---|
| public HSSFRecordTypes getGenericRecordType() Overrides default org. Implements abstract org.
| |
| getProtect | back to summary |
|---|---|
| public boolean getProtect() get whether the sheet is protected or not
| |
| getSid | back to summary |
|---|---|
| public short getSid() Implements abstract org. Doc from org. return the non static version of the id for this record.
| |
| serialize | back to summary |
|---|---|
| public void serialize(LittleEndianOutput out) Implements abstract org. Doc from org. Write the data content of this BIFF record. The 'ushort sid' and 'ushort size' header fields have already been written by the superclass.
The number of bytes written must equal the record size reported by
| |
| setProtect | back to summary |
|---|---|
| public void setProtect(boolean protect) set whether the sheet is protected or not
| |