Class MulBlankRecord
Represents a range of empty cells. All cells are located in the same row.
Inheritance
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
[Biff]
public class MulBlankRecord : CellPositionBase, ICloneable, IBiffStorage, IMultiCellRecord, ICellPositionFormat
Constructors
MulBlankRecord()
Default constructor
Declaration
public MulBlankRecord()
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 = 2
Field Value
Type |
---|
System.Int32 |
Properties
ExtendedFormatIndexes
List of 16-bit indexes to XF records.
Declaration
public List<ushort> ExtendedFormatIndexes { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<System.UInt16> |
FirstColumn
Index to 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
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
GetBlankRecord(Int32)
Creates BlankRecord corresponding to the specified column.
Declaration
public BlankRecord GetBlankRecord(int iColumnIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iColumnIndex | Column index. |
Returns
Type | Description |
---|---|
BlankRecord | Corresponding BlankRecord. |
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
IncreaseLastColumn(DataProvider, Int32, Int32, ExcelVersion, Int32)
Increases last column of the record.
Declaration
public static void IncreaseLastColumn(DataProvider provider, int recordStart, int iLength, ExcelVersion version, int columnDelta)
Parameters
Type | Name | Description |
---|---|---|
DataProvider | provider | Object that provides access to the data. |
System.Int32 | recordStart | Offset to the record start (record code). |
System.Int32 | iLength | Record data length. |
ExcelVersion | version | Excel version used to fill data. |
System.Int32 | columnDelta | Value that must be added to the column width. |
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. |
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. |