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

java.lang.Object
  |
  +--org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.StyleOrientation

public class StyleOrientation
extends java.lang.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.

Author:
Marc Johnson (marc_johnson27591@hotmail.com)

Constructor Summary
StyleOrientation(java.lang.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(java.lang.String value)
                 throws java.io.IOException
Create a StyleOrientation object
Parameters:
value - the string containing the style orientation data
Throws:
java.io.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-2002 Apache Software Foundation. All Rights Reserved.