Commit 715a32b1 authored by SergeyLuzyanin's avatar SergeyLuzyanin

redraw notes on spellcheck on/off

parent 3a7c0e91
...@@ -5401,9 +5401,14 @@ background-repeat: no-repeat;\ ...@@ -5401,9 +5401,14 @@ background-repeat: no-repeat;\
{ {
if (editor.WordControl.m_oLogicDocument) if (editor.WordControl.m_oLogicDocument)
{ {
editor.WordControl.m_oLogicDocument.Spelling.Use = isOn; var _presentation = editor.WordControl.m_oLogicDocument;
editor.WordControl.m_oDrawingDocument.ClearCachePages(); _presentation.Spelling.Use = isOn;
editor.WordControl.m_oDrawingDocument.FirePaint(); var _drawing_document = editor.WordControl.m_oDrawingDocument;
_drawing_document.ClearCachePages();
_drawing_document.FirePaint();
if(_presentation.Slides[_presentation.CurPage] && _presentation.Slides[_presentation.CurPage].notes){
_drawing_document.Notes_OnRecalculate(_presentation.CurPage, _presentation.Slides[_presentation.CurPage].NotesWidth, _presentation.Slides[_presentation.CurPage].getNotesHeight());
}
} }
}; };
......
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