Class LabelSSTRecord
Represents a cell that contains a string. Refers to a string in the shared string table and is a column value.
Inheritance
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
[Biff]
public class LabelSSTRecord : CellPositionBase, IBiffStorage, ICellPositionFormat, ICloneable
Constructors
LabelSSTRecord()
Default constructor
Declaration
public LabelSSTRecord()
Properties
MaximumMemorySize
Declaration
public override int MaximumMemorySize { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
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
SSTIndex
Index into SST record.
Declaration
public int SSTIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
GetSSTIndex(DataProvider, Int32, ExcelVersion)
Sets new index.
Declaration
public static int GetSSTIndex(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 start of the record data. |
ExcelVersion | version | Excel version of the used data storage. |
Returns
Type | Description |
---|---|
System.Int32 | Index in the SST table. |
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
SetSSTIndex(DataProvider, Int32, Int32, ExcelVersion)
Sets new index.
Declaration
public static void SetSSTIndex(DataProvider provider, int iOffset, int iNewIndex, ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
DataProvider | provider | Object that provides access to the data. |
System.Int32 | iOffset | Offset to the start of the record data. |
System.Int32 | iNewIndex | New SST index. |
ExcelVersion | version | Excel version of the used data storage. |