FileDocCategorySizeDatePackage
ArrayPtgA.javaAPI DocApache Poi 3.0.12589Mon Jan 01 12:39:40 GMT 2007org.apache.poi.hssf.record.formula

ArrayPtgA

public class ArrayPtgA extends ArrayPtg
ArrayPtgA - handles arrays
author
Jason Height (jheight at chariot dot net dot au)

Fields Summary
public static final byte
sid
Constructors Summary
protected ArrayPtgA()


      
    	super();
      //Required for clone methods
    
public ArrayPtgA(RecordInputStream in)

    	super(in);
    
Methods Summary
public java.lang.Objectclone()

      ArrayPtgA ptg = new ArrayPtgA();
      ptg.field_1_reserved = field_1_reserved;
      ptg.field_2_reserved = field_2_reserved;
      ptg.field_3_reserved = field_3_reserved;
      ptg.field_4_reserved = field_4_reserved;
      ptg.field_5_reserved = field_5_reserved;
      ptg.field_6_reserved = field_6_reserved;
      ptg.field_7_reserved = field_7_reserved;
      
      ptg.token_1_columns = token_1_columns;
      ptg.token_2_rows = token_2_rows;
      ptg.token_3_arrayValues = new Object[getColumnCount()][getRowCount()];
      for (int x=0;x<getColumnCount();x++) {
      	for (int y=0;y<getRowCount();y++) {
      		ptg.token_3_arrayValues[x][y] = token_3_arrayValues[x][y];
      	}
      }      
      ptg.setClass(ptgClass);
      return ptg;