Commit befa39f0 authored by Alexander.Trofimov's avatar Alexander.Trofimov

Реализовал в Excel обновление активности

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60725 954022d7-b5bf-4e40-9824-e11837661b57
parent db574d49
......@@ -388,6 +388,7 @@
"updateUndoRedoChanged" : function (bCanUndo, bCanRedo) {
self.handlers.trigger("asc_onCanUndoChanged", bCanUndo);
self.handlers.trigger("asc_onCanRedoChanged", bCanRedo);
self.oApi.setUserAlive();
},
"applyCloseEvent" : function () {self.controller._onWindowKeyDown.apply(self.controller, arguments);},
"isViewerMode" : function () {return self.controller.settings.isViewerMode;},
......@@ -395,8 +396,7 @@
"getFormulaRanges" : function () {return self.getWorksheet().getFormulaRanges();},
"setStrictClose" : function (val) {self.controller.setStrictClose(val);},
"updateEditorSelectionInfo" : function (info) {self.handlers.trigger("asc_onEditorSelectionChanged", info);},
"onContextMenu" : function (event) {self.handlers.trigger("asc_onContextMenu", event);},
"setUserAlive" : function () {self.oApi.setUserAlive();}
"onContextMenu" : function (event) {self.handlers.trigger("asc_onContextMenu", event);}
},
/*settings*/{
font: this.defaultFont,
......@@ -424,8 +424,7 @@
"onStopFormatPainter" : function () {self.handlers.trigger("asc_onStopFormatPainter");},
"onDocumentPlaceChanged" : function () {self._onDocumentPlaceChanged();},
"updateSheetViewSettings" : function () {self.handlers.trigger("asc_onUpdateSheetViewSettings");},
"onScroll" : function (d) {self.controller.scroll(d);},
"setUserAlive" : function () {self.oApi.setUserAlive();}
"onScroll" : function (d) {self.controller.scroll(d);}
});
this.model.handlers.add("cleanCellCache", function (wsId, oRanges, canChangeColWidth, bLockDraw, updateHeight) {
......@@ -470,9 +469,11 @@
});
this.model.handlers.add("setCanUndo", function (bCanUndo) {
self.handlers.trigger("asc_onCanUndoChanged", bCanUndo);
self.oApi.setUserAlive();
});
this.model.handlers.add("setCanRedo", function (bCanRedo) {
self.handlers.trigger("asc_onCanRedoChanged", bCanRedo);
self.oApi.setUserAlive();
});
this.model.handlers.add("setDocumentModified", function (bIsModified) {
self.Api.onUpdateDocumentModified(bIsModified);
......
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