*/
//20100705, henrichen@zkoss.org: update named references
private void updateNamesAfterCellShift(PtgShifter shifter) {
InternalWorkbook book = new HSSFWorkbookHelper(getWorkbook()).getInternalWorkbook();
for (int i = 0 ; i < book.getNumNames() ; ++i){
NameRecord nr = book.getNameRecord(i);
Ptg[] ptgs = nr.getNameDefinition();
if (shifter.adjustFormula(ptgs, nr.getSheetNumber())) {
nr.setNameDefinition(ptgs);
}
}
}