Commit 873943d9 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Проверка модели при выставлении view-режима

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48278 954022d7-b5bf-4e40-9824-e11837661b57
parent 2dbe00b5
...@@ -1443,6 +1443,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -1443,6 +1443,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
}, },
_sendWorkbookStyles: function () { _sendWorkbookStyles: function () {
if(this.wbModel) {
// Отправка стилей форматированных таблиц // Отправка стилей форматированных таблиц
var autoFilters = new asc.AutoFilters(); var autoFilters = new asc.AutoFilters();
var tablePictures = autoFilters.getTablePictures(this.wbModel); var tablePictures = autoFilters.getTablePictures(this.wbModel);
...@@ -1453,6 +1454,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -1453,6 +1454,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
var guiStyles = this.wb.getCellStyles(); var guiStyles = this.wb.getCellStyles();
bResult = this.handlers.trigger("asc_onInitEditorStyles", guiStyles); bResult = this.handlers.trigger("asc_onInitEditorStyles", guiStyles);
this.guiStyles = (false === bResult) ? guiStyles : null; this.guiStyles = (false === bResult) ? guiStyles : null;
}
}, },
startCollaborationEditing: function () { startCollaborationEditing: function () {
......
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