/**
* Constructs a Bar record and sets its fields appropriately.
*
- * @param id id must be 0x1017 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
-
public AbstractEscherHolderRecord(RecordInputStream in)
{
super(in);
/**
* Constructs a AreaFormat record and sets its fields appropriately.
*
- * @param id id must be 0x100a or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public AreaFormatRecord(RecordInputStream in)
/**
* Constructs a Area record and sets its fields appropriately.
*
- * @param id id must be 0x101A or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public AreaRecord(RecordInputStream in)
/**
* Constructs a AxisLineFormat record and sets its fields appropriately.
*
- * @param id id must be 0x1021 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public AxisLineFormatRecord(RecordInputStream in)
/**
* Constructs a AxisOptions record and sets its fields appropriately.
*
- * @param id id must be 0x1062 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public AxisOptionsRecord(RecordInputStream in)
/**
* Constructs a AxisParent record and sets its fields appropriately.
*
- * @param id id must be 0x1041 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public AxisParentRecord(RecordInputStream in)
/**
* Constructs a Axis record and sets its fields appropriately.
*
- * @param id id must be 0x101d or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public AxisRecord(RecordInputStream in)
/**
* Constructs a AxisUsed record and sets its fields appropriately.
*
- * @param id id must be 0x1046 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public AxisUsedRecord(RecordInputStream in)
/**
* Constructs a BOFRecord and sets its fields appropriately
- *
- * @param id id must be 0x809 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public BOFRecord(RecordInputStream in)
/**
* Constructs a BackupRecord and sets its fields appropriately
- *
- * @param id id must be 0x40 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public BackupRecord(RecordInputStream in)
/**
* Constructs a Bar record and sets its fields appropriately.
*
- * @param id id must be 0x1017 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public BarRecord(RecordInputStream in)
/**
* Constructs a BeginRecord record and sets its fields appropriately.
- *
- * @param id id must be 0x1033 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public BeginRecord(RecordInputStream in)
/**
* Constructs a BlankRecord and sets its fields appropriately
- *
- * @param id id must be 0x201 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public BlankRecord(RecordInputStream in)
/**
* Constructs a BookBoolRecord and sets its fields appropriately
- *
- * @param id id must be 0xDA or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public BookBoolRecord(RecordInputStream in)
/**
* Constructs a BoolErr record and sets its fields appropriately.
*
- * @param id id must be 0x205 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public BoolErrRecord(RecordInputStream in)
}
/**
- * called by the constructor, should set class level fields. Should throw
- * runtime exception for bad/icomplete data.
- *
- * @param data raw data
- * @param size size of data
+ * @param in the RecordInputstream to read the record from
*/
protected void fillFields(RecordInputStream in)
/**
* Constructs a BottomMargin record and sets its fields appropriately.
*
- * @param id id must be 0x29 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public BottomMarginRecord( RecordInputStream in )
{
/**
* Constructs a BoundSheetRecord and sets its fields appropriately
*
- * @param id id must be 0x85 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public BoundSheetRecord( RecordInputStream in )
/**
* Constructs a CalcCountRecord and sets its fields appropriately
- *
- * @param id id must be 0xC or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*
*/
/**
* Constructs a CalcModeRecord and sets its fields appropriately
- *
- * @param id id must be 0xD or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public CalcModeRecord(RecordInputStream in)
/**
* Constructs a CategorySeriesAxis record and sets its fields appropriately.
*
- * @param id id must be 0x1020 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public CategorySeriesAxisRecord(RecordInputStream in)
/**
* Constructs a ChartFormatRecord record and sets its fields appropriately.
- *
- * @param id id must equal the sid or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public ChartFormatRecord(RecordInputStream in)
/**
* Constructs a Chart record and sets its fields appropriately.
*
- * @param id id must be 0x1002 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public ChartRecord(RecordInputStream in)
/**
* Constructs a CodepageRecord and sets its fields appropriately
- *
- * @param id id must be 0x42 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public CodepageRecord(RecordInputStream in)
/**
* Constructs a ColumnInfo record and sets its fields appropriately
- *
- * @param id id must be 0x7d or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public ColumnInfoRecord(RecordInputStream in)
/**
* Constructs a CommonObjectData record and sets its fields appropriately.
*
- * @param id id must be 0x15 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public CommonObjectDataSubRecord(RecordInputStream in)
/**
* Main constructor -- kinda dummy because we don't validate or fill fields
*
- * @param id record id
- * @param size record size
- * @param data raw data
+ * @param in the RecordInputstream to read the record from
*/
public ContinueRecord(RecordInputStream in)
// "You're not supposed to serialize Continue records like this directly");
}
- /**
- * set the data for continuation
- * @param data - a byte array containing all of the continued data
+ /*
+ * @param data raw data
*/
public void setData(byte [] data)
/**
* Fill the fields. Only thing is, this record has no fields --
*
- * @param ignored_parm1 Ignored
- * @param ignored_parm2 Ignored
- * @param ignored_parm3 Ignored
+ * @param in the RecordInputstream to read the record from
*/
protected void fillFields(RecordInputStream in)
/**
* Constructs a CountryRecord and sets its fields appropriately
- *
- * @param id id must be 0x8c or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public CountryRecord(RecordInputStream in)
/**
* Constructs a DBCellRecord and sets its fields appropriately
- *
- * @param id id must be 0xd7 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public DBCellRecord(RecordInputStream in)
/**
* Constructs a DBCellRecord and sets its fields appropriately.
- *
- * @param id id must be 0x161 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public DSFRecord(RecordInputStream in)
/**
* Constructs a Dat record and sets its fields appropriately.
*
- * @param id id must be 0x1063 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public DatRecord(RecordInputStream in)
/**
* Constructs a DataFormat record and sets its fields appropriately.
*
- * @param id id must be 0x1006 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public DataFormatRecord(RecordInputStream in)
/**
* Constructs a DateWindow1904 record and sets its fields appropriately.
- *
- * @param id id must be 0x22 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public DateWindow1904Record(RecordInputStream in)
/**
* Constructs a DefaultColumnWidth record and sets its fields appropriately.
- *
- * @param id id must be 0x55 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public DefaultColWidthRecord(RecordInputStream in)
/**
* Constructs a DefaultDataLabelTextProperties record and sets its fields appropriately.
*
- * @param id id must be 0x1024 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public DefaultDataLabelTextPropertiesRecord(RecordInputStream in)
/**
* Constructs a DefaultRowHeight record and sets its fields appropriately.
- *
- * @param id id must be 0x225 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public DefaultRowHeightRecord(RecordInputStream in)
/**
* Constructs a Delta record and sets its fields appropriately.
- *
- * @param id id must be 0x10 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public DeltaRecord(RecordInputStream in)
/**
* Constructs a Dimensions record and sets its fields appropriately.
- *
- * @param id id must be 0x200 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public DimensionsRecord(RecordInputStream in)
/**
* Constructs a EOFRecord record and sets its fields appropriately.
- *
- * @param id id must be 0x0A or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public EOFRecord(RecordInputStream in)
/**
* Constructs a EndRecord record and sets its fields appropriately.
- *
- * @param id id must be 0x1034 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public EndRecord(RecordInputStream in)
/**
* Constructs a End record and sets its fields appropriately.
*
- * @param id id must be 0x00 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public EndSubRecord(RecordInputStream in)
/**
* Constructs a EOFRecord record and sets its fields appropriately.
- *
- * @param id id must be 0xff or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public ExtSSTRecord(RecordInputStream in)
/**
* Constructs an ExtendedFormat record and sets its fields appropriately.
- *
- * @param id id must be 0xE0 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public ExtendedFormatRecord(RecordInputStream in)
/**
* Constructs a Extern Sheet record and sets its fields appropriately.
- *
- * @param id id must be 0x16 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public ExternSheetRecord(RecordInputStream in) {
/**
* Constructs a Extern Sheet Sub Record record and sets its fields appropriately.
*
- * @param id id must be 0x18 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public ExternSheetSubRecord(RecordInputStream in) {
super(in);
}
/**
- * called by the constructor, should set class level fields. Should throw
- * runtime exception for bad/icomplete data.
- *
- * @param data raw data
- * @param size size of data
- * @param offset of the record's data (provided a big array of the file)
+ * @param in the RecordInputstream to read the record from
*/
protected void fillFields(RecordInputStream in) {
field_1_index_to_supbook = in.readShort();
/**
* Constructs a FILEPASS record and sets its fields appropriately.
- *
- * @param id id must be 0x84 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public FilePassRecord(RecordInputStream in)
/**
* Constructs a FnGroupCount record and sets its fields appropriately.
- *
- * @param id id must be 0x9c or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public FnGroupCountRecord(RecordInputStream in)
/**
* Constructs a FontBasis record and sets its fields appropriately.
*
- * @param id id must be 0x1060 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public FontBasisRecord(RecordInputStream in)
/**
* Constructs a FontIndex record and sets its fields appropriately.
*
- * @param id id must be 0x1026 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public FontIndexRecord(RecordInputStream in)
/**
* Constructs a Font record and sets its fields appropriately.
*
- * @param id id must be 0x31 (NOT 0x231 see MSKB #Q184647 for an "explanation of
- * this bug in the documentation) or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public FontRecord(RecordInputStream in)
/**
* Constructs a FooterRecord record and sets its fields appropriately.
- *
- * @param id id must be 0x15 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public FooterRecord(RecordInputStream in)
/**
* Constructs a Format record and sets its fields appropriately.
- *
- * @param id id must be 0x41e or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public FormatRecord(RecordInputStream in)
/**
* Constructs a Formula record and sets its fields appropriately.
+ * Note - id must be 0x06 (NOT 0x406 see MSKB #Q184647 for an
+ * "explanation of this bug in the documentation) or an exception
+ * will be throw upon validation
*
- * @param id id must be 0x06 (NOT 0x406 see MSKB #Q184647 for an "explanation of
- * this bug in the documentation) or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public FormulaRecord(RecordInputStream in)
/**
* Constructs a Frame record and sets its fields appropriately.
*
- * @param id id must be 0x1032 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public FrameRecord(RecordInputStream in)
/**
* Constructs a GridSet record and sets its fields appropriately.
- *
- * @param id id must be 0x82 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public GridsetRecord(RecordInputStream in)
/**
* Constructs a group marker record and sets its fields appropriately.
*
- * @param id id must be 0x00 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public GroupMarkerSubRecord(RecordInputStream in)
/**
* Constructs a Guts record and sets its fields appropriately.
- *
- * @param id id must be 0x80 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public GutsRecord(RecordInputStream in)
/**
* Constructs an HCenter record and sets its fields appropriately.
- *
- * @param id id must be 0x83 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public HCenterRecord(RecordInputStream in)
/**
* Constructs an Header record and sets its fields appropriately.
- *
- * @param id id must be 0x14 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public HeaderRecord(RecordInputStream in)
/**
* Constructs an HideObj record and sets its fields appropriately.
- *
- * @param id id must be 0x8d or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public HideObjRecord(RecordInputStream in)
super(sid);
}
- /**
- * @param id
- * @param size
- * @param data
+ /**
+ * @param in the RecordInputstream to read the record from
*/
public HorizontalPageBreakRecord(RecordInputStream in) {
super(in);
/**
* Constructs an Index record and sets its fields appropriately.
- *
- * @param id id must be 0x208 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public IndexRecord(RecordInputStream in)
/**
* Constructs an InterfaceEnd record and sets its fields appropriately.
- *
- * @param id id must be 0xe2 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public InterfaceEndRecord(RecordInputStream in)
/**
* Constructs an Codepage record and sets its fields appropriately.
- *
- * @param id id must be 0xe1 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public InterfaceHdrRecord(RecordInputStream in)
/**
* Constructs an Iteration record and sets its fields appropriately.
- *
- * @param id id must be 0x11 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public IterationRecord(RecordInputStream in)
/**
* Constructs an Label record and sets its fields appropriately.
*
- * @param id id must be 0x204 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public LabelRecord(RecordInputStream in)
}
/**
- * called by the constructor, should set class level fields. Should throw
- * runtime exception for bad/icomplete data.
- *
- * @param data raw data
- * @param size size of data
+ * @param in the RecordInputstream to read the record from
*/
protected void fillFields(RecordInputStream in)
/**
* Constructs an LabelSST record and sets its fields appropriately.
- *
- * @param id id must be 0xfd or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public LabelSSTRecord(RecordInputStream in)
/**
* Constructs a LeftMargin record and sets its fields appropriately.
*
- * @param id id must be 0x26 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public LeftMarginRecord(RecordInputStream in)
{ super(in); }
rec.field_1_margin = this.field_1_margin;
return rec;
}
-} // END OF CLASS
\ No newline at end of file
+} // END OF CLASS
/**
* Constructs a Legend record and sets its fields appropriately.
*
- * @param id id must be 0x1015 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public LegendRecord(RecordInputStream in)
/**
* Constructs a LineFormat record and sets its fields appropriately.
*
- * @param id id must be 0x1007 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public LineFormatRecord(RecordInputStream in)
/**
* Constructs a LinkedData record and sets its fields appropriately.
*
- * @param id id must be 0x1051 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public LinkedDataRecord(RecordInputStream in)
/**
* Constructs a MMS record and sets its fields appropriately.
- *
- * @param id id must be 0xc1 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public MMSRecord(RecordInputStream in)
/**
* Constructs a MergedCellsRecord and sets its fields appropriately
- *
- * @param sid id must be 0xe5 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public MergeCellsRecord(RecordInputStream in)
/**
* Constructs a MulBlank record and sets its fields appropriately.
*
- * @param id id must be 0xbe or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public MulBlankRecord(RecordInputStream in)
}
/**
- * called by the constructor, should set class level fields. Should throw
- * runtime exception for bad/icomplete data.
- *
- * @param data raw data
+ * @param in the RecordInputstream to read the record from
* @param size size of data
*/
/**
* Constructs a MulRK record and sets its fields appropriately.
*
- * @param id id must be 0xbd or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public MulRKRecord(RecordInputStream in)
}
/**
- * called by the constructor, should set class level fields. Should throw
- * runtime exception for bad/icomplete data.
- *
- * @param data raw data
+ * @param in the RecordInputstream to read the record from
* @param size size of data
*/
/**
* Constructs a Name record and sets its fields appropriately.
*
- * @param id id must be 0x18 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public NameRecord(RecordInputStream in) {
super(in);
/**
* called by the class that is responsible for writing this sucker.
* Subclasses should implement this so that their data is passed back in a
- * byte array.
- *
- * @param offset to begin writing at
- * @param data byte array containing instance data
+ * @param in the RecordInputstream to read the record from
* @return number of bytes written
*/
public int serialize( int offset, byte[] data )
* called by the constructor, should set class level fields. Should throw
* runtime exception for bad/icomplete data.
*
- * @param data raw data
- * @param size size of data
- * @param offset of the record's data (provided a big array of the file)
+ * @param in the RecordInputstream to read the record from
*/
protected void fillFields(RecordInputStream in) {
field_1_option_flag = in.readShort();
/**
* Constructs a NumberFormatIndex record and sets its fields appropriately.
*
- * @param id id must be 0x104e or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public NumberFormatIndexRecord(RecordInputStream in)
/**
* Constructs a Number record and sets its fields appropriately.
*
- * @param id id must be 0x203 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public NumberRecord(RecordInputStream in)
}
/**
- * called by the constructor, should set class level fields. Should throw
- * runtime exception for bad/icomplete data.
- *
- * @param data raw data
- * @param size size of data
+ * @param in the RecordInputstream to read the record from
*/
protected void fillFields(RecordInputStream in)
/**
* Constructs a OBJ record and sets its fields appropriately.
*
- * @param id id must be 0x5D or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public ObjRecord(RecordInputStream in)
/**
* Constructs a ObjectLink record and sets its fields appropriately.
*
- * @param id id must be 0x1027 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public ObjectLinkRecord(RecordInputStream in)
/**
* Constructs a PaletteRecord record and sets its fields appropriately.
- *
- * @param id id must be 0x92 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public PaletteRecord(RecordInputStream in)
/**
* Constructs a Pane record and sets its fields appropriately.
*
- * @param id id must be 0x41 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public PaneRecord(RecordInputStream in)
/**
* Constructs a Password record and sets its fields appropriately.
- *
- * @param id id must be 0x13 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public PasswordRecord(RecordInputStream in)
/**
* Constructs a PasswordRev4 (PROT4REVPASS) record and sets its fields appropriately.
- *
- * @param id id must be 0x1bc or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public PasswordRev4Record(RecordInputStream in)
/**
* Constructs a PlotArea record and sets its fields appropriately.
*
- * @param id id must be 0x1035 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public PlotAreaRecord(RecordInputStream in)
/**
* Constructs a PlotGrowth record and sets its fields appropriately.
*
- * @param id id must be 0x1064 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public PlotGrowthRecord(RecordInputStream in)
/**
* Constructs a Precision record and sets its fields appropriately.
- *
- * @param id id must be 0xe or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public PrecisionRecord(RecordInputStream in)
/**
* Constructs a PrintGridlines record and sets its fields appropriately.
- *
- * @param id id must be 0x2b or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public PrintGridlinesRecord(RecordInputStream in)
/**
* Constructs a PrintHeaders record and sets its fields appropriately.
- *
- * @param id id must be 0x2a or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public PrintHeadersRecord(RecordInputStream in)
/**
* Constructs a PrintSetup (SETUP) record and sets its fields appropriately.
- *
- * @param id id must be 0xa1 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public PrintSetupRecord(RecordInputStream in)
/**
* Constructs a Protect record and sets its fields appropriately.
- *
- * @param id id must be 0x12 or an exception will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public ProtectRecord(RecordInputStream in)
/**
* Constructs a ProtectionRev4 record and sets its fields appropriately.
- *
- * @param id id must be 0x1af or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public ProtectionRev4Record(RecordInputStream in)
/**
* Constructs a RK record and sets its fields appropriately.
- *
- * @param id id must be 0x27e or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public RKRecord(RecordInputStream in)
/**
* Constructs a RECALCID record and sets its fields appropriately.
- *
- * @param id id must be 0x13d or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public RecalcIdRecord(RecordInputStream in)
/**
* Constructor Record
*
- * @param id record id
- * @param size record size
- * @param data raw data
+ * @param in the RecordInputstream to read the record from
*/
-
public Record(RecordInputStream in)
{
validateSid(in.getSid());
/**
* Constructs a RefMode record and sets its fields appropriately.
- *
- * @param id id must be 0xf or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public RefModeRecord(RecordInputStream in)
/**
* Constructs a RefreshAll record and sets its fields appropriately.
- *
- * @param id id must be 0x187 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public RefreshAllRecord(RecordInputStream in)
/**
* Constructs a Row record and sets its fields appropriately.
- *
- * @param id id must be 0x208 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public RowRecord(RecordInputStream in)
/**
* Constructs a SCL record and sets its fields appropriately.
*
- * @param id id must be 0xa0 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public SCLRecord(RecordInputStream in)
/**
* Constructs an SaveRecalc record and sets its fields appropriately.
- *
- * @param id id must be 0x5f or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public SaveRecalcRecord(RecordInputStream in)
/**
* Constructs a Selection record and sets its fields appropriately.
- *
- * @param id id must be 0x1d or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public SelectionRecord(RecordInputStream in)
/**
* Constructs a SeriesChartGroupIndex record and sets its fields appropriately.
*
- * @param id id must be 0x1045 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public SeriesChartGroupIndexRecord(RecordInputStream in)
/**
* Constructs a SeriesIndex record and sets its fields appropriately.
*
- * @param id id must be 0x1065 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public SeriesIndexRecord(RecordInputStream in)
/**
* Constructs a SeriesLabels record and sets its fields appropriately.
*
- * @param id id must be 0x100c or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public SeriesLabelsRecord(RecordInputStream in)
/**
* Constructs a SeriesList record and sets its fields appropriately.
*
- * @param id id must be 0x1016 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public SeriesListRecord(RecordInputStream in)
/**
* Constructs a Series record and sets its fields appropriately.
*
- * @param id id must be 0x1003 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public SeriesRecord(RecordInputStream in)
/**
* Constructs a SeriesText record and sets its fields appropriately.
*
- * @param id id must be 0x100d or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public SeriesTextRecord(RecordInputStream in)
/**
* Constructs a SeriesToChartGroup record and sets its fields appropriately.
*
- * @param id id must be 0x1045 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public SeriesToChartGroupRecord(RecordInputStream in)
}
/**
- * construct the sharedformula record, save all the information
- * @param id id of the record -not validated, just stored for serialization
- * @param size size of the data
- * @param data the data
+ * @param in the RecordInputstream to read the record from
*/
public SharedFormulaRecord(RecordInputStream in)
/**
* Constructs a SheetProperties record and sets its fields appropriately.
*
- * @param id id must be 0x1044 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public SheetPropertiesRecord(RecordInputStream in)
/**
* Constructs a String record and sets its fields appropriately.
*
- * @param id id must be 0x204 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public StringRecord(RecordInputStream in)
{
}
/**
- * called by the constructor, should set class level fields. Should throw
- * runtime exception for bad/icomplete data.
- *
- * @param data raw data
+ * @param in the RecordInputstream to read the record from
* @param size size of data
* @param offset of the record's data (provided a big array of the file)
*/
/**
* Constructs a Style record and sets its fields appropriately.
- *
- * @param id id must be 0x293 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public StyleRecord(RecordInputStream in)
/**
* Constructs a Extern Sheet record and sets its fields appropriately.
*
- * @param id id must be 0x16 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public SupBookRecord(RecordInputStream in)
{
}
/**
- * called by the constructor, should set class level fields. Should throw
- * runtime exception for bad/icomplete data.
- *
- * @param data raw data
+ * @param in the RecordInputstream to read the record from
* @param size size of data
* @param offset of the record's data (provided a big array of the file)
*/
/**
* Constructs a TabID record and sets its fields appropriately.
- *
- * @param id id must be 0x13d or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public TabIdRecord(RecordInputStream in)
/**
* Constructs a TextObjectBase record and sets its fields appropriately.
*
- * @param id id must be 0x1B6 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public TextObjectBaseRecord(RecordInputStream in)
/**
* Constructs a Text record and sets its fields appropriately.
*
- * @param id id must be 0x1025 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public TextRecord(RecordInputStream in)
/**
* Constructs a Tick record and sets its fields appropriately.
*
- * @param id id must be 0x101e or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public TickRecord(RecordInputStream in)
/**
* construct a unicode string record and fill its fields, ID is ignored
- * @param id - ignored
- * @param size - size of the data
- * @param data - the bytes of the string/fields
+ * @param in the RecordInputstream to read the record from
*/
public UnicodeString(RecordInputStream in)
}
/**
- * called by the constructor, should set class level fields. Should throw
- * runtime exception for bad/icomplete data.
- *
- * @param data raw data
- * @param size size of data
- * @param offset of the records data (provided a big array of the file)
+ * @param in the RecordInputstream to read the record from
*/
protected void fillFields(RecordInputStream in)
{
/**
* Constructs a Units record and sets its fields appropriately.
*
- * @param id id must be 0x1001 or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
-
public UnitsRecord(RecordInputStream in)
{
super(in);
}
/**
- * construct an unknown record. No fields are interperated and the record will
- * be serialized in its original form more or less
* @param id id of the record -not validated, just stored for serialization
* @param data the data
*/
/**
* construct an unknown record. No fields are interperated and the record will
* be serialized in its original form more or less
- * @param id id of the record -not validated, just stored for serialization
- * @param size size of the data
- * @param data the data
+ * @param in the RecordInputstream to read the record from
*/
public UnknownRecord(RecordInputStream in)
/**
* Constructs a UseSelFS record and sets its fields appropriately.
- *
- * @param id id must be 0x160 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public UseSelFSRecord(RecordInputStream in)
/**
* Constructs a VCENTER record and sets its fields appropriately.
- *
- * @param id id must be 0x84 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public VCenterRecord(RecordInputStream in)
/**
* Constructs a ValueRange record and sets its fields appropriately.
*
- * @param id id must be 0x101f or an exception
- * will be throw upon validation
- * @param size size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public ValueRangeRecord(RecordInputStream in)
}
/**
- * @param id
- * @param size
- * @param data
+ * @param in the RecordInputstream to read the record from
*/
public VerticalPageBreakRecord(RecordInputStream in) {
super(in);
/**
* Constructs a WSBool record and sets its fields appropriately.
- *
- * @param id id must be 0x81 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public WSBoolRecord(RecordInputStream in)
/**
* Constructs a WindowOne record and sets its fields appropriately.
- *
- * @param id id must be 0x3d or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public WindowOneRecord(RecordInputStream in)
/**
* Constructs a WindowProtect record and sets its fields appropriately.
- *
- * @param id id must be 0x19 or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public WindowProtectRecord(RecordInputStream in)
/**
* Constructs a WindowTwo record and sets its fields appropriately.
- *
- * @param id id must be 0x23e or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public WindowTwoRecord(RecordInputStream in)
/**
* Constructs a WriteAccess record and sets its fields appropriately.
- *
- * @param id id must be 0x5c or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public WriteAccessRecord(RecordInputStream in)
/**
* Constructs a WriteAccess record and sets its fields appropriately.
- *
- * @param id id must be 0x5c or an exception will be throw upon validation
- * @param size the size of the data area of the record
- * @param data data of the record (should not contain sid/len)
+ * @param in the RecordInputstream to read the record from
*/
public WriteProtectRecord(RecordInputStream in)