C# Class PdfRpt.Export.ExportToCsv

CSV DataExporter
Inheritance: IDataExporter
ファイルを表示 Open project: VahidN/PdfReport Class Usage Examples

Public Methods

Method Description
ClosingDocument ( ) : byte[]

Fires before closing the document

DocumentOpened ( IList pdfColumnsAttributes, DocumentPreferences documentPreferences ) : void

Fires when the document is opened.

ExportToCsv ( ) : System

ctor.

RowAdded ( IList cellsData, bool isNewGroupStarted ) : void

Fires after adding a row to the main table.

Private Methods

Method Description
initWriter ( ) : void
isByteArray ( CellData item ) : bool
makeValueCsvFriendly ( object value ) : string

Method Details

ClosingDocument() public method

Fires before closing the document
public ClosingDocument ( ) : byte[]
return byte[]

DocumentOpened() public method

Fires when the document is opened.
public DocumentOpened ( IList pdfColumnsAttributes, DocumentPreferences documentPreferences ) : void
pdfColumnsAttributes IList Sets columns definitions of the current report at startup
documentPreferences PdfRpt.Core.Contracts.DocumentPreferences Document settings.
return void

ExportToCsv() public method

ctor.
public ExportToCsv ( ) : System
return System

RowAdded() public method

Fires after adding a row to the main table.
public RowAdded ( IList cellsData, bool isNewGroupStarted ) : void
cellsData IList cells data
isNewGroupStarted bool Indicates starting a new group
return void