C# Класс PdfRpt.Export.ExportToExcel

Microsoft Excel Worksheet DataExporter
Наследование: IDataExporter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

ClosingDocument() публичный Метод

Fires before closing the document
public ClosingDocument ( ) : byte[]
Результат byte[]

DocumentOpened() публичный Метод

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.
Результат void

ExportToExcel() публичный Метод

ctor.
public ExportToExcel ( ) : System
Результат System

RowAdded() публичный Метод

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
Результат void