Save This Page
Home » poi-src-3.2-FINAL-20081019 » org.apache » poi » hssf » record » formula » [javadoc | source]
org.apache.poi.hssf.record.formula
abstract public class: AreaPtgBase [javadoc | source]
java.lang.Object
   org.apache.poi.hssf.record.formula.Ptg
      org.apache.poi.hssf.record.formula.OperandPtg
         org.apache.poi.hssf.record.formula.AreaPtgBase

All Implemented Interfaces:
    AreaI, Cloneable

Direct Known Subclasses:
    Area2DPtgBase, AreaNPtg, AreaPtg

Specifies a rectangular area of cells A1:A4 for instance.
Field Summary
public static final  short sid     
Fields inherited from org.apache.poi.hssf.record.formula.Ptg:
CLASS_REF,  CLASS_VALUE,  CLASS_ARRAY
Constructor:
 protected AreaPtgBase(String arearef) 
 protected AreaPtgBase(RecordInputStream in) 
 protected AreaPtgBase(int firstRow,
    int lastRow,
    int firstColumn,
    int lastColumn,
    boolean firstRowRelative,
    boolean lastRowRelative,
    boolean firstColRelative,
    boolean lastColRelative) 
Method from org.apache.poi.hssf.record.formula.AreaPtgBase Summary:
getDefaultOperandClass,   getFirstColumn,   getFirstColumnRaw,   getFirstRow,   getLastColumn,   getLastColumnRaw,   getLastRow,   getSid,   getSize,   isFirstColRelative,   isFirstRowRelative,   isLastColRelative,   isLastRowRelative,   notImplemented,   setFirstColRelative,   setFirstColumn,   setFirstColumnRaw,   setFirstRow,   setFirstRowRelative,   setLastColRelative,   setLastColumn,   setLastColumnRaw,   setLastRow,   setLastRowRelative,   toFormulaString,   toString,   writeBytes
Methods from org.apache.poi.hssf.record.formula.OperandPtg:
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.AreaPtgBase Detail:
 public byte getDefaultOperandClass() 
 public final int getFirstColumn() 
 public final short getFirstColumnRaw() 
 public final int getFirstRow() 
 public final int getLastColumn() 
 public final short getLastColumnRaw() 
 public final int getLastRow() 
 abstract protected byte getSid()
 public final int getSize() 
 public final boolean isFirstColRelative() 
 public final boolean isFirstRowRelative() 
 public final boolean isLastColRelative() 
 public final boolean isLastRowRelative() 
 protected final RuntimeException notImplemented() 
    TODO - (May-2008) fix subclasses of AreaPtg 'AreaN~' which are used in shared formulas. see similar comment in ReferencePtg
 public final  void setFirstColRelative(boolean rel) 
    set whether the first column is relative
 public final  void setFirstColumn(int colIx) 
    set the first column in the area
 public final  void setFirstColumnRaw(int column) 
    set the first column irrespective of the bitmasks
 public final  void setFirstRow(int rowIx) 
    sets the first row
 public final  void setFirstRowRelative(boolean rel) 
    sets the first row to relative or not
 public final  void setLastColRelative(boolean rel) 
    set whether the last column should be relative or not
 public final  void setLastColumn(int colIx) 
    set the last column in the area
 public final  void setLastColumnRaw(short column) 
    set the last column irrespective of the bitmasks
 public final  void setLastRow(int rowIx) 
 public final  void setLastRowRelative(boolean rel) 
    set whether the last row is relative or not
 public String toFormulaString(HSSFWorkbook book) 
 public final String toString() 
 public final  void writeBytes(byte[] array,
    int offset)