Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.poi.ss.formula.ptg
Class AreaPtg

    java.lang.Object
      org.apache.poi.ss.formula.ptg.Ptg
          org.apache.poi.ss.formula.ptg.OperandPtg
              org.apache.poi.ss.formula.ptg.AreaPtgBase
                  org.apache.poi.ss.formula.ptg.Area2DPtgBase
                      org.apache.poi.ss.formula.ptg.AreaPtg

All Implemented Interfaces:
  java.lang.Cloneable, AreaI

    public final class AreaPtg

extends Area2DPtgBase

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

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

Nested Class Summary

Nested classes/interfaces inherited from interface org.apache.poi.ss.formula.ptg.AreaI
`AreaI.OffsetArea`

Field Summary
`static short` | `sid`

Fields inherited from class org.apache.poi.ss.formula.ptg.Ptg
`CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY`

Constructor Summary
`AreaPtg(AreaReference arearef)`
`AreaPtg(int firstRow, int lastRow, int firstColumn, int lastColumn, boolean firstRowRelative, boolean lastRowRelative, boolean firstColRelative, boolean lastColRelative)`
`AreaPtg(LittleEndianInput in)`
`AreaPtg(java.lang.String arearef)` Deprecated. use `AreaPtg(AreaReference)` instead

Method Summary
`protected byte` | `getSid()`

Methods inherited from class org.apache.poi.ss.formula.ptg.Area2DPtgBase
`getSize, toFormulaString, toString, write`

Methods inherited from class org.apache.poi.ss.formula.ptg.AreaPtgBase
`formatReferenceAsString, getDefaultOperandClass, getFirstColumn, getFirstColumnRaw, getFirstRow, getLastColumn, getLastColumnRaw, getLastRow, isFirstColRelative, isFirstRowRelative, isLastColRelative, isLastRowRelative, notImplemented, readCoordinates, setFirstColRelative, setFirstColumn, setFirstColumnRaw, setFirstRow, setFirstRowRelative, setLastColRelative, setLastColumn, setLastColumnRaw, setLastRow, setLastRowRelative, sortTopLeftToBottomRight, writeCoordinates`

Methods inherited from class org.apache.poi.ss.formula.ptg.OperandPtg
`copy, isBaseToken`

Methods inherited from class org.apache.poi.ss.formula.ptg.Ptg
`createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### sid

    public static final short sid

See Also:
  Constant Field Values

Constructor Detail

### AreaPtg

    public AreaPtg(int firstRow,
                   int lastRow,
                   int firstColumn,
                   int lastColumn,
                   boolean firstRowRelative,
                   boolean lastRowRelative,
                   boolean firstColRelative,
                   boolean lastColRelative)

### AreaPtg

    public AreaPtg(LittleEndianInput in)

### AreaPtg

    @Deprecated
    @Removal(version="3.19")
    public AreaPtg(java.lang.String arearef)

  Deprecated. use `AreaPtg(AreaReference)` instead

### AreaPtg

    public AreaPtg(AreaReference arearef)

Method Detail

### getSid

    protected byte getSid()

  Specified by:
    `getSid` in class `Area2DPtgBase`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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