Save This Page
Home » poi-src-3.1-FINAL-20080629 » org.apache » poi » hssf » record » formula » [javadoc | source]
org.apache.poi.hssf.record.formula
public final class: ParenthesisPtg [javadoc | source]
java.lang.Object
   org.apache.poi.hssf.record.formula.Ptg
      org.apache.poi.hssf.record.formula.ControlPtg
         org.apache.poi.hssf.record.formula.ParenthesisPtg

All Implemented Interfaces:
    Cloneable

While formula tokens are stored in RPN order and thus do not need parenthesis for precedence reasons, Parenthesis tokens ARE written to ensure that user entered parenthesis are displayed as-is on reading back Avik Sengupta <lists@aviksengupta.com> Andrew C. Oliver (acoliver at apache dot org)
Field Summary
public static final  byte sid     
public static final  ControlPtg instance     
Fields inherited from org.apache.poi.hssf.record.formula.Ptg:
CLASS_REF,  CLASS_VALUE,  CLASS_ARRAY
Method from org.apache.poi.hssf.record.formula.ParenthesisPtg Summary:
getSize,   toFormulaString,   toFormulaString,   writeBytes
Methods from org.apache.poi.hssf.record.formula.ControlPtg:
getDefaultOperandClass,   isBaseToken
Methods from org.apache.poi.hssf.record.formula.Ptg:
clone,   copy,   createParsedExpressionTokens,   createPtg,   getBytes,   getDefaultOperandClass,   getEncodedSize,   getEncodedSize,   getPtgClass,   getSize,   isBaseToken,   readTokens,   serializePtgStack,   serializePtgs,   setClass,   toDebugString,   toFormulaString,   toString,   writeBytes
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.hssf.record.formula.ParenthesisPtg Detail:
 public int getSize() 
 public String toFormulaString(HSSFWorkbook book) 
 public String toFormulaString(String[] operands) 
 public  void writeBytes(byte[] array,
    int offset)