org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements
Class StyleOrientation

java.lang.Object
  extended by org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.StyleOrientation

public class StyleOrientation
extends Object

Style orientation is written as an integer, and each bit in the integer specifies a particular boolean attribute. This class deals with all that information in an easily digested form.

Version:
CVS $Id: StyleOrientation.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Marc Johnson (marc_johnson27591@hotmail.com)

Constructor Summary
StyleOrientation(String value)
          Create a StyleOrientation object
 
Method Summary
 boolean isHoriz()
           
 boolean isVertHorizText()
           
 boolean isVertVertText()
           
 boolean isVertVertText2()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleOrientation

public StyleOrientation(String value)
                 throws IOException
Create a StyleOrientation object

Parameters:
value - the string containing the style orientation data
Throws:
IOException - if the data is malformed
Method Detail

isHoriz

public boolean isHoriz()
Returns:
true if horiz bit is set

isVertHorizText

public boolean isVertHorizText()
Returns:
true if vert horiz text bit is set

isVertVertText

public boolean isVertVertText()
Returns:
true if vert vert text bit is set

isVertVertText2

public boolean isVertVertText2()
Returns:
true if vert vert text2 bit is set


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.