Class MulRKRecord
Represents a cell range containing RK value cells. All cells are located in the same row.
Inheritance
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
[Biff(TBIFFRecord.MulRK)]
[CLSCompliant(false)]
public class MulRKRecord : CellPositionBase, ICloneable, IBiffStorage, IMultiCellRecord, ICellPositionFormat
Constructors
MulRKRecord()
Default constructor
Declaration
public MulRKRecord()
Fields
DEF_FIXED_SIZE
Size of the fixed part.
Declaration
public const int DEF_FIXED_SIZE = 6
Field Value
Type |
---|
System.Int32 |
DEF_SUB_ITEM_SIZE
Size of the subitem.
Declaration
public const int DEF_SUB_ITEM_SIZE = 6
Field Value
Type |
---|
System.Int32 |
Properties
FirstColumn
Index to the first column.
Declaration
public int FirstColumn { get; set; }
Property Value
Type |
---|
System.Int32 |
LastColumn
Index to last column.
Declaration
public int LastColumn { get; set; }
Property Value
Type |
---|
System.Int32 |
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
Records
List of RkRec structures.
Declaration
public List<MulRKRecord.RkRec> Records { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<MulRKRecord.RkRec> |
SubRecordSize
Returns size of the subrecord. Read-only.
Declaration
public int SubRecordSize { get; }
Property Value
Type |
---|
System.Int32 |
SubRecordType
Returns type of the subrecord. Read-only.
Declaration
public TBIFFRecord SubRecordType { get; }
Property Value
Type |
---|
TBIFFRecord |
Methods
GetSeparateSubRecordSize(ExcelVersion)
Returns size of the subrecord if it was placed as separate record (including BiffRecord header). Read-only.
Declaration
public int GetSeparateSubRecordSize(ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
ExcelVersion | version |
Returns
Type |
---|
System.Int32 |
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
Insert(ICellPositionFormat)
Inserts cell inside this record.
Declaration
public void Insert(ICellPositionFormat cell)
Parameters
Type | Name | Description |
---|---|---|
ICellPositionFormat | cell | Cell to insert. |
InsertSubRecord(ICellPositionFormat)
Declaration
public void InsertSubRecord(ICellPositionFormat cell)
Parameters
Type | Name | Description |
---|---|---|
ICellPositionFormat | cell |
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
Split(Boolean)
Splits record into subrecords.
Declaration
public BiffRecordRaw[] Split(bool bIgnoreStyles)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bIgnoreStyles | Indicates whether styles must be ignored. |
Returns
Type | Description |
---|---|
Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw[] | Array with all subrecords. |
Split(Int32)
Removes information about specified column from the record and splits record into two.
Declaration
public ICellPositionFormat[] Split(int iColumnIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iColumnIndex | Zero-based index of the column to remove. |
Returns
Type | Description |
---|---|
ICellPositionFormat[] | Splitted records. |