Skip to content

Commit e8ed911

Browse files
committed
Update the documentation and add the PDF version of the documentation
1 parent 76ffe3b commit e8ed911

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Docs/Tutorial.docx

-26.5 KB
Binary file not shown.

Docs/Tutorial.pdf

530 KB
Binary file not shown.

ExcelReportGenerator.Tests/Rendering/Panels/ExcelPanels/ExcelDataSourcePanelTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public void TestGroupResultVertical_WithoutGroupingBlankValues()
294294
Substitute.For<ITemplateProcessor>())
295295
{
296296
GroupBy = "1,2, 3 , 4,5,6",
297-
GroupBlankValues = false
297+
GroupBlankCells = false
298298
};
299299

300300
var method = panel.GetType().GetMethod("GroupResult", BindingFlags.Instance | BindingFlags.NonPublic);
@@ -488,7 +488,7 @@ public void TestGroupResultHorizontal_WithoutGroupingBlankValues()
488488
Substitute.For<ITemplateProcessor>())
489489
{
490490
GroupBy = "1,2, 3 , 4,5,6",
491-
GroupBlankValues = false,
491+
GroupBlankCells = false,
492492
Type = PanelType.Horizontal
493493
};
494494

ExcelReportGenerator/Rendering/Panels/ExcelPanels/ExcelDataSourcePanel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public ExcelDataSourcePanel(object data, IXLNamedRange namedRange, object report
3838
public string GroupBy { get; set; }
3939

4040
[ExternalProperty]
41-
public bool GroupBlankValues { get; set; } = true;
41+
public bool GroupBlankCells { get; set; } = true;
4242

4343
[ExternalProperty]
4444
public string BeforeDataItemRenderMethodName { get; set; }
@@ -180,7 +180,7 @@ private void GroupCellsVertical(IXLRange range, int[] groupColNumbers)
180180

181181
void MergeCellsWithSameValue(int rowNumber)
182182
{
183-
if (!previousResult.StartCellValue.IsBlank || GroupBlankValues)
183+
if (!previousResult.StartCellValue.IsBlank || GroupBlankCells)
184184
{
185185
range.Range(previousResult.StartRowNum, colNum, rowNumber, colNum).Merge();
186186
}
@@ -221,7 +221,7 @@ private void GroupCellsHorizontal(IXLRange range, int[] groupRowNumbers)
221221

222222
void MergeCellsWithSameValue(int columnNum)
223223
{
224-
if (!previousResult.StartCellValue.IsBlank || GroupBlankValues)
224+
if (!previousResult.StartCellValue.IsBlank || GroupBlankCells)
225225
{
226226
range.Range(rowNum, previousResult.StartColNum, rowNum, columnNum).Merge();
227227
}

0 commit comments

Comments
 (0)