Commit 1bc1253d authored by Oleg.Korshul's avatar Oleg.Korshul

private files -> build configs

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62233 954022d7-b5bf-4e40-9824-e11837661b57
parent 1fda9374
......@@ -111,6 +111,7 @@
"../../Common/wordcopypaste.js",
"../../Excel/view/DrawingObjectsController.js",
"../../Excel/model/DrawingObjects/Graphics.js",
"../../Excel/model/DrawingObjects/Private/Graphics.js",
"../../Excel/model/DrawingObjects/Overlay.js",
"../../Excel/model/DrawingObjects/Controls.js",
"../../Excel/model/DrawingObjects/ShapeDrawer.js",
......
......@@ -76,6 +76,7 @@
"../../Word/Drawing/HatchPattern.js",
"../../Word/Drawing/Graphics.js",
"../../Word/Drawing/Private/Graphics.js",
"../../Word/Drawing/Overlay.js",
"../../Word/Drawing/ShapeDrawer.js",
"../../PowerPoint/Drawing/Transitions.js",
......
......@@ -110,6 +110,7 @@
"../../Word/Editor/FontClassification.js",
"../../Word/Editor/Spelling.js",
"../../Word/Drawing/Graphics.js",
"../../Word/Drawing/Private/Graphics.js",
"../../Word/Drawing/Overlay.js",
"../../Word/Drawing/HatchPattern.js",
"../../Word/Drawing/ShapeDrawer.js",
......
......@@ -259,6 +259,48 @@
}
},
copyDesktopEditorButton: function(ElemToSelect, isCut)
{
if (isCut)
{
var __oncut = ElemToSelect.oncut;
ElemToSelect.oncut = function (e) {
ElemToSelect.oncut = __oncut;
__oncut = null;
var api = window["Asc"]["editor"];
if(api.controller.isCellEditMode)
return;
Editor_Copy_Event_Excel(e, ElemToSelect, true, true);
e.preventDefault();
}
window["AscDesktopEditor"]["Cut"]();
}
else
{
var __oncopy = ElemToSelect.oncopy;
ElemToSelect.oncopy = function (e) {
ElemToSelect.oncopy = __oncopy;
__oncopy = null;
var api = window["Asc"]["editor"];
if(api.controller.isCellEditMode)
return;
Editor_Copy_Event_Excel(e, ElemToSelect, null, true);
e.preventDefault();
}
window["AscDesktopEditor"]["Copy"]();
}
},
//****copy cells ****
copyRange: function (range, worksheet, isCut) {
......@@ -356,6 +398,13 @@
History.TurnOn();
if (window["AscDesktopEditorButtonMode"] === true && window["AscDesktopEditor"]) {
this.copyDesktopEditorButton(this.element, isCut);
return;
}
if(AscBrowser.isMozilla)
t._selectElement(t._getStylesSelect);
else
......
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