Added Box element, Redesigned Debug element, Added image placeholder

This commit is contained in:
Marcin Ziąbek
2021-04-18 23:11:29 +02:00
parent 950d971119
commit f77d8baa63
19 changed files with 259 additions and 68 deletions
+4 -4
View File
@@ -52,7 +52,7 @@ namespace QuestPDF.ReportSample
return new ReportSection
{
Title = TextPlaceholder.Label(),
Title = Placeholders.Label(),
Parts = Enumerable.Range(0, sectionLength).Select(x => GetRandomElement()).ToList()
};
}
@@ -74,8 +74,8 @@ namespace QuestPDF.ReportSample
{
return new ReportSectionText
{
Label = TextPlaceholder.Label(),
Text = TextPlaceholder.Paragraph()
Label = Placeholders.Label(),
Text = Placeholders.Paragraph()
};
}
@@ -113,7 +113,7 @@ namespace QuestPDF.ReportSample
{
PhotoData = Helpers.GetPhoto($"{photoId}.jpg"),
Comments = TextPlaceholder.Paragraph(),
Comments = Placeholders.Paragraph(),
Date = DateTime.Now - TimeSpan.FromDays(Helpers.Random.NextDouble() * 100),
Location = Helpers.RandomLocation(),