Commit 407de4dc authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

chartPreviewManager и textArtPreviewManager в base

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66197 954022d7-b5bf-4e40-9824-e11837661b57
parent ded9b96d
......@@ -23,6 +23,8 @@ function baseEditorsApi(name) {
// Chart
this.chartTranslate = new asc_CChartTranslate();
this.textArtTranslate = new asc_TextArtTranslate();
this.chartPreviewManager = new ChartPreviewManager();
this.textArtPreviewManager = new TextArtPreviewManager();
// CoAuthoring and Chat
this.User = undefined;
......
......@@ -89,13 +89,6 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
// Режим вставки диаграмм в редакторе документов
this.isChartEditor = false;
if (typeof ChartPreviewManager !== "undefined") {
this.chartPreviewManager = new ChartPreviewManager();
}
if (typeof TextArtPreviewManager !== "undefined") {
this.textArtPreviewManager = new TextArtPreviewManager();
}
// Shapes
this.isStartAddShape = false;
......
......@@ -109,16 +109,6 @@ function asc_docs_api(name)
// AutoSave
this.autoSaveGap = 0; // Интервал автосохранения (0 - означает, что автосохранения нет) в милесекундах
if(typeof ChartPreviewManager !== "undefined")
this.chartPreviewManager = new ChartPreviewManager();
else
this.chartPreviewManager = null;
if(typeof TextArtPreviewManager !== "undefined")
this.textArtPreviewManager = new TextArtPreviewManager();
else
this.textArtPreviewManager = null;
// объекты, нужные для отправки в тулбар (шрифты, стили)
this._gui_fonts = null;
this._gui_editor_themes = null;
......
......@@ -406,16 +406,6 @@ function asc_docs_api(name)
this.isChartEditor = false;
if(typeof ChartPreviewManager != "undefined")
this.chartPreviewManager = new ChartPreviewManager();
else
this.chartPreviewManager = null;
if(typeof TextArtPreviewManager != "undefined")
this.textArtPreviewManager = new TextArtPreviewManager();
else
this.textArtPreviewManager = null;
this.IsLongActionCurrent = 0;
this.LongActionCallbacks = [];
this.LongActionCallbacksParams = [];
......
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