1 19 20 package jxl; 21 22 import jxl.write.WritableWorkbook; 23 27 public final class CellReferenceHelper 28 { 29 32 private CellReferenceHelper() 33 { 34 } 35 36 44 public static void getCellReference(int column, int row, StringBuffer buf) 45 { 46 jxl.biff.CellReferenceHelper.getCellReference(column, row, buf); 47 } 48 49 58 public static void getCellReference(int column, boolean colabs, 59 int row, boolean rowabs, 60 StringBuffer buf) 61 { 62 jxl.biff.CellReferenceHelper.getCellReference(column, colabs, 63 row, rowabs, 64 buf); 65 } 66 67 68 75 public static String getCellReference(int column, int row) 76 { 77 return jxl.biff.CellReferenceHelper.getCellReference(column, row); 78 } 79 80 86 public static int getColumn(String s) 87 { 88 return jxl.biff.CellReferenceHelper.getColumn(s); 89 } 90 91 97 public static String getColumnReference(int c) 98 { 99 return jxl.biff.CellReferenceHelper.getColumnReference(c); 100 } 101 102 107 public static int getRow(String s) 108 { 109 return jxl.biff.CellReferenceHelper.getRow(s); 110 } 111 112 118 public static boolean isColumnRelative(String s) 119 { 120 return jxl.biff.CellReferenceHelper.isColumnRelative(s); 121 } 122 123 129 public static boolean isRowRelative(String s) 130 { 131 return jxl.biff.CellReferenceHelper.isRowRelative(s); 132 } 133 134 144 public static void getCellReference 145 (int sheet, int column, int row, 146 Workbook workbook, StringBuffer buf) 147 { 148 jxl.biff.CellReferenceHelper.getCellReference 149 (sheet, column, row, (jxl.biff.formula.ExternalSheet) workbook, buf); 150 } 151 152 162 public static void getCellReference 163 (int sheet, int column, int row, 164 WritableWorkbook workbook, StringBuffer buf) 165 { 166 jxl.biff.CellReferenceHelper.getCellReference 167 (sheet, column, row, (jxl.biff.formula.ExternalSheet)workbook, buf); 168 } 169 170 182 public static void getCellReference 183 (int sheet, int column, boolean colabs, 184 int row, boolean rowabs, 185 Workbook workbook, StringBuffer buf) 186 { 187 jxl.biff.CellReferenceHelper.getCellReference 188 (sheet, column, colabs, row, rowabs, 189 (jxl.biff.formula.ExternalSheet)workbook, buf); 190 } 191 192 202 public static String getCellReference 203 (int sheet, int column, int row, 204 Workbook workbook) 205 { 206 return jxl.biff.CellReferenceHelper.getCellReference 207 (sheet, column, row, (jxl.biff.formula.ExternalSheet)workbook); 208 } 209 210 220 public static String getCellReference 221 (int sheet, int column, int row, 222 WritableWorkbook workbook) 223 { 224 return jxl.biff.CellReferenceHelper.getCellReference 225 (sheet, column, row, (jxl.biff.formula.ExternalSheet)workbook); 226 } 227 228 229 230 } 231 | Popular Tags |