Class CellPositionBase
This is parent class for all records that have cell position elements inside.
Inheritance
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
public abstract class CellPositionBase : BiffRecordRaw, ICloneable, IBiffStorage, ICellPositionFormat
Constructors
CellPositionBase()
Default constructor
Declaration
public CellPositionBase()
Fields
m_iColumn
Zero-based column index.
Declaration
protected int m_iColumn
Field Value
Type |
---|
System.Int32 |
m_iRow
Zero-based row index.
Declaration
protected int m_iRow
Field Value
Type |
---|
System.Int32 |
m_usExtendedFormat
Index to the cell's extended format.
Declaration
protected ushort m_usExtendedFormat
Field Value
Type |
---|
System.UInt16 |
Properties
Column
Column zero-based index.
Declaration
public int Column { get; set; }
Property Value
Type |
---|
System.Int32 |
ExtendedFormatIndex
Index of extended format.
Declaration
public ushort ExtendedFormatIndex { get; set; }
Property Value
Type |
---|
System.UInt16 |
Row
Row zero-based index.
Declaration
public int Row { get; set; }
Property Value
Type |
---|
System.Int32 |
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 abstract 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. |
ParseCellData(DataProvider, Int32, ExcelVersion)
Parse structure of record. Convert Data buffer to special values according to record specification.
Declaration
protected abstract 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. |
ParseStructure(DataProvider, Int32, Int32, ExcelVersion)
Parse structure of record. Convert Data buffer to special values according to record specification.
Declaration
public override void ParseStructure(DataProvider provider, int iOffset, int iLength, ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
DataProvider | provider | Object that provides access to the data. |
System.Int32 | iOffset | Offset to the record's data. |
System.Int32 | iLength | Length of the record's data. |
ExcelVersion | version | Excel version used for infill. |