Commit 770c5aca authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

смена цветовой схемы таблицы для контроллера шейпов

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48435 954022d7-b5bf-4e40-9824-e11837661b57
parent 4cedfd4f
......@@ -2556,6 +2556,8 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
asc_ApplyColorScheme : function(bRedraw) {
this.chartStyleManager.init();
this.chartPreviewManager.init();
var ws = this.wb.getWorksheet();
ws.objectRender.controller.applyColorScheme();
// На view-режиме не нужно отправлять стили
if (this.controller.getViewerMode && true !== this.controller.getViewerMode()) {
......
......@@ -146,13 +146,13 @@ DrawingObjectsController.prototype =
onKeyDown: function(e)
{
this.curState.onKeyDown(e);
//return true;
return true;
},
onKeyPress: function(e)
{
this.curState.onKeyPress(e);
//return true;
return true;
},
resetSelectionState: function()
......@@ -771,6 +771,12 @@ DrawingObjectsController.prototype =
}
this.drawingObjects.showDrawingObjects(true);
this.drawingObjects.sendGraphicObjectProps();
},
applyColorScheme: function()
{
var api = window["Asc"]["editor"];
var themeColors = api.GuiControlColorsMap;
}
};
......
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