C# Class PdfRpt.Export.ExportToExcel

Microsoft Excel Worksheet DataExporter
Inheritance: IDataExporter
Afficher le fichier Open project: VahidN/PdfReport Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

Fires before closing the document
public ClosingDocument ( ) : byte[]
Résultat byte[]

DocumentOpened() public méthode

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.
Résultat void

ExportToExcel() public méthode

ctor.
public ExportToExcel ( ) : System
Résultat System

RowAdded() public méthode

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
Résultat void