Class BiffRecordWithContinue
Summary description for BiffRecordWithContinue.
Inheritance
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
[CLSCompliant(false)]
public abstract class BiffRecordWithContinue : BiffRecordRawWithDataProvider, ICloneable, IBiffStorage, IDisposable
Constructors
BiffRecordWithContinue()
Default constructor.
Declaration
public BiffRecordWithContinue()
Fields
m_iFirstLength
Size of the first record length.
Declaration
protected int m_iFirstLength
Field Value
Type |
---|
System.Int32 |
Properties
AddHeaderToProvider
Indicates whether we should add header of continue records to the internal data provider. Read-only.
Declaration
protected virtual bool AddHeaderToProvider { get; }
Property Value
Type |
---|
System.Boolean |
FirstContinueType
Type of the first continue record. Read-only.
Declaration
public virtual TBIFFRecord FirstContinueType { get; }
Property Value
Type |
---|
TBIFFRecord |
Methods
Clone()
Creates copy of the current object.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | A copy of the current object. |
Overrides
FillRecord(BinaryReader, DataProvider, IDecryptor, Byte[])
Read from stream record data.
Declaration
public override int FillRecord(BinaryReader reader, DataProvider provider, IDecryptor decryptor, byte[] arrBuffer)
Parameters
Type | Name | Description |
---|---|---|
System.IO.BinaryReader | reader | Stream with record data. |
DataProvider | provider | Object that provides access to the data. |
IDecryptor | decryptor | Object that should be used to parse encrypted records. |
System.Byte[] | arrBuffer | Temporary buffer needed for some operations. |
Returns
Type | Description |
---|---|
System.Int32 | Size of the record data. |
Overrides
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If reader is NULL. |
System.ApplicationException | If stream is not be big enough for data (end of stream reached) and all data were not read. |
System.ApplicationException | If record code is zero. |
FillStream(BinaryWriter, DataProvider, IEncryptor, Int32)
Save record data to stream.
Declaration
public override int FillStream(BinaryWriter writer, DataProvider provider, IEncryptor encryptor, int streamPosition)
Parameters
Type | Name | Description |
---|---|---|
System.IO.BinaryWriter | writer | Writer that will receive record data. |
DataProvider | provider | Represents data provider. |
IEncryptor | encryptor | Object to encrypt data. |
System.Int32 | streamPosition | Position in the output stream. Used to increase performance. |
Returns
Type | Description |
---|---|
System.Int32 | Size of the record in the stream. |
Overrides
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If writer is NULL. |
System.ApplicationException | If m_iLength of internal record data array is less than zero. |