# HG changeset patch # User gernotbelger # Date 1540218790 -7200 # Node ID c3ed5dcd5e082c5f660bf000af202a2e9e8c9964 # Parent 7f3444cbba5f049d1c34c4d40f6a7bb50a3ce73a vegzone color in pdf-export diff -r 7f3444cbba5f -r c3ed5dcd5e08 artifacts/doc/conf/jasper/templates/uinfo.vegetationzones.jrxml --- a/artifacts/doc/conf/jasper/templates/uinfo.vegetationzones.jrxml Mon Oct 22 16:26:12 2018 +0200 +++ b/artifacts/doc/conf/jasper/templates/uinfo.vegetationzones.jrxml Mon Oct 22 16:33:10 2018 +0200 @@ -1,6 +1,6 @@ - - + + @@ -56,9 +56,11 @@ + + @@ -120,7 +122,7 @@ - + @@ -130,13 +132,13 @@ - + - + @@ -144,12 +146,18 @@ + + + + + + - + - + @@ -160,7 +168,7 @@ - + @@ -171,7 +179,7 @@ - + @@ -181,6 +189,17 @@ + + + + + + + + + + + diff -r 7f3444cbba5f -r c3ed5dcd5e08 artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesCalculationResult.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesCalculationResult.java Mon Oct 22 16:26:12 2018 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesCalculationResult.java Mon Oct 22 16:33:10 2018 +0200 @@ -75,7 +75,7 @@ exportContextPDF.addJRMetadata(source, "veg_name", UInfoResultType.vegname); exportContextPDF.addJRMetadata(source, "veg_dauervon", UInfoResultType.vegdauervon); exportContextPDF.addJRMetadata(source, "veg_dauerbis", UInfoResultType.vegdauerbis); - // TODO add color to jasper-template and here + exportContextPDF.addJRMetadata(source, "color", UInfoResultType.vegzone_color); } protected String[] formatRow(final IExportContext context, final ResultRow row) {