Commit 1b229bd5 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Закомментировал методы

asc_getEditorFonts
asc_getThemeColorSchemes
asc_getEditorShapes
asc_getStandartTextures

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50612 954022d7-b5bf-4e40-9824-e11837661b57
parent f850cb4a
...@@ -1043,7 +1043,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -1043,7 +1043,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
*/ */
if (null !== this.guiFonts && "asc_onInitEditorFonts" === name) { if (null !== this.guiFonts && "asc_onInitEditorFonts" === name) {
this.handlers.trigger("asc_onInitEditorFonts", this.guiFonts); this.handlers.trigger("asc_onInitEditorFonts", this.guiFonts);
//this.guiFonts = null; this.guiFonts = null;
} else if (null !== this.guiStyles && "asc_onInitEditorStyles" === name) { } else if (null !== this.guiStyles && "asc_onInitEditorStyles" === name) {
this.handlers.trigger("asc_onInitEditorStyles", this.guiStyles); this.handlers.trigger("asc_onInitEditorStyles", this.guiStyles);
this.guiStyles = null; this.guiStyles = null;
...@@ -1055,7 +1055,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -1055,7 +1055,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
this._gui_control_colors = null; this._gui_control_colors = null;
} else if (null !== this._gui_color_schemes && "asc_onSendThemeColorSchemes" === name) { } else if (null !== this._gui_color_schemes && "asc_onSendThemeColorSchemes" === name) {
this.handlers.trigger("asc_onSendThemeColorSchemes", this._gui_color_schemes); this.handlers.trigger("asc_onSendThemeColorSchemes", this._gui_color_schemes);
//this._gui_color_schemes = null; this._gui_color_schemes = null;
} else if ("asc_onInitEditorShapes" === name) { } else if ("asc_onInitEditorShapes" === name) {
this.handlers.trigger("asc_onInitEditorShapes", g_oAutoShapesGroups, g_oAutoShapesTypes); this.handlers.trigger("asc_onInitEditorShapes", g_oAutoShapesGroups, g_oAutoShapesTypes);
} else if ("asc_onInitStandartTextures" === name) { } else if ("asc_onInitStandartTextures" === name) {
...@@ -1094,10 +1094,10 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -1094,10 +1094,10 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
проверяем, подписан ли кто-то на эвент? Если да, то отправляем и больше ничего не делаем. проверяем, подписан ли кто-то на эвент? Если да, то отправляем и больше ничего не делаем.
Если никто не подписан, то сохраняем у себя переменную и как только кто-то подписывается - отправляем ее Если никто не подписан, то сохраняем у себя переменную и как только кто-то подписывается - отправляем ее
*/ */
//if (false === this.handlers.trigger("asc_onInitEditorFonts", gui_fonts)) if (false === this.handlers.trigger("asc_onInitEditorFonts", gui_fonts))
this.guiFonts = gui_fonts; this.guiFonts = gui_fonts;
//else else
// this.guiFonts = null; this.guiFonts = null;
}, },
asyncFontsDocumentStartLoaded: function () { asyncFontsDocumentStartLoaded: function () {
...@@ -1717,7 +1717,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -1717,7 +1717,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
// Toolbar interface // Toolbar interface
asc_getEditorFonts: function () { /*asc_getEditorFonts: function () {
var _tmp = this.guiFonts; var _tmp = this.guiFonts;
this.guiFonts = null; this.guiFonts = null;
return _tmp; return _tmp;
...@@ -1744,7 +1744,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -1744,7 +1744,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
} }
return arr; return arr;
}, },*/
// Workbook interface // Workbook interface
...@@ -2708,8 +2708,8 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -2708,8 +2708,8 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
asc_SendThemeColorSchemes : function (param) { asc_SendThemeColorSchemes : function (param) {
this._gui_color_schemes = param; this._gui_color_schemes = param;
var ret = this.handlers.trigger("asc_onSendThemeColorSchemes", param); var ret = this.handlers.trigger("asc_onSendThemeColorSchemes", param);
//if (ret) if (ret)
// this._gui_color_schemes = null; this._gui_color_schemes = null;
}, },
asc_ChangeColorScheme : function (index_scheme) { asc_ChangeColorScheme : function (index_scheme) {
var t = this; var t = this;
...@@ -3206,10 +3206,10 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -3206,10 +3206,10 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
// Toolbar interface // Toolbar interface
prot["asc_getEditorFonts"] = prot.asc_getEditorFonts; /*prot["asc_getEditorFonts"] = prot.asc_getEditorFonts;
prot["asc_getThemeColorSchemes"] = prot.asc_getThemeColorSchemes; prot["asc_getThemeColorSchemes"] = prot.asc_getThemeColorSchemes;
prot["asc_getEditorShapes"] = prot.asc_getEditorShapes; prot["asc_getEditorShapes"] = prot.asc_getEditorShapes;
prot["asc_getStandartTextures"] = prot.asc_getStandartTextures; prot["asc_getStandartTextures"] = prot.asc_getStandartTextures;*/
// Workbook interface // Workbook interface
......
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