Commit 3b24b179 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=27792 - [CoEdit] Остаются данные и заголовок...

http://bugzserver/show_bug.cgi?id=27792 - [CoEdit] Остаются данные и заголовок форматированной таблицы после применения undo для отмены ее вставки

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64417 954022d7-b5bf-4e40-9824-e11837661b57
parent 3f7dc021
......@@ -8282,9 +8282,9 @@
range = t.model.getRange3(aFilters[aF].range.r1 + selectionRange.r1, aFilters[aF].range.c1 + selectionRange.c1, aFilters[aF].range.r2 + selectionRange.r1, aFilters[aF].range.c2 + selectionRange.c1);
if(aFilters[aF].style)
range.cleanFormat();
t.autoFilters.addAutoFilter(aFilters[aF].style, range.bbox, true);
t.autoFilters.addAutoFilter(aFilters[aF].style, range.bbox, true, true);
if(!aFilters[aF].autoFilter)
t.autoFilters.addAutoFilter(null, range.bbox, true);
t.autoFilters.addAutoFilter(null, range.bbox, true, true);
}
}
else if(isLocal === 'binary' && val.TableParts && val.TableParts.length)
......@@ -8309,7 +8309,7 @@
if(!aFilters[aF].AutoFilter)
bWithoutFilter = true;
t.autoFilters.addAutoFilter(aFilters[aF].TableStyleInfo.Name, range.bbox, true, null, bWithoutFilter);
t.autoFilters.addAutoFilter(aFilters[aF].TableStyleInfo.Name, range.bbox, true, true, bWithoutFilter);
}
}
......
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