Commit 555cbb58 authored by Riegel's avatar Riegel
Browse files

Fix: Add CityFurniture to PDF report output

parent a6dccd24
...@@ -341,6 +341,17 @@ public class PdfStreamReporter implements StreamReporter { ...@@ -341,6 +341,17 @@ public class PdfStreamReporter implements StreamReporter {
} }
private void reportCityFurniture(CityObject co, boolean hasError) { 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) { private void reportGenericCityObject(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