Commit adf3fcc8 authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

Применение стилей (из меню) для формул

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59627 954022d7-b5bf-4e40-9824-e11837661b57
parent 8db03484
......@@ -1715,6 +1715,11 @@ ParaMath.prototype.Get_ContentSelection = function()
return {X : X, Y : Y, W : oContent.size.width, H : oContent.size.height};
};
ParaMath.prototype.Recalc_RunsCompiledPr = function()
{
this.Root.Recalc_RunsCompiledPr();
};
/**
* Проверяем находимся ли мы во внутреннем (не самом верхнем) контенте формулы.
*/
......
......@@ -1163,6 +1163,12 @@ CMathBase.prototype.raw_RemoveFromContent = function(Pos, Count)
this.fillContent();
this.private_SetNeedResize();
};
CMathBase.prototype.Recalc_RunsCompiledPr = function()
{
this.RecalcInfo.bCtrPrp = true;
ParaHyperlink.prototype.Recalc_RunsCompiledPr.call(this);
}
CMathBase.prototype.private_UpdatePosOnAdd = CMathContent.prototype.private_UpdatePosOnAdd;
CMathBase.prototype.private_UpdatePosOnRemove = CMathContent.prototype.private_UpdateOnRemove;
CMathBase.prototype.private_CorrectSelectionPos = CMathContent.prototype.private_CorrectSelectionPos;
......@@ -1181,6 +1187,8 @@ CMathBase.prototype.private_CorrectCurPos = function()
this.Content[this.CurPos].Cursor_MoveToStartPos();
}
}
CMathBase.prototype.Search = ParaHyperlink.prototype.Search;
CMathBase.prototype.Add_SearchResult = ParaHyperlink.prototype.Add_SearchResult;
CMathBase.prototype.Clear_SearchResults = ParaHyperlink.prototype.Clear_SearchResults;
......
......@@ -3776,6 +3776,7 @@ CMathContent.prototype.Add_SearchResult = ParaHyperlink.prototype.A
CMathContent.prototype.Clear_SearchResults = ParaHyperlink.prototype.Clear_SearchResults;
CMathContent.prototype.Remove_SearchResult = ParaHyperlink.prototype.Remove_SearchResult;
CMathContent.prototype.Search_GetId = ParaHyperlink.prototype.Search_GetId;
CMathContent.prototype.Recalc_RunsCompiledPr = ParaHyperlink.prototype.Recalc_RunsCompiledPr;
CMathContent.prototype.Get_SelectionDirection = 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