Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
1 month ago
by
Riegel
Browse files
Options
Download
Email Patches
Plain Diff
Fix: Add GenericCityObjects to PDF report output
parent
555cbb58
master
dev
dev_gui_features_zip_loading
archive/dev_gui_features_zip_loading
2 merge requests
!28
Version 3.17.0 Release
,
!26
Add ZIP-archive support
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/reporting/pdf/PdfStreamReporter.java
+11
-0
...tuttgart/citydoctor2/reporting/pdf/PdfStreamReporter.java
with
11 additions
and
0 deletions
+11
-0
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/reporting/pdf/PdfStreamReporter.java
+
11
-
0
View file @
1f568610
...
...
@@ -355,6 +355,17 @@ public class PdfStreamReporter implements StreamReporter {
}
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
)
{
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets