org.apache.poi.hssf.record.formula
Class FormulaUtil

java.lang.Object
  |
  +--org.apache.poi.hssf.record.formula.FormulaUtil

public class FormulaUtil
extends java.lang.Object

Author:
andy

Constructor Summary
FormulaUtil()
          Creates new FormulaUtil
 
Method Summary
static Ptg createAdd()
           
static Ptg createDivide()
           
static Ptg createInteger(short value)
           
static Ptg createMultiply()
           
static Ptg createPower()
           
static Ptg createSubtract()
           
static Ptg[] formulaAddTwoInts(short first, short second)
           
static Ptg[] formulaDivideTwoInts(short first, short second)
           
static Ptg[] formulaMultiplyTwoInts(short first, short second)
           
static Ptg[] formulaPowerTwoInts(short first, short second)
           
static Ptg[] formulaSubtractTwoInts(short first, short second)
           
static Ptg[] parseFormula(java.lang.String formula)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormulaUtil

public FormulaUtil()
Creates new FormulaUtil
Method Detail

parseFormula

public static Ptg[] parseFormula(java.lang.String formula)

formulaAddTwoInts

public static Ptg[] formulaAddTwoInts(short first,
                                      short second)

formulaSubtractTwoInts

public static Ptg[] formulaSubtractTwoInts(short first,
                                           short second)

formulaMultiplyTwoInts

public static Ptg[] formulaMultiplyTwoInts(short first,
                                           short second)

formulaPowerTwoInts

public static Ptg[] formulaPowerTwoInts(short first,
                                        short second)

formulaDivideTwoInts

public static Ptg[] formulaDivideTwoInts(short first,
                                         short second)

createInteger

public static Ptg createInteger(short value)

createAdd

public static Ptg createAdd()

createSubtract

public static Ptg createSubtract()

createMultiply

public static Ptg createMultiply()

createDivide

public static Ptg createDivide()

createPower

public static Ptg createPower()


Copyright © 2002 Apache jakarta-poi project. All Rights Reserved.