org.apache.poi.hssf.record
Class UnknownRecord
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.UnknownRecord
public final class UnknownRecord
- extends StandardRecord
Title: Unknown Record (for debugging)
Description: Unknown record just tells you the sid so you can figure out
what records you are missing. Also helps us read/modify sheets we
don't know all the records to. (HSSF leaves these alone!)
Company: SuperLink Software, Inc.
- Author:
- Andrew C. Oliver (acoliver at apache dot org), Jason Height (jheight at chariot dot net dot au), Glen Stampoultzis (glens at apache.org)
Method Summary |
java.lang.Object |
clone()
|
protected int |
getDataSize()
|
short |
getSid()
return the non static version of the id for this record. |
void |
serialize(LittleEndianOutput out)
spit the record out AS IS. |
java.lang.String |
toString()
print a sort of string representation ([UNKNOWN RECORD] id = x [/UNKNOWN RECORD]) |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PLS_004D
public static final int PLS_004D
- See Also:
- Constant Field Values
SHEETPR_0081
public static final int SHEETPR_0081
- See Also:
- Constant Field Values
STANDARDWIDTH_0099
public static final int STANDARDWIDTH_0099
- See Also:
- Constant Field Values
SCL_00A0
public static final int SCL_00A0
- See Also:
- Constant Field Values
BITMAP_00E9
public static final int BITMAP_00E9
- See Also:
- Constant Field Values
PHONETICPR_00EF
public static final int PHONETICPR_00EF
- See Also:
- Constant Field Values
LABELRANGES_015F
public static final int LABELRANGES_015F
- See Also:
- Constant Field Values
USERSVIEWBEGIN_01AA
public static final int USERSVIEWBEGIN_01AA
- See Also:
- Constant Field Values
USERSVIEWEND_01AB
public static final int USERSVIEWEND_01AB
- See Also:
- Constant Field Values
QUICKTIP_0800
public static final int QUICKTIP_0800
- See Also:
- Constant Field Values
SHEETEXT_0862
public static final int SHEETEXT_0862
- See Also:
- Constant Field Values
SHEETPROTECTION_0867
public static final int SHEETPROTECTION_0867
- See Also:
- Constant Field Values
RANGEPROTECTION_0868
public static final int RANGEPROTECTION_0868
- See Also:
- Constant Field Values
UnknownRecord
public UnknownRecord(int id,
byte[] data)
- Parameters:
id
- id of the record -not validated, just stored for serializationdata
- the data
UnknownRecord
public UnknownRecord(RecordInputStream in)
- construct an unknown 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
serialize
public void serialize(LittleEndianOutput out)
- spit the record out AS IS. no interpretation or identification
- Specified by:
serialize
in class StandardRecord
getDataSize
protected int getDataSize()
- Specified by:
getDataSize
in class StandardRecord
toString
public java.lang.String toString()
- print a sort of string representation ([UNKNOWN RECORD] id = x [/UNKNOWN RECORD])
- Overrides:
toString
in class Record
getSid
public short getSid()
- Description copied from class:
Record
- return the non static version of the id for this record.
- Specified by:
getSid
in class Record
clone
public java.lang.Object clone()
- Overrides:
clone
in class Record
Copyright 2009 The Apache Software Foundation or
its licensors, as applicable.