java.lang.String |
formatAsString()
Example return values:
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
Constructor Detail
-
AreaReference
public AreaReference(java.lang.String reference)
Create an area ref from a string representation. Sheet names containing special characters should be
delimited and escaped as per normal syntax rules for formulas.
The area reference must be contiguous (i.e. represent a single rectangle, not a union of rectangles)
-
AreaReference
public AreaReference(CellReference topLeft,
CellReference botRight)
Creates an area ref from a pair of Cell References.
-
Method Detail
-
isWholeColumnReference
public static boolean isWholeColumnReference(CellReference topLeft,
CellReference botRight)
Is the reference for a whole-column reference,
such as C:C or D:G ?
-
generateContiguous
public static AreaReference[] generateContiguous(java.lang.String reference)
Takes a non-contiguous area reference, and
returns an array of contiguous area references.
-
getLastCell
public CellReference getLastCell()
Note - if this area reference refers to a single cell, the return value of this method will
be identical to that of getFirstCell()
- Returns:
- the second cell reference which defines this area. For multi-cell areas, this is
cell diagonally opposite the 'first cell'. Usually this cell is in the lower right corner
of the area (but this is not a requirement).
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.
|