diff flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java @ 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 dd6e25980c91
children 1d2856de489d
line wrap: on
line diff
--- 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