-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pdf creation, fluent/chained, support for empty reports
Add PDF export test, update report generation methods Added a new test method `NoDataSetPdfDiskExport` in `ManualFluentChainedReportDefinitionTest.cs` to verify PDF export functionality without a dataset. Introduced `SmallTestData` method for creating sample reports. Modified `GenerateTestData` to use `WithReportTable` instead of `WithReportItems`. Updated `Body` class to include `WithReportText` for adding textboxes and changed `WithReportItems` to `WithReportTable`. Enhanced `ReportItemsBody` class to support multiple textboxes and custom report items. Added `BackgroundColor` property to `Style` class for setting background colors of report elements.
- Loading branch information
1 parent
f237090
commit 0c202e7
Showing
4 changed files
with
148 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
using System.Xml.Serialization; | ||
using System.Collections.Generic; | ||
using System.Xml.Serialization; | ||
|
||
|
||
namespace Majorsilence.Reporting.RdlCreator | ||
{ | ||
public class ReportItemsBody | ||
{ | ||
|
||
[XmlElement(ElementName = "Table")] | ||
public Table Table { get; set; } | ||
|
||
public ReportItemsBody WithTable(Table table) | ||
{ | ||
this.Table = table; | ||
return this; | ||
} | ||
[XmlElement("Textbox", typeof(Textbox))] | ||
public List<Textbox> Text { get; set; } | ||
|
||
[XmlElement("CustomReportItem", typeof(CustomReportItems))] | ||
public List<CustomReportItems> CustomReportItems { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters