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 java.lang.Object

Print orientation -- encapsulation of the strings representing the print orientation, and a simpler way to deal with them.

Author:
Marc Johnson (marc_johnson27591@hotmail.com)

Field Summary
static int PRINT_ORIENTATION_LANDSCAPE
           
static int PRINT_ORIENTATION_PORTRAIT
           
 
Method Summary
static NumericResult extractPrintOrientation(java.lang.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

PRINT_ORIENTATION_PORTRAIT

public static final int PRINT_ORIENTATION_PORTRAIT
Method Detail

extractPrintOrientation

public static NumericResult extractPrintOrientation(java.lang.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-2002 Apache Software Foundation. All Rights Reserved.