Commit 4d9c5a3d authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

send styles on SetViewMode(false)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56165 954022d7-b5bf-4e40-9824-e11837661b57
parent 757498e4
......@@ -604,6 +604,8 @@ function asc_docs_api(name)
this._gui_control_colors = null;
this._gui_color_schemes = null;
//window["USE_FONTS_WIN_PARAMS"] = true;
//выставляем тип copypaste
g_bIsDocumentCopyPaste = true;
this.DocumentReaderMode = null;
......@@ -3459,6 +3461,9 @@ asc_docs_api.prototype.sync_InitEditorStyles = function(styles_painter){
this._gui_styles = styles_painter;
this.asc_fireCallback("asc_onInitEditorStyles", styles_painter);
}
asc_docs_api.prototype.sync_InitEditorStyles2 = function(){
this.asc_fireCallback("asc_onInitEditorStyles", this._gui_styles);
}
asc_docs_api.prototype.sync_InitEditorTableStyles = function(styles, is_retina_enabled){
this.asc_fireCallback("asc_onInitTableTemplates",styles, is_retina_enabled);
}
......@@ -6838,6 +6843,7 @@ asc_docs_api.prototype.SetViewMode = function( isViewMode )
this.WordControl.checkNeedRules();
this.WordControl.m_oDrawingDocument.ClearCachePages();
this.WordControl.OnResize(true);
this.sync_InitEditorStyles2();
}
}
......
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