Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
1f568610
Commit
1f568610
authored
Jan 21, 2025
by
Riegel
Browse files
Fix: Add GenericCityObjects to PDF report output
parent
555cbb58
Changes
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/reporting/pdf/PdfStreamReporter.java
View file @
1f568610
...
@@ -355,6 +355,17 @@ public class PdfStreamReporter implements StreamReporter {
...
@@ -355,6 +355,17 @@ public class PdfStreamReporter implements StreamReporter {
}
}
private
void
reportGenericCityObject
(
CityObject
co
,
boolean
hasError
)
{
private
void
reportGenericCityObject
(
CityObject
co
,
boolean
hasError
)
{
if
(
genericCityObject
==
null
)
{
genericCityObject
=
vr
.
createSubSection
(
"GenericCityObject"
);
}
Section
gcSection
=
genericCityObject
.
createSubSection
(
co
.
getGmlId
().
getGmlString
());
sectionMap
.
put
(
co
.
getGmlId
().
getGmlString
(),
gcSection
);
if
(
hasError
)
{
gcSection
.
setHeadlineColor
(
ERROR_COLOR
);
}
else
{
gcSection
.
setHeadlineColor
(
OK_COLOR
);
}
writeErrorForCityObject
(
co
,
gcSection
);
}
}
private
void
writeCheckResultForInstallation
(
Installation
bi
,
Section
root
)
{
private
void
writeCheckResultForInstallation
(
Installation
bi
,
Section
root
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment