|
|
|
@ -62,7 +62,6 @@ namespace ICSharpCode.Reporting.PageBuilder
@@ -62,7 +62,6 @@ namespace ICSharpCode.Reporting.PageBuilder
|
|
|
|
|
|
|
|
|
|
void BuildDetail(){ |
|
|
|
|
CurrentSection = ReportModel.DetailSection; |
|
|
|
|
if(DataSourceContainsData()) { |
|
|
|
|
CurrentLocation = DetailStart; |
|
|
|
|
var converter = new ContainerConverter(DetailStart); |
|
|
|
|
if (IsGrouped()) { |
|
|
|
@ -71,7 +70,6 @@ namespace ICSharpCode.Reporting.PageBuilder
@@ -71,7 +70,6 @@ namespace ICSharpCode.Reporting.PageBuilder
|
|
|
|
|
BuildSortedDetails(converter,DetailStart); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
void NewMethod(IContainerConverter converter, ref Point pagePosition, ref Point sectionPosition, IGrouping<object, object> grouping, ExportContainer sectionContainer) |
|
|
|
@ -235,18 +233,8 @@ namespace ICSharpCode.Reporting.PageBuilder
@@ -235,18 +233,8 @@ namespace ICSharpCode.Reporting.PageBuilder
|
|
|
|
|
|
|
|
|
|
void CreateDataSource(){ |
|
|
|
|
DataSource = new CollectionDataSource(List, ReportModel.ReportSettings); |
|
|
|
|
if (DataSourceContainsData()) { |
|
|
|
|
DataSource.Bind(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool DataSourceContainsData () { |
|
|
|
|
if (DataSource.Count > 0) { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static void AdjustLocationInSection(Point sectionPosition,List<IExportColumn> convertedItems){ |
|
|
|
|