C# Класс PdfRpt.Core.Helper.TableCellDefinitionsExt

PdfCellAttributes helper class.
Показать файл Открыть проект

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

Метод Описание
ApplyStyles ( this pdfPCell, PdfRpt.Core.Contracts.CellAttributes pdfRptTableCellDefinition ) : void

Applies PdfCellAttributes to a PdfPCell.

CreateSafePdfPCell ( this pdfRptTableCellDefinition, IColumnItemsTemplate defaultItemTemplate ) : PdfPCell

Create a PdfPCell based on the PdfCell Attributes.

MapBasicPropertiesTo ( this fromPdfCellAttributes, CellBasicProperties toPdfCellAttributes ) : void

Maps ItemTemplate.BasicProperties to pdfRptTableCellDefinition.BasicProperties.

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

Метод Описание
applyTemplateColors ( CellBasicProperties from, CellBasicProperties to ) : void
mapBasicProperties ( PdfRpt.Core.Contracts.CellAttributes pdfRptTableCellDefinition ) : void
runConditionalFormatFormula ( PdfRpt.Core.Contracts.CellAttributes pdfRptTableCellDefinition ) : void
runOnItemsTemplate ( PdfRpt.Core.Contracts.CellAttributes pdfRptTableCellDefinition, IColumnItemsTemplate defaultItemTemplate ) : PdfPCell

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

ApplyStyles() публичный статический Метод

Applies PdfCellAttributes to a PdfPCell.
public static ApplyStyles ( this pdfPCell, PdfRpt.Core.Contracts.CellAttributes pdfRptTableCellDefinition ) : void
pdfPCell this A PdfPCell.
pdfRptTableCellDefinition PdfRpt.Core.Contracts.CellAttributes PdfCell Attributes
Результат void

CreateSafePdfPCell() публичный статический Метод

Create a PdfPCell based on the PdfCell Attributes.
public static CreateSafePdfPCell ( this pdfRptTableCellDefinition, IColumnItemsTemplate defaultItemTemplate ) : PdfPCell
pdfRptTableCellDefinition this PdfCell Attributes
defaultItemTemplate IColumnItemsTemplate Default ItemTemplate
Результат iTextSharp.text.pdf.PdfPCell

MapBasicPropertiesTo() публичный статический Метод

Maps ItemTemplate.BasicProperties to pdfRptTableCellDefinition.BasicProperties.
public static MapBasicPropertiesTo ( this fromPdfCellAttributes, CellBasicProperties toPdfCellAttributes ) : void
fromPdfCellAttributes this From PdfCell Attributes
toPdfCellAttributes PdfRpt.Core.Contracts.CellBasicProperties To PdfCell Attributes
Результат void