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

Fix: Add CityFurniture to PDF report output

2 merge requests!28Version 3.17.0 Release,!26Add ZIP-archive support
Showing with 11 additions and 0 deletions
+11 -0
......@@ -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) {
......
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