C# Class PdfRpt.Core.PdfTable.TableCellHelper

Helps rendering of the main table's cells
显示文件 Open project: VahidN/PdfReport Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
checkProperty ( int columnNumber, ColumnAttributes col ) : void

Method Details

AddExtraHeaderCell() public method

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
return PdfRpt.Core.Contracts.CellAttributes

AddGeneralCell() public method

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
return PdfRpt.Core.Contracts.CellAttributes

AddHeaderCell() public method

Adds a new header PdfPCell to the MainTable
public AddHeaderCell ( int columnNumber, int colSpan ) : PdfRpt.Core.Contracts.CellAttributes
columnNumber int
colSpan int
return PdfRpt.Core.Contracts.CellAttributes

AddPreviousPageSummaryCell() public method

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
return PdfRpt.Core.Contracts.CellAttributes

AddRowCell() public method

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
return PdfRpt.Core.Contracts.CellAttributes

AddRowNumberCell() public method

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
return PdfRpt.Core.Contracts.CellAttributes

AddSummaryCell() public method

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
return PdfRpt.Core.Contracts.CellAttributes

AddSummaryCell() public method

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
return PdfRpt.Core.Contracts.CellAttributes