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

Groups rendering helper class
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
applySpacingThreshold void
areEqual bool
createMainTable void
getCurrentCellValue object
initMainTable void
initRowsManager void
initTableCellHelper void
renderGroupHeader void
reset void
setSetTotalWidths void
showOneGroupPerPage void
tryFitToContent void
updateLastRowValues void

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

Метод Описание
AddAllGroupsSummary ( ) : void

Creates a new summary row table to display summary of the all of the available groups

GroupsManager ( ) : System

Groups rendering helper class

ModifyRowData ( IList rowData ) : void

Applies ShowGroupingPropertiesInAllRows if it's necessary.

ShouldStartNewGroup ( IList rowCellsData ) : bool

Should we start a new group based on the current row's data?

StartNewGroup ( IEnumerable groupHeaderRowCellsData, bool shouldCheckOneGroupPerPage ) : void

Starts a new group by creating a new table and initializing its properties.

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

Метод Описание
applySpacingThreshold ( ) : void
areEqual ( object lastRowCellValue, object currentCellValue, string property ) : bool
createMainTable ( ) : void
getCurrentCellValue ( IEnumerable row, string property ) : object
initMainTable ( ) : void
initRowsManager ( ) : void
initTableCellHelper ( ) : void
renderGroupHeader ( IEnumerable row ) : void
reset ( ) : void
setSetTotalWidths ( float mainTableAbsoluteWidths ) : void
showOneGroupPerPage ( ) : void
tryFitToContent ( ) : void
updateLastRowValues ( IList row ) : void

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

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

Creates a new summary row table to display summary of the all of the available groups
public AddAllGroupsSummary ( ) : void
Результат void

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

Groups rendering helper class
public GroupsManager ( ) : System
Результат System

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

Applies ShowGroupingPropertiesInAllRows if it's necessary.
public ModifyRowData ( IList rowData ) : void
rowData IList row's data
Результат void

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

Should we start a new group based on the current row's data?
public ShouldStartNewGroup ( IList rowCellsData ) : bool
rowCellsData IList Current row's data
Результат bool

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

Starts a new group by creating a new table and initializing its properties.
public StartNewGroup ( IEnumerable groupHeaderRowCellsData, bool shouldCheckOneGroupPerPage ) : void
groupHeaderRowCellsData IEnumerable New group's header row data
shouldCheckOneGroupPerPage bool Do we need a new page again?
Результат void