Commit 318f3d70 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

ws.model.getCell -> ws.model.getRange3

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56057 954022d7-b5bf-4e40-9824-e11837661b57
parent 949286a0
......@@ -2651,19 +2651,24 @@ var gUndoInsDelCellsFlag = true;
n = cloneActiveRange.r1 - 1;
if(cloneActiveRange.c1 > 0)
k = cloneActiveRange.c1 - 1;
}
};
if(n > cloneActiveRange.r1 && n < cloneActiveRange.r2 && k > cloneActiveRange.c1 && k < cloneActiveRange.c2)
continue;
isEnd = true;
for(var k = cloneActiveRange.c1 - 1; k <= cloneActiveRange.c2 + 1; k++)
{
if(k < 0)
continue;
cell = ws.model._getCell(n,k);
//если находимся уже внутри выделенного фрагмента, то смысла его просматривать нет
if(k >= cloneActiveRange.c1 && k <= cloneActiveRange.c2 && n >= cloneActiveRange.r1 && n <= cloneActiveRange.r2)
continue;
range = ws.model.getCell(new CellAddress(n + 1,k + 1));
cell = ws.model._getCell(n,k);
range = ws.model.getRange3(n, k, n, k);
//если мерженная ячейка
if(!(n == ar.r1 && k == ar.c1) && range)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment