Class WorkbookImpl.WorkbookExcel97Serializator
Summary description for WorkbookExcel97Serializator.
Inheritance
System.Object
WorkbookImpl.WorkbookExcel97Serializator
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class WorkbookExcel97Serializator : IWorkbookSerializator
Constructors
WorkbookExcel97Serializator(IdReserver)
Default constructor.
Declaration
public WorkbookExcel97Serializator(IdReserver shapeIds)
Parameters
Type | Name | Description |
---|---|---|
IdReserver | shapeIds |
Methods
Serialize(OffsetArrayList, ExcelSaveType, IEncryptor, WorkbookImpl, WorksheetImpl, Boolean)
Saves all workbook records into specified array.
Declaration
[CLSCompliant(false)]
public void Serialize(OffsetArrayList records, ExcelSaveType saveType, IEncryptor encryptor, WorkbookImpl book, WorksheetImpl sheet, bool forClipboard)
Parameters
Type | Name | Description |
---|---|---|
OffsetArrayList | records | Array that will receive all workbook records. |
ExcelSaveType | saveType | Format in which worksheet should be saved. |
IEncryptor | encryptor | Object that is used to encrypt data. |
WorkbookImpl | book | Workbook to serialize. |
WorksheetImpl | sheet | Worksheet that must be serialized when we are serializing data for clipboard. |
System.Boolean | forClipboard | Indicates whether we are serializing data for saving into file or into clipboard. |
Serialize(Stream, WorkbookImpl, ExcelSaveType)
Saves workbook into stream.
Declaration
public void Serialize(Stream stream, WorkbookImpl book, ExcelSaveType saveType)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream to save into. |
WorkbookImpl | book | Workbook to save. |
ExcelSaveType | saveType | Save type (template or ordinary xls). |
Serialize(String, WorkbookImpl, ExcelSaveType)
Saves workbook into specified file.
Declaration
public void Serialize(string fullName, WorkbookImpl book, ExcelSaveType saveType)
Parameters
Type | Name | Description |
---|---|---|
System.String | fullName | Destination file name. |
WorkbookImpl | book | Workbook to save. |
ExcelSaveType | saveType | Save type. |