Commit 3f1f6180 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

put_Api и SetStandartFonts в api base

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66170 954022d7-b5bf-4e40-9824-e11837661b57
parent 1be42c3f
......@@ -10,6 +10,9 @@ function baseEditorsApi(name) {
this.FontLoader = window.g_font_loader;
this.ImageLoader = window.g_image_loader;
this.FontLoader.put_Api(this);
this.ImageLoader.put_Api(this);
this.FontLoader.SetStandartFonts();
// Тип состояния на данный момент (сохранение, открытие или никакое)
this.advancedOptionsAction = c_oAscAdvancedOptionsAction.None;
......
......@@ -37,10 +37,6 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
this.wb = null;
this.wbModel = null;
this.FontLoader.put_Api(this);
this.FontLoader.SetStandartFonts();
this.LoadedObject = null;
this.DocumentType = 0; // 0 - empty, 1 - test, 2 - document (from json)
......@@ -114,7 +110,6 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
// Shapes
this.isStartAddShape = false;
this.ImageLoader.put_Api(this);
this.shapeElementId = null;
this.textArtElementId = null;
this.isImageChangeUrl = false;
......
......@@ -47,11 +47,6 @@ function asc_docs_api(name)
this.ThemeLoader = new CThemeLoader();
this.ThemeLoader.Api = this;
this.FontLoader.put_Api(this);
this.ImageLoader.put_Api(this);
this.FontLoader.SetStandartFonts();
this.LoadedObject = null;
this.DocumentType = 0; // 0 - empty, 1 - test, 2 - document (from json)
......
......@@ -302,11 +302,6 @@ function asc_docs_api(name)
this.WordControl = new CEditorPage(this);
this.WordControl.Name = this.HtmlElementName;
this.FontLoader.put_Api(this);
this.ImageLoader.put_Api(this);
this.FontLoader.SetStandartFonts();
this.LoadedObject = null;
this.DocumentType = 0; // 0 - empty, 1 - test, 2 - document (from json)
......
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