return orgref;
}
public Reference addRef(Sheet sheetFrom, Sheet sheetTo, int left, int top, int right, int bottom) {
final Matrix matrix = sheetTo == null ?
((SheetImpl)sheetFrom).getMatrix() : ((BookImpl)sheetFrom.getBook()).getMatrix();
return matrix.addRef(sheetFrom, sheetTo, left, top, right, bottom);
}
public Reference getRef(Sheet sheetFrom, Sheet sheetTo, int left, int top, int right, int bottom) {
final Matrix matrix = sheetTo == null ?
((SheetImpl)sheetFrom).getMatrix() : ((BookImpl)sheetFrom.getBook()).getMatrix();
return matrix.getRef(sheetFrom, sheetTo, left, top, right, bottom);