Class MsoBase
Summary description for MsoBase.
Inheritance
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records.MsoDrawing
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
[CLSCompliant(false)]
public abstract class MsoBase : BiffRecordRawWithArray, ICloneable, IBiffStorage, IDisposable
Constructors
MsoBase()
Default constructor.
Declaration
public MsoBase()
MsoBase(MsoBase)
Declaration
public MsoBase(MsoBase parent)
Parameters
| Type | Name | Description |
|---|---|---|
| MsoBase | parent |
MsoBase(MsoBase, byte[], int)
Declaration
public MsoBase(MsoBase parent, byte[] data, int offset)
Parameters
| Type | Name | Description |
|---|---|---|
| MsoBase | parent | |
| byte[] | data | |
| int | offset |
MsoBase(MsoBase, byte[], int, GetNextMsoDrawingData)
Declaration
public MsoBase(MsoBase parent, byte[] data, int offset, GetNextMsoDrawingData dataGetter)
Parameters
| Type | Name | Description |
|---|---|---|
| MsoBase | parent | |
| byte[] | data | |
| int | offset | |
| GetNextMsoDrawingData | dataGetter |
MsoBase(MsoBase, Stream, GetNextMsoDrawingData)
Declaration
public MsoBase(MsoBase parent, Stream stream, GetNextMsoDrawingData dataGetter)
Parameters
| Type | Name | Description |
|---|---|---|
| MsoBase | parent | |
| Stream | stream | |
| GetNextMsoDrawingData | dataGetter |
Fields
m_usVersionAndInst
Declaration
protected ushort m_usVersionAndInst
Field Value
| Type |
|---|
| ushort |
Properties
DataGetter
Declaration
public GetNextMsoDrawingData DataGetter { get; set; }
Property Value
| Type |
|---|
| GetNextMsoDrawingData |
Instance
Declaration
public int Instance { get; set; }
Property Value
| Type |
|---|
| int |
MaximumRecordSize
Returns maximum record size. Read-only.
Declaration
public override int MaximumRecordSize { get; }
Property Value
| Type |
|---|
| int |
Overrides
MsoRecordType
Declaration
public MsoRecords MsoRecordType { get; set; }
Property Value
| Type |
|---|
| MsoRecords |
Parent
Declaration
public MsoBase Parent { get; }
Property Value
| Type |
|---|
| MsoBase |
Version
Declaration
public int Version { get; set; }
Property Value
| Type |
|---|
| int |
Methods
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public override object Clone()
Returns
| Type | Description |
|---|---|
| object | A new object that is a copy of this instance. |
Overrides
Clone(MsoBase)
Clone current instance.
Declaration
public MsoBase Clone(MsoBase parent)
Parameters
| Type | Name | Description |
|---|---|---|
| MsoBase | parent | Parent object to create instance. |
Returns
| Type | Description |
|---|---|
| MsoBase | Returns cloned instance. |
ConvertFromInt32(int)
Converts from fixed point integer value into double.
Declaration
public static double ConvertFromInt32(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | Value to convert. |
Returns
| Type | Description |
|---|---|
| double | Converted double value. |
FillArray(Stream)
Fills internal data array.
Declaration
public virtual void FillArray(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream |
FillArray(Stream, int, List<int>, List<List<BiffRecordRaw>>)
Fills internal data array.
Declaration
public virtual void FillArray(Stream stream, int iOffset, List<int> arrBreaks, List<List<BiffRecordRaw>> arrRecords)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream to write record data into. |
| int | iOffset | Offset index. |
| List<int> | arrBreaks | List with breaks indexes in arrRecords. |
| List<List<BiffRecordRaw>> | arrRecords | List with records. |
FillRecord(byte[], int)
Fills record from the data array.
Declaration
public virtual int FillRecord(byte[] data, int iOffset)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | Array that contains record data. |
| int | iOffset | Offset to the record data. |
Returns
| Type | Description |
|---|---|
| int | Size of the extracted data. |
ParseStructure()
Declaration
public override void ParseStructure()
Overrides
ParseStructure(Stream)
Extracts record from the stream.
Declaration
public abstract void ParseStructure(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream to get data from. |
ReadInt16(Stream)
Reads Int16 value from stream.
Declaration
public static short ReadInt16(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream to read value from. |
Returns
| Type | Description |
|---|---|
| short | Value extracted from the stream. |
ReadInt32(Stream)
Reads Int32 value from stream.
Declaration
public static int ReadInt32(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream to read value from. |
Returns
| Type | Description |
|---|---|
| int | Value extracted from the stream. |
ReadUInt16(Stream)
Reads UInt16 value from stream.
Declaration
public static ushort ReadUInt16(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream to read value from. |
Returns
| Type | Description |
|---|---|
| ushort | Value extracted from the stream. |
ReadUInt32(Stream)
Reads UInt32 value from stream.
Declaration
public static uint ReadUInt32(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream to read value from. |
Returns
| Type | Description |
|---|---|
| uint | Value extracted from the stream. |
UpdateNextMsoDrawingData()
Updates NextMsoDrawingData.
Declaration
public virtual void UpdateNextMsoDrawingData()
WriteInt16(Stream, short)
Writes Int16 value int stream.
Declaration
public static void WriteInt16(Stream stream, short value)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream to write value into. |
| short | value | Value to write. |
WriteInt32(Stream, int)
Writes Int32 value int stream.
Declaration
public static void WriteInt32(Stream stream, int value)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream to write value into. |
| int | value | Value to write. |
WriteUInt16(Stream, ushort)
Writes UInt16 value int stream.
Declaration
public static void WriteUInt16(Stream stream, ushort value)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream to write value into. |
| ushort | value | Value to write. |
WriteUInt32(Stream, uint)
Writes UInt32 value int stream.
Declaration
public static void WriteUInt32(Stream stream, uint value)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream to write value into. |
| uint | value | Value to write. |