Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java @ 3242:1dca41dba135
Move annotation code to base class ChartGenerator
flys-artifacts/trunk@4874 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Wed, 04 Jul 2012 22:28:44 +0000 |
parents | bbb488b145ce |
children | aeeb9192e395 |
comparison
equal
deleted
inserted
replaced
3241:da3e58694cae | 3242:1dca41dba135 |
---|---|
420 * Parses the textorientation, defaults to 'vertical'. | 420 * Parses the textorientation, defaults to 'vertical'. |
421 * @param theme The theme. | 421 * @param theme The theme. |
422 */ | 422 */ |
423 public static String parseTextOrientation(Document theme) { | 423 public static String parseTextOrientation(Document theme) { |
424 String o = XMLUtils.xpathString(theme, XPATH_TEXT_ORIENTATION, null); | 424 String o = XMLUtils.xpathString(theme, XPATH_TEXT_ORIENTATION, null); |
425 //logger.debug("parseTextOrientation: " + o + " xml: " + XMLUtils.toString(theme)); | |
425 if ("true".equals(o)) { | 426 if ("true".equals(o)) { |
426 return "horizontal"; | 427 return "horizontal"; |
427 } | 428 } |
428 else { | 429 else { |
429 return "vertical"; | 430 return "vertical"; |