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

java.lang.Object
  extended by org.apache.poi.hssf.record.formula.Ptg
      extended by org.apache.poi.hssf.record.formula.AreaPtg
          extended by org.apache.poi.hssf.record.formula.AreaNAPtg

public class AreaNAPtg
extends AreaPtg

Specifies a rectangular area of cells A1:A4 for instance.

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

Field Summary
static short sid
           
 
Fields inherited from class org.apache.poi.hssf.record.formula.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
 
Constructor Summary
protected AreaNAPtg()
           
  AreaNAPtg(RecordInputStream in)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getAreaPtgName()
           
 java.lang.String toFormulaString(Workbook book)
          return a string representation of this token alone
 void writeBytes(byte[] array, int offset)
          write this Ptg to a byte array
 
Methods inherited from class org.apache.poi.hssf.record.formula.AreaPtg
getDefaultOperandClass, getFirstColumn, getFirstColumnRaw, getFirstRow, getLastColumn, getLastColumnRaw, getLastRow, getSize, isFirstColRelative, isFirstRowRelative, isLastColRelative, isLastRowRelative, setFirstColRelative, setFirstColumn, setFirstColumnRaw, setFirstRow, setFirstRowRelative, setLastColRelative, setLastColumn, setLastColumnRaw, setLastRow, setLastRowRelative, toString
 
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 short sid
See Also:
Constant Field Values
Constructor Detail

AreaNAPtg

protected AreaNAPtg()

AreaNAPtg

public AreaNAPtg(RecordInputStream in)
Method Detail

writeBytes

public void writeBytes(byte[] array,
                       int offset)
Description copied from class: Ptg
write this Ptg to a byte array

Overrides:
writeBytes in class AreaPtg

getAreaPtgName

public java.lang.String getAreaPtgName()
Overrides:
getAreaPtgName in class AreaPtg

toFormulaString

public java.lang.String toFormulaString(Workbook book)
Description copied from class: Ptg
return a string representation of this token alone

Overrides:
toFormulaString in class AreaPtg

clone

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


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