C# Class SympleLib.OpenXml.ObjectsToXls

Exibir arquivo Open project: sympletech/SympleLib Class Usage Examples

Protected Properties

Property Type Description
xWorker XLSWorker

Public Methods

Method Description
AddSheet ( IEnumerable objectCollection, string sheetName ) : void
AddSheet ( IEnumerable objectCollection, string sheetName, List includeProperties ) : void
GetFileStream ( ) : Stream
ObjectsToXls ( ) : System
ObjectsToXls ( string saveTo ) : System
Save ( ) : void
SaveAs ( string path ) : void
WriteToHttpResponse ( string fileName ) : void

Private Methods

Method Description
ReadInRecords ( IEnumerable objectCollection, List props ) : void

Method Details

AddSheet() public method

public AddSheet ( IEnumerable objectCollection, string sheetName ) : void
objectCollection IEnumerable
sheetName string
return void

AddSheet() public method

public AddSheet ( IEnumerable objectCollection, string sheetName, List includeProperties ) : void
objectCollection IEnumerable
sheetName string
includeProperties List
return void

GetFileStream() public method

public GetFileStream ( ) : Stream
return Stream

ObjectsToXls() public method

public ObjectsToXls ( ) : System
return System

ObjectsToXls() public method

public ObjectsToXls ( string saveTo ) : System
saveTo string
return System

Save() public method

public Save ( ) : void
return void

SaveAs() public method

public SaveAs ( string path ) : void
path string
return void

WriteToHttpResponse() public method

public WriteToHttpResponse ( string fileName ) : void
fileName string
return void

Property Details

xWorker protected_oe property

protected XLSWorker,SympleLib.OpenXml xWorker
return XLSWorker