C# Class PdfRpt.Export.ExportToExcel

Microsoft Excel Worksheet 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.

ExportToExcel ( ) : System

ctor.

RowAdded ( IList cellsData, bool isNewGroupStarted ) : void

Fires after adding a row to the main table.

Private Methods

Method Description
addHeaderFooter ( ) : void
addImageFromFile ( CellData item ) : void
addImageFromStream ( byte data ) : void
addNumberformat ( ) : void
addToTable ( ) : void
autoFitColumns ( ) : void
formatCell ( CellData item ) : void
getHorizontalAlignment ( int idx ) : ExcelHorizontalAlignment
initFormats ( ) : void
initSettings ( ) : void
isByteArrayImageField ( CellData item ) : bool
isImageFilePathField ( CellData item ) : bool
printHeader ( ) : void
setAggregateFunctions ( ExcelTable tbl ) : void
setDateTimeItem ( CellData item ) : void
setDocumentMetadata ( ) : void
setGroups ( bool isNewGroupStarted ) : void
setHorizontalAlignment ( ColumnAttributes item ) : void
setNumericItem ( CellData item ) : void
setOrientation ( ) : void
setPageLayout ( ) : void
setRunDirection ( ) : void
setTimeSpanItem ( CellData item ) : void

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

ExportToExcel() public method

ctor.
public ExportToExcel ( ) : 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