comparison flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java @ 3251:aeeb9192e395

W(t) chart point label rotation working flys-artifacts/trunk@4884 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Christian Lins <christian.lins@intevation.de>
date Fri, 06 Jul 2012 11:12:55 +0000
parents 1dca41dba135
children 9a4707ec7800
comparison
equal deleted inserted replaced
3250:7613cfb037f5 3251:aeeb9192e395
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));
426 if ("true".equals(o)) { 425 if ("true".equals(o)) {
427 return "horizontal"; 426 return "horizontal";
428 } 427 }
429 else { 428 else {
430 return "vertical"; 429 return "vertical";

http://dive4elements.wald.intevation.org