Commit 1f568610 authored by Riegel's avatar Riegel
Browse files

Fix: Add GenericCityObjects 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
......@@ -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) {
......
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