Commit 3dcac934 authored by Oleg Korshul's avatar Oleg Korshul

asc_getCurrentFocusObject

var FOCUS_OBJECT_THUMBNAILS = 0;
var FOCUS_OBJECT_MAIN       = 1;
var FOCUS_OBJECT_NOTES      = 2;
parent ae77ebf9
......@@ -1225,6 +1225,13 @@
return this.isDocumentModify;
};
asc_docs_api.prototype.asc_getCurrentFocusObject = function()
{
if (!this.WordControl || !this.WordControl.Thumbnails)
return 1;
return this.WordControl.Thumbnails.FocusObjType;
};
asc_docs_api.prototype.sync_BeginCatchSelectedElements = function()
{
if (0 != this.SelectedObjectsStack.length)
......@@ -6856,6 +6863,8 @@ background-repeat: no-repeat;\
asc_docs_api.prototype["asc_editOleObject"] = asc_docs_api.prototype.asc_editOleObject;
asc_docs_api.prototype["asc_InputClearKeyboardElement"] = asc_docs_api.prototype.asc_InputClearKeyboardElement;
asc_docs_api.prototype["asc_getCurrentFocusObject"] = asc_docs_api.prototype.asc_getCurrentFocusObject;
window['Asc']['asc_CCommentData'] = window['Asc'].asc_CCommentData = asc_CCommentData;
asc_CCommentData.prototype['asc_getText'] = asc_CCommentData.prototype.asc_getText;
......
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