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

java.lang.Object
  extended by org.apache.poi.hssf.record.formula.Ptg
      extended by org.apache.poi.hssf.record.formula.ArrayPtg
          extended by org.apache.poi.hssf.record.formula.ArrayPtgV

public class ArrayPtgV
extends ArrayPtg

ArrayPtg - handles arrays The ArrayPtg is a little wierd, the size of the Ptg when parsing initially only includes the Ptg sid and the reserved bytes. The next Ptg in the expression then follows. It is only after the "size" of all the Ptgs is met, that the ArrayPtg data is actually held after this. So Ptg.createParsedExpression keeps track of the number of ArrayPtg elements and need to parse the data upto the FORMULA record size.

Author:
Jason Height (jheight at chariot dot net dot au)

Field Summary
static byte sid
           
 
Fields inherited from class org.apache.poi.hssf.record.formula.ArrayPtg
field_1_reserved, field_2_reserved, field_3_reserved, field_4_reserved, field_5_reserved, field_6_reserved, field_7_reserved, token_1_columns, token_2_rows, token_3_arrayValues
 
Fields inherited from class org.apache.poi.hssf.record.formula.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
 
Constructor Summary
protected ArrayPtgV()
           
  ArrayPtgV(RecordInputStream in)
           
 
Method Summary
 java.lang.Object clone()
           
 
Methods inherited from class org.apache.poi.hssf.record.formula.ArrayPtg
getColumnCount, getDefaultOperandClass, getRowCount, getSize, readTokenValues, setColumnCount, setRowCount, toFormulaString, toString, writeBytes, writeTokenValueBytes
 
Methods inherited from class org.apache.poi.hssf.record.formula.Ptg
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sid

public static final byte sid
See Also:
Constant Field Values
Constructor Detail

ArrayPtgV

protected ArrayPtgV()

ArrayPtgV

public ArrayPtgV(RecordInputStream in)
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class ArrayPtg


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.