Package 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
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intEnvironment-Specific Print Recordstatic final intstatic final intseems to be part of thePageSettingsBlock.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()static StringgetBiffName(int sid) These BIFF record types are known but still uninterpreted by POIprotected intshortgetSid()return the non static version of the id for this record.voidspit the record out AS IS.toString()print a sort of string representation ([UNKNOWN RECORD] id = x [/UNKNOWN RECORD])Methods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serializeMethods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, serialize
-
Field Details
-
PRINTSIZE_0033
public static final int PRINTSIZE_0033seems to be part of thePageSettingsBlock. Not interpreted by POI. The name 'PRINTSIZE' was taken from OOO source.The few POI test samples with this record have data { 0x03, 0x00 }.
- See Also:
-
PLS_004D
public static final int PLS_004DEnvironment-Specific Print Record- See Also:
-
SHEETPR_0081
public static final int SHEETPR_0081- See Also:
-
SORT_0090
public static final int SORT_0090- See Also:
-
STANDARDWIDTH_0099
public static final int STANDARDWIDTH_0099- See Also:
-
SCL_00A0
public static final int SCL_00A0- See Also:
-
BITMAP_00E9
public static final int BITMAP_00E9- See Also:
-
PHONETICPR_00EF
public static final int PHONETICPR_00EF- See Also:
-
LABELRANGES_015F
public static final int LABELRANGES_015F- See Also:
-
QUICKTIP_0800
public static final int QUICKTIP_0800- See Also:
-
SHEETEXT_0862
public static final int SHEETEXT_0862- See Also:
-
SHEETPROTECTION_0867
public static final int SHEETPROTECTION_0867- See Also:
-
HEADER_FOOTER_089C
public static final int HEADER_FOOTER_089C- See Also:
-
CODENAME_1BA
public static final int CODENAME_1BA- See Also:
-
PLV_MAC
public static final int PLV_MAC- See Also:
-
-
Constructor Details
-
UnknownRecord
public UnknownRecord(int id, byte[] data) - Parameters:
id- id of the record -not validated, just stored for serializationdata- the data
-
UnknownRecord
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
-
-
Method Details
-
serialize
spit the record out AS IS. no interpretation or identification- Specified by:
serializein classStandardRecord- Parameters:
out- the output object
-
getDataSize
protected int getDataSize()- Specified by:
getDataSizein classStandardRecord
-
toString
print a sort of string representation ([UNKNOWN RECORD] id = x [/UNKNOWN RECORD]) -
getSid
public short getSid()Description copied from class:Recordreturn the non static version of the id for this record. -
getBiffName
These BIFF record types are known but still uninterpreted by POI- Returns:
- the documented name of this BIFF record type,
nullif unknown to POI
-
clone
-