Save This Page
Home » poi-src-3.2-FINAL-20081019 » org.apache » poi » hssf » util » [javadoc | source]
org.apache.poi.hssf.util
public final class: CellReference [javadoc | source]
java.lang.Object
   org.apache.poi.hssf.util.CellReference
Constructor:
 public CellReference(String cellRef) 
    Create an cell ref from a string representation. Sheet names containing special characters should be delimited and escaped as per normal syntax rules for formulas.
 public CellReference(int pRow,
    int pCol,
    boolean pAbsRow,
    boolean pAbsCol) 
 public CellReference(String pSheetName,
    int pRow,
    int pCol,
    boolean pAbsRow,
    boolean pAbsCol) 
Method from org.apache.poi.hssf.util.CellReference Summary:
appendCellReference,   convertNumToColString,   formatAsString,   getCol,   getRow,   getSheetName,   isColAbsolute,   isRowAbsolute,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.hssf.util.CellReference Detail:
  void appendCellReference(StringBuffer sb) 
    Appends cell reference with '$' markers for absolute values as required. Sheet name is not included.
 protected static String convertNumToColString(int col) 
    Takes in a 0-based base-10 column and returns a ALPHA-26 representation. eg column #3 -> D
 public String formatAsString() 
    Example return values:
    ResultComment
    A1Cell reference without sheet
    Sheet1!A1Standard sheet name
    'O''Brien''s Sales'!A1' Sheet name with special characters
 public short getCol() 
 public int getRow() 
 public String getSheetName() 
 public boolean isColAbsolute() 
 public boolean isRowAbsolute() 
 public String toString()