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

java.lang.Object
  extended by 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.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Marc Johnson (marc_johnson27591@hotmail.com)

Field Summary
static int PRINT_ORIENTATION_LANDSCAPE
           
static int PRINT_ORIENTATION_PORTRAIT
           
 
Method Summary
static NumericResult extractPrintOrientation(String value)
          convert a string into a NumericResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Method Detail

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-2010 The Apache Software Foundation. All Rights Reserved.