Class BoolErrRecord
This record represents a Boolean value or error value cell.
Inheritance
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
[Biff]
public class BoolErrRecord : CellPositionBase, ICloneable, IBiffStorage, ICellPositionFormat, IValueHolder
Constructors
BoolErrRecord()
Default Constructor that fills all data with default values.
Declaration
public BoolErrRecord()
Properties
BoolOrError
Boolean or error value (type depends on the IsError property).
Declaration
public byte BoolOrError { get; set; }
Property Value
Type |
---|
System.Byte |
IsErrorCode
False = Boolean value; True = Error code.
Declaration
public bool IsErrorCode { get; set; }
Property Value
Type |
---|
System.Boolean |
MaximumRecordSize
Read-only. Returns maximum possible size of record's internal data array.
Declaration
public override int MaximumRecordSize { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
MinimumRecordSize
Read-only. Returns minimum possible size of record's internal data array.
Declaration
public override int MinimumRecordSize { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
Value
Value of the record.
Declaration
public object Value { get; set; }
Property Value
Type |
---|
System.Object |
Methods
GetStoreSize(ExcelVersion)
Returns size of the required storage space.
Declaration
public override int GetStoreSize(ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
ExcelVersion | version | Excel version. |
Returns
Type | Description |
---|---|
System.Int32 | Size of the required storage space. |
Overrides
InfillCellData(DataProvider, Int32, ExcelVersion)
In this method, class must pack all of its properties into an internal data array, m_data. This method is called by FillStream, when the record must be serialized into a stream.
Declaration
protected override void InfillCellData(DataProvider provider, int iOffset, ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
DataProvider | provider | Object that provides access to the data. |
System.Int32 | iOffset | Offset to the record's data. |
ExcelVersion | version | Excel version used to fill data. |
Overrides
ParseCellData(DataProvider, Int32, ExcelVersion)
Parse structure of record. Convert Data buffer to special values according to record specification.
Declaration
protected override void ParseCellData(DataProvider provider, int iOffset, ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
DataProvider | provider | Object that provides access to the data. |
System.Int32 | iOffset | Offset to the record's data. |
ExcelVersion | version | Excel version used to fill data. |
Overrides
ReadValue(DataProvider, Int32, ExcelVersion)
Reads record's value from the data provider.
Declaration
public static int ReadValue(DataProvider provider, int recordStart, ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
DataProvider | provider | Provider to read data from. |
System.Int32 | recordStart | Offset to the record's start. |
ExcelVersion | version | Excel version that was used to infill. |
Returns
Type | Description |
---|---|
System.Int32 | Record's value (BoolOrError and IsErrorCode). |