C# Class PdfRpt.Core.PdfTable.GroupsManager

Groups rendering helper class
显示文件 Open project: VahidN/PdfReport Class Usage Examples

Private Properties

Property 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

Public Methods

Method 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

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

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

GroupsManager() public method

Groups rendering helper class
public GroupsManager ( ) : System
return System

ModifyRowData() public method

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

ShouldStartNewGroup() public method

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

StartNewGroup() public method

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?
return void