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