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

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

public class PrintUnits
extends Object

Print units -- encapsulation of the strings representing them, and a simpler way to deal with them.GTK type codes

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

Field Summary
static int PRINT_UNITS_CM
           
static int PRINT_UNITS_IN
           
static int PRINT_UNITS_MM
           
static int PRINT_UNITS_POINTS
           
 
Method Summary
static NumericResult extractPrintUnits(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_UNITS_CM

public static final int PRINT_UNITS_CM
See Also:
Constant Field Values

PRINT_UNITS_IN

public static final int PRINT_UNITS_IN
See Also:
Constant Field Values

PRINT_UNITS_MM

public static final int PRINT_UNITS_MM
See Also:
Constant Field Values

PRINT_UNITS_POINTS

public static final int PRINT_UNITS_POINTS
See Also:
Constant Field Values
Method Detail

extractPrintUnits

public static NumericResult extractPrintUnits(String value)
convert a string into a NumericResult

Parameters:
value - the string describing the print units
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.