Commit 5890d96f authored by Igor.Zotov's avatar Igor.Zotov

удалил уже неиспользуемый код

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66941 954022d7-b5bf-4e40-9824-e11837661b57
parent e5ff592a
...@@ -8237,7 +8237,7 @@ ...@@ -8237,7 +8237,7 @@
break; break;
case "paste": case "paste":
// Вставляем текст из локального буфера или нет // Вставляем текст из локального буфера или нет
isLocal ? t._pasteFromLocalBuff(isLargeRange, isLocal, val, bIsUpdate, canChangeColWidth, onlyActive) : t._pasteFromGlobalBuff(isLargeRange, isLocal, val, bIsUpdate, canChangeColWidth); isLocal ? t._pasteFromLocalBuff(isLargeRange, isLocal, val, bIsUpdate, canChangeColWidth) : t._pasteFromGlobalBuff(isLargeRange, isLocal, val, bIsUpdate, canChangeColWidth);
bIsUpdate = false; bIsUpdate = false;
break; break;
case "hyperlink": case "hyperlink":
...@@ -8285,7 +8285,7 @@ ...@@ -8285,7 +8285,7 @@
if(isLocal === "binary") if(isLocal === "binary")
checkRange = t._pasteFromBinary(val, true); checkRange = t._pasteFromBinary(val, true);
else else
checkRange = t._setInfoAfterPaste(val, onlyActive, true); checkRange = t._setInfoAfterPaste(val, true);
} }
if("paste" === prop && val.onlyImages === true) if("paste" === prop && val.onlyImages === true)
onSelectionCallback(); onSelectionCallback();
...@@ -8293,7 +8293,7 @@ ...@@ -8293,7 +8293,7 @@
this._isLockedCells(checkRange, /*subType*/null, onSelectionCallback); this._isLockedCells(checkRange, /*subType*/null, onSelectionCallback);
}; };
WorksheetView.prototype._pasteFromLocalBuff = function (isLargeRange, isLocal, val, bIsUpdate, canChangeColWidth, onlyActive) { WorksheetView.prototype._pasteFromLocalBuff = function (isLargeRange, isLocal, val, bIsUpdate, canChangeColWidth) {
var t = this; var t = this;
var callTrigger = false; var callTrigger = false;
if (isLargeRange) { callTrigger = true; t.handlers.trigger("slowOperation", true); } if (isLargeRange) { callTrigger = true; t.handlers.trigger("slowOperation", true); }
...@@ -8303,7 +8303,7 @@ ...@@ -8303,7 +8303,7 @@
if(isLocal === 'binary') if(isLocal === 'binary')
selectData = t._pasteFromBinary(val); selectData = t._pasteFromBinary(val);
else else
selectData = t._setInfoAfterPaste(val,onlyActive); selectData = t._setInfoAfterPaste(val);
t.autoFilters.renameTableColumn(t.activeRange); t.autoFilters.renameTableColumn(t.activeRange);
...@@ -8439,14 +8439,11 @@ ...@@ -8439,14 +8439,11 @@
}); });
}; };
WorksheetView.prototype._setInfoAfterPaste = function (values,clipboard,isCheckSelection) { WorksheetView.prototype._setInfoAfterPaste = function (values, isCheckSelection) {
var t = this; var t = this;
var wb = window["Asc"]["editor"].wb; var wb = window["Asc"]["editor"].wb;
var arn = wb && wb.clipboard && wb.clipboard.activeRange ? wb.clipboard.activeRange : t.activeRange.clone(true); var arn = wb && wb.clipboard && wb.clipboard.activeRange ? wb.clipboard.activeRange : t.activeRange.clone(true);
if(!clipboard)
clipboard = wb && wb.clipboard ? wb.clipboard : null;
var arrFormula = []; var arrFormula = [];
var numFor = 0; var numFor = 0;
var rMax = values.length + values.rowSpanSpCount; var rMax = values.length + values.rowSpanSpCount;
......
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