org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements
Class PrintOrientation
java.lang.Object
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.PrintOrientation
public class PrintOrientation
- extends Object
Print orientation -- encapsulation of the strings representing the
print orientation, and a simpler way to deal with them.
- Version:
- CVS $Id: PrintOrientation.java 433543 2006-08-22 06:22:54Z crossley $
- Author:
- Marc Johnson (marc_johnson27591@hotmail.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRINT_ORIENTATION_LANDSCAPE
public static final int PRINT_ORIENTATION_LANDSCAPE
- See Also:
- Constant Field Values
PRINT_ORIENTATION_PORTRAIT
public static final int PRINT_ORIENTATION_PORTRAIT
- See Also:
- Constant Field Values
extractPrintOrientation
public static NumericResult extractPrintOrientation(String value)
- convert a string into a NumericResult
- Parameters:
value
- the string describing the print orientation
- Returns:
- a NumericResult containing either one of the public enumeration
values, or an appropriate IOException
Copyright ? 1999-2007 The Apache Software Foundation. All Rights Reserved.