Commit 57d9d922 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

LoadedObject и DocumentType в api base

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66171 954022d7-b5bf-4e40-9824-e11837661b57
parent 3f1f6180
......@@ -14,6 +14,9 @@ function baseEditorsApi(name) {
this.ImageLoader.put_Api(this);
this.FontLoader.SetStandartFonts();
this.LoadedObject = null;
this.DocumentType = 0; // 0 - empty, 1 - test, 2 - document (from json)
// Тип состояния на данный момент (сохранение, открытие или никакое)
this.advancedOptionsAction = c_oAscAdvancedOptionsAction.None;
......
......@@ -37,9 +37,6 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
this.wb = null;
this.wbModel = null;
this.LoadedObject = null;
this.DocumentType = 0; // 0 - empty, 1 - test, 2 - document (from json)
this.DocumentName = "";
this.documentId = undefined;
this.documentUserId = undefined;
......
......@@ -47,9 +47,6 @@ function asc_docs_api(name)
this.ThemeLoader = new CThemeLoader();
this.ThemeLoader.Api = this;
this.LoadedObject = null;
this.DocumentType = 0; // 0 - empty, 1 - test, 2 - document (from json)
this.DocumentUrl = "";
this.DocumentName = "";
this.DocInfo = null;
......
......@@ -302,9 +302,6 @@ function asc_docs_api(name)
this.WordControl = new CEditorPage(this);
this.WordControl.Name = this.HtmlElementName;
this.LoadedObject = null;
this.DocumentType = 0; // 0 - empty, 1 - test, 2 - document (from json)
//todo убрать из native, copypaste, chart, loadfont
//this.DocumentUrl = "";
this.DocumentName = "";
......
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