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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50614 954022d7-b5bf-4e40-9824-e11837661b57
parent f8766966
......@@ -811,6 +811,10 @@ function CEditorPage(api)
return true;
}
else
{
this.m_oApi.sync_zoomChangeCallback(this.m_nZoomValue, 1);
}
return false;
}
this.zoom_FitToPage = function()
......@@ -844,6 +848,10 @@ function CEditorPage(api)
this.zoom_Fire(2, _old_val);
return true;
}
else
{
this.m_oApi.sync_zoomChangeCallback(this.m_nZoomValue, 2);
}
return false;
}
......
......@@ -5328,12 +5328,15 @@ asc_docs_api.prototype.asc_ignoreMisspelledWord = function(SpellCheckProperty, b
asc_docs_api.prototype.asc_setDefaultLanguage = function(Lang)
{
editor.WordControl.m_oLogicDocument.Set_DefaultLanguage(Lang);
if (editor.WordControl.m_oLogicDocument)
editor.WordControl.m_oLogicDocument.Set_DefaultLanguage(Lang);
}
asc_docs_api.prototype.asc_getDefaultLanguage = function()
{
return editor.WordControl.m_oLogicDocument.Get_DefaultLanguage();
if (editor.WordControl.m_oLogicDocument)
return editor.WordControl.m_oLogicDocument.Get_DefaultLanguage();
return null;
}
//-----------------------------------------------------------------
// Функции для работы с комментариями
......@@ -5798,6 +5801,7 @@ asc_docs_api.prototype.CreateFontsCharMap = function()
asc_docs_api.prototype.sync_SendThemeColors = function(colors,standart_colors)
{
this._gui_control_colors = { Colors : colors, StandartColors : standart_colors };
this.asc_fireCallback("asc_onSendThemeColors",colors,standart_colors);
}
asc_docs_api.prototype.sync_SendThemeColorSchemes = function(param)
{
......
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