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

Поправила CreateElem для ParagraphContent (в связи с тем, что нужно учесть...

Поправила CreateElem для ParagraphContent (в связи с тем, что нужно учесть дефолтные настройки из settings и свойства прокинуть позднее при добавлении в формулу)



git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54299 954022d7-b5bf-4e40-9824-e11837661b57
parent a45a9e79
......@@ -7806,9 +7806,10 @@ ParaMath.prototype =
{
var ctrPrp = new CTextPr();
oElem.setCtrPrp(ctrPrp);
oElem.init(props);
if (oParent)
oParent.addElementToContent(oElem);
oElem.init(props); // прокидываем свойства после добавления в формулу, т.к. дефолтные настройки(общие для всей формулы, к-ые передаются из settings) хранятся в Composition
},
CreateFraction : function (oFraction,oParentElem,props,sNumText,sDenText)
......
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