Commit e6ef5120 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

FontLoader и ImageLoader перенес в base api

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66155 954022d7-b5bf-4e40-9824-e11837661b57
parent 2a4bfed2
......@@ -8,6 +8,9 @@ function baseEditorsApi(name) {
this.isMobileVersion = false;
this.FontLoader = window.g_font_loader;
this.ImageLoader = window.g_image_loader;
this.CoAuthoringApi = new window['CDocsCoApi']();
}
// send chart message
......
......@@ -37,7 +37,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
this.wb = null;
this.wbModel = null;
this.FontLoader = window.g_font_loader;
this.FontLoader.put_Api(this);
this.FontLoader.SetStandartFonts();
......@@ -130,7 +130,6 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
// Shapes
this.isStartAddShape = false;
this.ImageLoader = window.g_image_loader;
this.ImageLoader.put_Api(this);
this.shapeElementId = null;
this.textArtElementId = null;
......
......@@ -47,8 +47,6 @@ function asc_docs_api(name)
this.ThemeLoader = new CThemeLoader();
this.ThemeLoader.Api = this;
this.FontLoader = window.g_font_loader;
this.ImageLoader = window.g_image_loader;
this.FontLoader.put_Api(this);
this.ImageLoader.put_Api(this);
......
......@@ -302,8 +302,6 @@ function asc_docs_api(name)
this.WordControl = new CEditorPage(this);
this.WordControl.Name = this.HtmlElementName;
this.FontLoader = window.g_font_loader;
this.ImageLoader = window.g_image_loader;
this.FontLoader.put_Api(this);
this.ImageLoader.put_Api(this);
......
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