121122123124125126127128129130131132133
} } private void updatePtg(Ptg ptg, String oldName, String newName) { if (ptg instanceof Pxg) { Pxg pxg = (Pxg)ptg; if (pxg.getExternalWorkbookNumber() < 1) { if (pxg.getSheetName().equals(oldName)) { pxg.setSheetName(newName); } } } }