return PtgShifter.createDeletedRef(ptg);
}
private static Ptg offsetPtg(Ptg ptg, Cell dstCell, int offRow, int offCol, SpreadsheetVersion ver) {
if(ptg instanceof RefPtgBase) {
final RefPtgBase rptg = (RefPtgBase)ptg;
return rptgSetRowCol(rptg, dstCell, offRow, offCol, ver);
}
if(ptg instanceof AreaPtgBase) {
final AreaPtgBase aptg = (AreaPtgBase) ptg;
return aptgSetRowCol(aptg, dstCell, offRow, offCol, ver);