C# Class PdfRpt.Core.PdfTable.GroupsManager

Groups rendering helper class
Afficher le fichier Open project: VahidN/PdfReport Class Usage Examples

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

AddAllGroupsSummary() public méthode

Creates a new summary row table to display summary of the all of the available groups
public AddAllGroupsSummary ( ) : void
Résultat void

GroupsManager() public méthode

Groups rendering helper class
public GroupsManager ( ) : System
Résultat System

ModifyRowData() public méthode

Applies ShowGroupingPropertiesInAllRows if it's necessary.
public ModifyRowData ( IList rowData ) : void
rowData IList row's data
Résultat void

ShouldStartNewGroup() public méthode

Should we start a new group based on the current row's data?
public ShouldStartNewGroup ( IList rowCellsData ) : bool
rowCellsData IList Current row's data
Résultat bool

StartNewGroup() public méthode

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?
Résultat void