Class SubReport
A subreport bound to a data alias, holding the ordered collection of sections
(page headers/footers, group headers/footers and details) that are printed for
each record of its dataset, and managing group breaks and page-count tracking.
Assembly: Reportman.Reporting.dll
Syntax
public class SubReport : ReportItem, IDisposable
Constructors
View Source
SubReport()
Declaration
Fields
View Source
Alias
Declaration
Field Value
View Source
CurrentGroupIndex
Declaration
public int CurrentGroupIndex
Field Value
View Source
CurrentGroupName
Declaration
public string CurrentGroupName
Field Value
View Source
LastRecord
Declaration
Field Value
View Source
ParentSec
Declaration
Field Value
View Source
ParentSection
Declaration
[JsonIgnore]
[JsonIgnore]
public Section ParentSection
Field Value
View Source
ParentSub
Declaration
Field Value
View Source
ParentSubReport
Declaration
[JsonIgnore]
[JsonIgnore]
public SubReport ParentSubReport
Field Value
View Source
PrintOnlyIfDataAvailable
Declaration
public bool PrintOnlyIfDataAvailable
Field Value
View Source
ReOpenOnPrint
Declaration
public bool ReOpenOnPrint
Field Value
View Source
Sections
Declaration
Field Value
Properties
View Source
DetailCount
Declaration
public int DetailCount { get; }
Property Value
View Source
FirstDetail
Declaration
public int FirstDetail { get; }
Property Value
View Source
Declaration
public int FirstPageFooter { get; }
Property Value
View Source
Declaration
public int FirstPageHeader { get; }
Property Value
View Source
GroupCount
Declaration
public int GroupCount { get; }
Property Value
View Source
LastDetail
Declaration
public int LastDetail { get; }
Property Value
View Source
Declaration
public int LastPageFooter { get; }
Property Value
View Source
Declaration
public int LastPageHeader { get; }
Property Value
View Source
Declaration
public int PageFooterCount { get; }
Property Value
View Source
Declaration
public int PageHeaderCount { get; }
Property Value
Methods
View Source
AddDetail()
Add a new detail to the subreport
Declaration
public Section AddDetail()
Returns
View Source
AddGroup(string)
Add a new group to the subreport
Declaration
public Section AddGroup(string groupname)
Parameters
| Type |
Name |
Description |
| string |
groupname |
|
Returns
View Source
Add a new page footer to the subreport
Declaration
public Section AddPageFooter()
Returns
View Source
Add a new page header to the subreport
Declaration
public Section AddPageHeader()
Returns
View Source
DeleteSection(Section)
Delete a section from the report
Declaration
public void DeleteSection(Section sec)
Parameters
View Source
FirstSectionThatIs(SectionType)
Declaration
public int FirstSectionThatIs(SectionType atype)
Parameters
Returns
View Source
GetClassName()
Internal function to determine the object type name
Declaration
protected override string GetClassName()
Returns
| Type |
Description |
| string |
Object type name
|
Overrides
View Source
GetDisplayName(bool)
Descriptive name to display to the user
Declaration
public string GetDisplayName(bool includedataset)
Parameters
| Type |
Name |
Description |
| bool |
includedataset |
|
Returns
View Source
GroupChanged()
Declaration
public int GroupChanged()
Returns
View Source
GroupIndex(string)
Declaration
public int GroupIndex(string groupname)
Parameters
| Type |
Name |
Description |
| string |
groupname |
|
Returns
View Source
IndexOfGroup(string)
Declaration
public int IndexOfGroup(string groupname)
Parameters
| Type |
Name |
Description |
| string |
groupname |
|
Returns
View Source
InitGroups(int)
Declaration
public void InitGroups(int groupindex)
Parameters
| Type |
Name |
Description |
| int |
groupindex |
|
View Source
IsDataAvailable()
Declaration
public bool IsDataAvailable()
Returns
View Source
LastSectionThatIs(SectionType)
Declaration
public int LastSectionThatIs(SectionType atype)
Parameters
Returns
View Source
NumberOfSectionsOfType(SectionType)
Declaration
public int NumberOfSectionsOfType(SectionType atype)
Parameters
Returns
View Source
SubReportChanged(SubReportEvent, string)
Declaration
public void SubReportChanged(SubReportEvent aevent, string newgroup)
Parameters
Implements