C# Class Simplexcel.XlsxInternal.XlsxWriter.XlsxWriterInternal

This does the actual writing by manually creating the XML according to ECMA-376, 3rd Edition, Part 1's SpreadsheetML. Due to the way state is handled, Save() can only be called once, hence it's a private class around an internal static member that initialized it anew on every Save(Workbook) Note that in many cases, the order of elements in an XML file matters!
显示文件 Open project: mstum/Simplexcel

Public Methods

Method Description
XlsxWriterInternal ( Workbook workbook, CompressionOption compressionOption ) : System

Private Methods

Method Description
CreateCoreFileProperties ( ) : Relationship

Generated the docProps/core.xml which contains author, creation date etc.

CreateSheetFile ( Worksheet sheet, int sheetIndex, XmlFile &sheetRels ) : Relationship

Create the xl/worksheets/sheetX.xml file

CreateWorkbookFile ( List sheetInfos ) : Relationship

Create the xl/workbook.xml file and associated relationship

GetXlsxRows ( Worksheet sheet ) : XlsxRow>.Dictionary
GetXlsxStyles ( ) : IList

Get all unique Styles throughout the workbook

Save ( Stream outputStream ) : void

Method Details

XlsxWriterInternal() public method

public XlsxWriterInternal ( Workbook workbook, CompressionOption compressionOption ) : System
workbook Workbook
compressionOption CompressionOption
return System