diff src/java/de/intevation/mxd/reader/FillSymbolReader.java @ 251:6b80e46b8f38

Added picture symbol support to the converter.
author raimund renkert <raimund.renkert@intevation.de>
date Fri, 12 Aug 2011 16:08:57 +0200
parents df4e0946ef02
children 10e0aa283217
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/FillSymbolReader.java	Fri Aug 12 09:15:34 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/FillSymbolReader.java	Fri Aug 12 16:08:57 2011 +0200
@@ -31,6 +31,7 @@
 import com.esri.arcgis.display.SimpleFillSymbol;
 import com.esri.arcgis.display.MarkerFillSymbol;
 import com.esri.arcgis.display.LineFillSymbol;
+import com.esri.arcgis.display.PictureFillSymbol;
 
 /**
  * Wrapper for fill symbol reader.
@@ -107,6 +108,9 @@
                 else if(symbol instanceof LineFillSymbol) {
                     sreader = new LineFillSymbolReader(symbol);
                 }
+                else if(symbol instanceof PictureFillSymbol) {
+                    sreader = new PictureFillSymbolReader(symbol);
+                }
                 else {
                     logger.debug("The reader for type " +
                                  symbol.getClass().toString() +
@@ -135,6 +139,9 @@
                 else if(fillSymbol instanceof LineFillSymbol) {
                     sreader = new LineFillSymbolReader(fillSymbol);
                 }
+                else if(fillSymbol instanceof PictureFillSymbol) {
+                    sreader = new PictureFillSymbolReader(fillSymbol);
+                }
                 else {
                     logger.debug("The reader for type " +
                                  fillSymbol.getClass().toString() +
@@ -189,7 +196,8 @@
         if(sym instanceof SimpleFillSymbol ||
            sym instanceof MarkerFillSymbol ||
            sym instanceof MultiLayerFillSymbol ||
-           sym instanceof LineFillSymbol) {
+           sym instanceof LineFillSymbol ||
+           sym instanceof PictureFillSymbol) {
             return true;
         }
         else {
@@ -206,7 +214,8 @@
         if(sym instanceof SimpleFillSymbol ||
            sym instanceof MarkerFillSymbol ||
            sym instanceof MultiLayerFillSymbol ||
-           sym instanceof LineFillSymbol) {
+           sym instanceof LineFillSymbol ||
+           sym instanceof PictureFillSymbol) {
             return true;
         }
         else {
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)