changeset 84:2362609ffa66

Added TODOs for picture symbols.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 27 May 2011 14:15:14 +0200
parents 59e06c405a9a
children 04ea8a4972ff
files ChangeLog src/java/de/intevation/mxd/reader/PictureLineSymbolReader.java src/java/de/intevation/mxd/reader/PictureMarkerSymbolReader.java
diffstat 3 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri May 27 14:09:10 2011 +0200
+++ b/ChangeLog	Fri May 27 14:15:14 2011 +0200
@@ -1,3 +1,9 @@
+2011-05-27  Raimund Renkert  <raimund.renkert@intevation.de>
+
+	* src/java/de/intevation/mxd/reader/PictureLineSymbolReader.java,
+	  src/java/de/intevation/mxd/reader/PictureMarkerSymbolReader.java:
+	  Added TODOs for picture symbols.
+
 2011-05-27  Raimund Renkert  <raimund.renkert@intevation.de>
 
 	* src/java/de/intevation/mxd/reader/AbstractSymbolReader.java,
--- a/src/java/de/intevation/mxd/reader/PictureLineSymbolReader.java	Fri May 27 14:09:10 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/PictureLineSymbolReader.java	Fri May 27 14:15:14 2011 +0200
@@ -62,6 +62,8 @@
      */
     public Element read()
     throws Exception {
+        //TODO Read the picture from mxd and write it as base64 string to the
+        //     XML Element.
         logger.debug("read()");
         Element symbolElement = util.addSymbol(parent);
 
@@ -95,11 +97,6 @@
             String.valueOf(symbol.getYScale()));
 
         symbolElement.setAttribute("width", String.valueOf(symbol.getWidth()));
-
-        Picture pic = symbol.getPicture();
-        Image im = pic.toImage();
-        //TODO Save the image.
-
         return symbolElement;
     }
 }
--- a/src/java/de/intevation/mxd/reader/PictureMarkerSymbolReader.java	Fri May 27 14:09:10 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/PictureMarkerSymbolReader.java	Fri May 27 14:15:14 2011 +0200
@@ -57,6 +57,8 @@
      */
     public Element read()
     throws Exception {
+        //TODO Read the picture from mxd and write it as base64 string to the
+        //     XML Element.
         logger.debug("read()");
         Element symbolElement = util.addSymbol(parent);
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)