Commit 72a06e9a authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #34885

parent 81e89a94
......@@ -490,12 +490,14 @@
window.g_asc_plugins.images_rename);
}
delete window.g_asc_plugins.images_rename;
window.g_asc_plugins.api.asc_Recalculate();
if(AscCommon.c_oEditorId.Word === editorId) {
oLogicDocument.UnlockPanelStyles(true);
oLogicDocument.OnEndLoadScript();
}
window.g_asc_plugins.api.asc_Recalculate();
var pluginData = new CPluginData();
pluginData.setAttribute("guid", guid);
pluginData.setAttribute("type", "onCommandCallback");
......
......@@ -15457,6 +15457,13 @@ CDocument.prototype.OnEndLoadScript = function()
this.Update_SectionsInfo();
this.Check_SectionLastParagraph();
this.Styles.Check_StyleNumberingOnLoad(this.Numbering);
var arrParagraphs = this.GetAllParagraphs({All : true});
for (var nIndex = 0, nCount = arrParagraphs.length; nIndex < nCount; ++nIndex)
{
arrParagraphs[nIndex].Recalc_CompiledPr();
arrParagraphs[nIndex].Recalc_RunsCompiledPr();
}
};
function CDocumentSelectionState()
......
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