| java.lang.Object org.apache.poi.hssf.record.formula.Ptg org.apache.poi.hssf.record.formula.ArrayPtg
All known Subclasses: org.apache.poi.hssf.record.formula.ArrayPtgV, org.apache.poi.hssf.record.formula.ArrayPtgA,
ArrayPtg | public class ArrayPtg extends Ptg (Code) | | 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_1_reserved | protected byte field_1_reserved(Code) | | |
field_2_reserved | protected byte field_2_reserved(Code) | | |
field_3_reserved | protected byte field_3_reserved(Code) | | |
field_4_reserved | protected byte field_4_reserved(Code) | | |
field_5_reserved | protected byte field_5_reserved(Code) | | |
field_6_reserved | protected byte field_6_reserved(Code) | | |
field_7_reserved | protected byte field_7_reserved(Code) | | |
sid | final public static byte sid(Code) | | |
token_1_columns | protected short token_1_columns(Code) | | |
token_2_rows | protected short token_2_rows(Code) | | |
token_3_arrayValues | protected Object[][] token_3_arrayValues(Code) | | |
ArrayPtg | protected ArrayPtg()(Code) | | |
getColumnCount | public short getColumnCount()(Code) | | |
getDefaultOperandClass | public byte getDefaultOperandClass()(Code) | | |
getRowCount | public short getRowCount()(Code) | | |
getSize | public int getSize()(Code) | | This size includes the size of the array Ptg plus the Array Ptg Token value size
|
readTokenValues | public void readTokenValues(RecordInputStream in)(Code) | | Read in the actual token (array) values. This occurs AFTER the last
Ptg in the expression.
|
setColumnCount | public void setColumnCount(short col)(Code) | | |
setRowCount | public void setRowCount(short row)(Code) | | |
writeBytes | public void writeBytes(byte[] array, int offset)(Code) | | |
writeTokenValueBytes | public int writeTokenValueBytes(byte[] array, int offset)(Code) | | |
|
|