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
555cbb58
Commit
555cbb58
authored
Jan 21, 2025
by
Riegel
Browse files
Fix: Add CityFurniture to PDF report output
parent
a6dccd24
Changes
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/reporting/pdf/PdfStreamReporter.java
View file @
555cbb58
...
...
@@ -341,6 +341,17 @@ public class PdfStreamReporter implements StreamReporter {
}
private
void
reportCityFurniture
(
CityObject
co
,
boolean
hasError
)
{
if
(
cityFurniture
==
null
)
{
cityFurniture
=
vr
.
createSubSection
(
"CityFurniture"
);
}
Section
cfSection
=
cityFurniture
.
createSubSection
(
co
.
getGmlId
().
getGmlString
());
sectionMap
.
put
(
co
.
getGmlId
().
getGmlString
(),
cfSection
);
if
(
hasError
)
{
cfSection
.
setHeadlineColor
(
ERROR_COLOR
);
}
else
{
cfSection
.
setHeadlineColor
(
OK_COLOR
);
}
writeErrorForCityObject
(
co
,
cfSection
);
}
private
void
reportGenericCityObject
(
CityObject
co
,
boolean
hasError
)
{
...
...
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