Commit a6dccd24 authored by Riegel's avatar Riegel
Browse files

Fix: Add Tunnel to PDF report output

2 merge requests!28Version 3.17.0 Release,!26Add ZIP-archive support
Showing with 13 additions and 0 deletions
+13 -0
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment