/** * Sees if the column component is relative or not * * @param s the cell * @return TRUE if the column is relative, FALSE otherwise */ public static boolean isColumnRelative(String s) { return jxl.biff.CellReferenceHelper.isColumnRelative(s); }
/** * Sees if the column component is relative or not * * @param s the cell * @return TRUE if the column is relative, FALSE otherwise */ public static boolean isColumnRelative(String s) { return jxl.biff.CellReferenceHelper.isColumnRelative(s); }
/** * Constructor invoked when parsing a string formula * * @param s the string to parse */ ColumnRange(String s) { int seppos = s.indexOf(":"); Assert.verify(seppos != -1); String startcell = s.substring(0, seppos); String endcell = s.substring(seppos + 1); int columnFirst = CellReferenceHelper.getColumn(startcell); int rowFirst = 0; int columnLast = CellReferenceHelper.getColumn(endcell); int rowLast = 0xffff; boolean columnFirstRelative = CellReferenceHelper.isColumnRelative(startcell); boolean rowFirstRelative = false; boolean columnLastRelative = CellReferenceHelper.isColumnRelative(endcell); boolean rowLastRelative = false; setRangeData(columnFirst, columnLast, rowFirst, rowLast, columnFirstRelative, columnLastRelative, rowFirstRelative, rowLastRelative); }
/** * Constructor invoked when parsing a string formula * * @param s the string to parse */ ColumnRange(String s) { int seppos = s.indexOf(":"); Assert.verify(seppos != -1); String startcell = s.substring(0, seppos); String endcell = s.substring(seppos + 1); int columnFirst = CellReferenceHelper.getColumn(startcell); int rowFirst = 0; int columnLast = CellReferenceHelper.getColumn(endcell); int rowLast = 0xffff; boolean columnFirstRelative = CellReferenceHelper.isColumnRelative(startcell); boolean rowFirstRelative = false; boolean columnLastRelative = CellReferenceHelper.isColumnRelative(endcell); boolean rowLastRelative = false; setRangeData(columnFirst, columnLast, rowFirst, rowLast, columnFirstRelative, columnLastRelative, rowFirstRelative, rowLastRelative); }
/** * Constructor invoked when parsing a text string * * @param s the string being parsed */ public CellReference(String s) { column = CellReferenceHelper.getColumn(s); row = CellReferenceHelper.getRow(s); columnRelative = CellReferenceHelper.isColumnRelative(s); rowRelative = CellReferenceHelper.isRowRelative(s); }
/** * Constructor invoked when parsing a text string * * @param s the string being parsed */ public CellReference(String s) { column = CellReferenceHelper.getColumn(s); row = CellReferenceHelper.getRow(s); columnRelative = CellReferenceHelper.isColumnRelative(s); rowRelative = CellReferenceHelper.isRowRelative(s); }
/** * Constructor invoked when parsing a string formula * * @param s the string to parse */ Area(String s) { int seppos = s.indexOf(":"); Assert.verify(seppos != -1); String startcell = s.substring(0, seppos); String endcell = s.substring(seppos + 1); columnFirst = CellReferenceHelper.getColumn(startcell); rowFirst = CellReferenceHelper.getRow(startcell); columnLast = CellReferenceHelper.getColumn(endcell); rowLast = CellReferenceHelper.getRow(endcell); columnFirstRelative = CellReferenceHelper.isColumnRelative(startcell); rowFirstRelative = CellReferenceHelper.isRowRelative(startcell); columnLastRelative = CellReferenceHelper.isColumnRelative(endcell); rowLastRelative = CellReferenceHelper.isRowRelative(endcell); }
/** * Constructor invoked when parsing a string formula * * @param s the string to parse */ Area(String s) { int seppos = s.indexOf(":"); Assert.verify(seppos != -1); String startcell = s.substring(0, seppos); String endcell = s.substring(seppos + 1); columnFirst = CellReferenceHelper.getColumn(startcell); rowFirst = CellReferenceHelper.getRow(startcell); columnLast = CellReferenceHelper.getColumn(endcell); rowLast = CellReferenceHelper.getRow(endcell); columnFirstRelative = CellReferenceHelper.isColumnRelative(startcell); rowFirstRelative = CellReferenceHelper.isRowRelative(startcell); columnLastRelative = CellReferenceHelper.isColumnRelative(endcell); rowLastRelative = CellReferenceHelper.isRowRelative(endcell); }