Commit 45924c7b authored by Alexander.Trofimov's avatar Alexander.Trofimov

Добавил editorId (для определения типа редактора)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66599 954022d7-b5bf-4e40-9824-e11837661b57
parent 32ba1eb9
...@@ -6,6 +6,8 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -6,6 +6,8 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
function baseEditorsApi(name) { function baseEditorsApi(name) {
g_fontApplication.Init(); g_fontApplication.Init();
this.editorId = null;
this.HtmlElementName = name; this.HtmlElementName = name;
this.HtmlElement = null; this.HtmlElement = null;
......
...@@ -26,6 +26,7 @@ var editor; ...@@ -26,6 +26,7 @@ var editor;
*/ */
function spreadsheet_api(name, inputName, eventsHandlers) { function spreadsheet_api(name, inputName, eventsHandlers) {
spreadsheet_api.superclass.constructor.call(this, name); spreadsheet_api.superclass.constructor.call(this, name);
this.editorId = c_oEditorId.Spreadsheet;
/************ private!!! **************/ /************ private!!! **************/
this.topLineEditorName = inputName; this.topLineEditorName = inputName;
......
...@@ -14,6 +14,7 @@ var c_oSerFormat = { ...@@ -14,6 +14,7 @@ var c_oSerFormat = {
function asc_docs_api(name) function asc_docs_api(name)
{ {
asc_docs_api.superclass.constructor.call(this, name); asc_docs_api.superclass.constructor.call(this, name);
this.editorId = c_oEditorId.Presentation;
var CSpellCheckApi = window["CSpellCheckApi"]; var CSpellCheckApi = window["CSpellCheckApi"];
......
...@@ -258,6 +258,7 @@ CMailMergeSendData.prototype.put_UserId = function(v){this["userId"] = v;}; ...@@ -258,6 +258,7 @@ CMailMergeSendData.prototype.put_UserId = function(v){this["userId"] = v;};
function asc_docs_api(name) function asc_docs_api(name)
{ {
asc_docs_api.superclass.constructor.call(this, name); asc_docs_api.superclass.constructor.call(this, name);
this.editorId = c_oEditorId.Word;
if (window["AscDesktopEditor"]) if (window["AscDesktopEditor"])
{ {
......
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