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
a6dccd24
Commit
a6dccd24
authored
1 month ago
by
Riegel
Browse files
Options
Download
Email Patches
Plain Diff
Fix: Add Tunnel to PDF report output
parent
1a72243a
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
+13
-0
...tuttgart/citydoctor2/reporting/pdf/PdfStreamReporter.java
with
13 additions
and
0 deletions
+13
-0
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/reporting/pdf/PdfStreamReporter.java
+
13
-
0
View file @
a6dccd24
...
...
@@ -325,6 +325,19 @@ public class PdfStreamReporter implements StreamReporter {
}
private
void
reportTunnel
(
CityObject
co
,
boolean
hasError
)
{
if
(
tunnel
==
null
)
{
tunnel
=
vr
.
createSubSection
(
"Tunnel"
);
}
Section
tSection
=
tunnel
.
createSubSection
(
co
.
getGmlId
().
getGmlString
());
sectionMap
.
put
(
co
.
getGmlId
().
getGmlString
(),
tSection
);
if
(
hasError
)
{
tSection
.
setHeadlineColor
(
ERROR_COLOR
);
}
else
{
tSection
.
setHeadlineColor
(
OK_COLOR
);
}
writeErrorForCityObject
(
co
,
tSection
);
Tunnel
t
=
(
Tunnel
)
co
;
writeCheckResultForAbstractTunnel
(
t
,
tSection
);
}
private
void
reportCityFurniture
(
CityObject
co
,
boolean
hasError
)
{
...
...
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