changeset 3619:1548935582bc

Add logo settings to cross section chartsettings. flys-artifacts/trunk@5295 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 29 Aug 2012 14:32:00 +0000
parents b7867c03760a
children 1cd6114603d9
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Wed Aug 29 07:58:08 2012 +0000
+++ b/flys-artifacts/ChangeLog	Wed Aug 29 14:32:00 2012 +0000
@@ -1,3 +1,8 @@
+2012-08-29	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	* src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
+	  Add Logo settings to CrossSection ChartSettings.
+
 2012-08-29	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	Split logo-placement property in two, one for horizontal, one for
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java	Wed Aug 29 07:58:08 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java	Wed Aug 29 14:32:00 2012 +0000
@@ -412,6 +412,8 @@
     /**
      * Creates a new <i>ChartSection</i>.
      *
+     * Overridden to prevent inclusion of subtitle.
+     *
      * @return a new <i>ChartSection</i>.
      */
     @Override
@@ -419,6 +421,9 @@
         ChartSection chartSection = new ChartSection();
         chartSection.setTitle(getChartTitle());
         chartSection.setDisplayGrid(isGridVisible());
+        chartSection.setDisplayLogo(showLogo());
+        chartSection.setLogoVPlacement(logoVPlace());
+        chartSection.setLogoHPlacement(logoHPlace());
         return chartSection;
     }
 }

http://dive4elements.wald.intevation.org