C# Class SimpleExcelExport.ExcelFileCreator

Mostra file Open project: majimenezp/SimpleExcelExport Class Usage Examples

Public Methods

Method Description
ExcelFileCreator ( ) : System
ExcelFileCreator ( List columns ) : System
GetDocument ( ) : NPOI.HSSF.UserModel.HSSFWorkbook
SaveDocument ( ) : Stream

Private Methods

Method Description
CreateCellWithValue ( int i, object value, Type valueType, System backgroundColor ) : void
CreateDocument ( ) : void
CreateHeader ( ) : void
CreateRow ( ) : void
GetColumnCellType ( Type type ) : NPOI.SS.UserModel.CellType
GetXLColour ( System SystemColour ) : short
SetHeaderOptions ( SimpleExcelExport column, NPOI row, int columnNumber, ExportToExcel exportToExcel ) : void

Method Details

ExcelFileCreator() public method

public ExcelFileCreator ( ) : System
return System

ExcelFileCreator() public method

public ExcelFileCreator ( List columns ) : System
columns List
return System

GetDocument() public method

public GetDocument ( ) : NPOI.HSSF.UserModel.HSSFWorkbook
return NPOI.HSSF.UserModel.HSSFWorkbook

SaveDocument() public method

public SaveDocument ( ) : Stream
return Stream