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,16 +1443,18 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -1443,16 +1443,18 @@ 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 tablePictures = autoFilters.getTablePictures(this.wbModel); var autoFilters = new asc.AutoFilters();
var bResult = this.handlers.trigger("asc_onInitTablePictures", tablePictures); var tablePictures = autoFilters.getTablePictures(this.wbModel);
this.tablePictures = (false === bResult) ? tablePictures : null; var bResult = this.handlers.trigger("asc_onInitTablePictures", tablePictures);
this.tablePictures = (false === bResult) ? tablePictures : null;
// Отправка стилей ячеек
var guiStyles = this.wb.getCellStyles(); // Отправка стилей ячеек
bResult = this.handlers.trigger("asc_onInitEditorStyles", guiStyles); var guiStyles = this.wb.getCellStyles();
this.guiStyles = (false === bResult) ? guiStyles : null; bResult = this.handlers.trigger("asc_onInitEditorStyles", guiStyles);
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