C# Класс PdfRpt.Core.PdfTable.TableCellHelper

Helps rendering of the main table's cells
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddExtraHeaderCell ( int columnNumber, int colSpan, PdfRpt.Core.Contracts.HeadingCell pdfHeadingCell ) : PdfRpt.Core.Contracts.CellAttributes

Adds a new extra header PdfPCell to the MainTable

AddGeneralCell ( BaseColor backgroundColor, BaseColor foreColor, object rawData, int columnNumber, RowType pdfRowType, CellType pdfCellType, IList rowValues = null, HorizontalAlignment horizontalAlignment = HorizontalAlignment.None, DocumentFontStyle pdfFontStyle = DocumentFontStyle.None, int rotation, bool setItemTemplate = false, int colSpan = 1 ) : PdfRpt.Core.Contracts.CellAttributes

Adds a new PdfPCell to the MainTable

AddHeaderCell ( int columnNumber, int colSpan ) : PdfRpt.Core.Contracts.CellAttributes

Adds a new header PdfPCell to the MainTable

AddPreviousPageSummaryCell ( BaseColor backgroundColor, BaseColor foreColor, int columnNumber ) : PdfRpt.Core.Contracts.CellAttributes

Adds a new PreviousPageSummary PdfPCell to the MainTable

AddRowCell ( IList rowValues, BaseColor backgroundColor, BaseColor foreColor, int columnNumber ) : PdfRpt.Core.Contracts.CellAttributes

Adds a new data PdfPCell to the MainTable

AddRowNumberCell ( BaseColor backgroundColor, BaseColor foreColor, int columnNumber ) : PdfRpt.Core.Contracts.CellAttributes

Adds a new row number PdfPCell to the MainTable

AddSummaryCell ( BaseColor backgroundColor, BaseColor foreColor, int columnNumber, CellType pdfCellType, RowType pdfRowType ) : PdfRpt.Core.Contracts.CellAttributes

Adds a new Summary PdfPCell to the MainTable

AddSummaryCell ( BaseColor backgroundColor, BaseColor foreColor, object rawData, int columnNumber, RowType pdfRowType, CellType pdfCellType ) : PdfRpt.Core.Contracts.CellAttributes

Adds a new Summary PdfPCell to the MainTable

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

Метод Описание
checkProperty ( int columnNumber, ColumnAttributes col ) : void

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

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

Adds a new extra header PdfPCell to the MainTable
public AddExtraHeaderCell ( int columnNumber, int colSpan, PdfRpt.Core.Contracts.HeadingCell pdfHeadingCell ) : PdfRpt.Core.Contracts.CellAttributes
columnNumber int
colSpan int
pdfHeadingCell PdfRpt.Core.Contracts.HeadingCell
Результат PdfRpt.Core.Contracts.CellAttributes

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

Adds a new PdfPCell to the MainTable
public AddGeneralCell ( BaseColor backgroundColor, BaseColor foreColor, object rawData, int columnNumber, RowType pdfRowType, CellType pdfCellType, IList rowValues = null, HorizontalAlignment horizontalAlignment = HorizontalAlignment.None, DocumentFontStyle pdfFontStyle = DocumentFontStyle.None, int rotation, bool setItemTemplate = false, int colSpan = 1 ) : PdfRpt.Core.Contracts.CellAttributes
backgroundColor iTextSharp.text.BaseColor
foreColor iTextSharp.text.BaseColor
rawData object
columnNumber int
pdfRowType RowType
pdfCellType CellType
rowValues IList
horizontalAlignment HorizontalAlignment
pdfFontStyle DocumentFontStyle
rotation int
setItemTemplate bool
colSpan int
Результат PdfRpt.Core.Contracts.CellAttributes

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

Adds a new header PdfPCell to the MainTable
public AddHeaderCell ( int columnNumber, int colSpan ) : PdfRpt.Core.Contracts.CellAttributes
columnNumber int
colSpan int
Результат PdfRpt.Core.Contracts.CellAttributes

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

Adds a new PreviousPageSummary PdfPCell to the MainTable
public AddPreviousPageSummaryCell ( BaseColor backgroundColor, BaseColor foreColor, int columnNumber ) : PdfRpt.Core.Contracts.CellAttributes
backgroundColor iTextSharp.text.BaseColor
foreColor iTextSharp.text.BaseColor
columnNumber int
Результат PdfRpt.Core.Contracts.CellAttributes

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

Adds a new data PdfPCell to the MainTable
public AddRowCell ( IList rowValues, BaseColor backgroundColor, BaseColor foreColor, int columnNumber ) : PdfRpt.Core.Contracts.CellAttributes
rowValues IList
backgroundColor iTextSharp.text.BaseColor
foreColor iTextSharp.text.BaseColor
columnNumber int
Результат PdfRpt.Core.Contracts.CellAttributes

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

Adds a new row number PdfPCell to the MainTable
public AddRowNumberCell ( BaseColor backgroundColor, BaseColor foreColor, int columnNumber ) : PdfRpt.Core.Contracts.CellAttributes
backgroundColor iTextSharp.text.BaseColor
foreColor iTextSharp.text.BaseColor
columnNumber int
Результат PdfRpt.Core.Contracts.CellAttributes

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

Adds a new Summary PdfPCell to the MainTable
public AddSummaryCell ( BaseColor backgroundColor, BaseColor foreColor, int columnNumber, CellType pdfCellType, RowType pdfRowType ) : PdfRpt.Core.Contracts.CellAttributes
backgroundColor iTextSharp.text.BaseColor
foreColor iTextSharp.text.BaseColor
columnNumber int
pdfCellType CellType
pdfRowType RowType
Результат PdfRpt.Core.Contracts.CellAttributes

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

Adds a new Summary PdfPCell to the MainTable
public AddSummaryCell ( BaseColor backgroundColor, BaseColor foreColor, object rawData, int columnNumber, RowType pdfRowType, CellType pdfCellType ) : PdfRpt.Core.Contracts.CellAttributes
backgroundColor iTextSharp.text.BaseColor
foreColor iTextSharp.text.BaseColor
rawData object
columnNumber int
pdfRowType RowType
pdfCellType CellType
Результат PdfRpt.Core.Contracts.CellAttributes