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

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

public class PrintUnits
extends java.lang.Object

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

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(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_UNITS_CM

public static final int PRINT_UNITS_CM

PRINT_UNITS_IN

public static final int PRINT_UNITS_IN

PRINT_UNITS_MM

public static final int PRINT_UNITS_MM

PRINT_UNITS_POINTS

public static final int PRINT_UNITS_POINTS
Method Detail

extractPrintUnits

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