Class WorkbookImpl.WorkbookExcel97Serializator
Summary description for WorkbookExcel97Serializator.
Inheritance
System.Object
WorkbookImpl.WorkbookExcel97Serializator
Implements
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class WorkbookExcel97Serializator : Object, 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
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). |