Save This Page
Home » jexcelapi_2_6_8 » jxl.biff » [javadoc | source]
jxl.biff
public final class: CellReferenceHelper [javadoc | source]
java.lang.Object
   jxl.biff.CellReferenceHelper
A helper to transform between excel cell references and sheet:column:row notation Because this function will be called when generating a string representation of a formula, the cell reference will merely be appened to the string buffer instead of returning a full blooded string, for performance reasons
Method from jxl.biff.CellReferenceHelper Summary:
getCellReference,   getCellReference,   getCellReference,   getCellReference,   getCellReference,   getCellReference,   getColumn,   getColumnReference,   getColumnReference,   getRow,   getSheet,   isColumnRelative,   isRowRelative
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from jxl.biff.CellReferenceHelper Detail:
 public static String getCellReference(int column,
    int row) 
    Gets the cell reference for the specified column and row
 public static  void getCellReference(int column,
    int row,
    StringBuffer buf) 
    Gets the cell reference
 public static String getCellReference(int sheet,
    int column,
    int row,
    ExternalSheet workbook) 
    Gets the fully qualified cell reference given the column, row external sheet reference etc
 public static  void getCellReference(int column,
    boolean colabs,
    int row,
    boolean rowabs,
    StringBuffer buf) 
    Overloaded method which prepends $ for absolute reference
 public static  void getCellReference(int sheet,
    int column,
    int row,
    ExternalSheet workbook,
    StringBuffer buf) 
    Gets the fully qualified cell reference given the column, row external sheet reference etc
 public static  void getCellReference(int sheet,
    int column,
    boolean colabs,
    int row,
    boolean rowabs,
    ExternalSheet workbook,
    StringBuffer buf) 
    Gets the fully qualified cell reference given the column, row external sheet reference etc
 public static int getColumn(String s) 
    Gets the columnn number of the string cell reference
 public static String getColumnReference(int column) 
    Gets the column letter corresponding to the 0-based column number
 public static  void getColumnReference(int column,
    StringBuffer buf) 
    Gets the column letter corresponding to the 0-based column number
 public static int getRow(String s) 
    Gets the row number of the cell reference
 public static String getSheet(String ref) 
    Gets the sheet name from the cell reference string
 public static boolean isColumnRelative(String s) 
    Sees if the column component is relative or not
 public static boolean isRowRelative(String s) 
    Sees if the row component is relative or not