Commit 691b6c1c authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

добавлены функции пересчёта

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49893 954022d7-b5bf-4e40-9824-e11837661b57
parent e946fd22
...@@ -2535,6 +2535,7 @@ PasteProcessor.prototype = ...@@ -2535,6 +2535,7 @@ PasteProcessor.prototype =
Item.Internal_Content_Add(nContentPos, new ParaTextPr(TextPr)); Item.Internal_Content_Add(nContentPos, new ParaTextPr(TextPr));
} }
Item.RecalcInfo.Set_Type_0(pararecalc_0_All); Item.RecalcInfo.Set_Type_0(pararecalc_0_All);
Item.RecalcInfo.Set_Type_0_Spell(pararecalc_0_Spell_All);
this.oRecalcDocument.ContentLastChangePos = this.oRecalcDocument.CurPos.ContentPos; this.oRecalcDocument.ContentLastChangePos = this.oRecalcDocument.CurPos.ContentPos;
} }
else else
...@@ -2605,6 +2606,8 @@ PasteProcessor.prototype = ...@@ -2605,6 +2606,8 @@ PasteProcessor.prototype =
LastPosCurDoc--; LastPosCurDoc--;
} }
this.oRecalcDocument.ContentLastChangePos = LastPos; this.oRecalcDocument.ContentLastChangePos = LastPos;
Item.RecalcInfo.Set_Type_0(pararecalc_0_All);
Item.RecalcInfo.Set_Type_0_Spell(pararecalc_0_Spell_All);
oDoc.CurPos.ContentPos = LastPosCurDoc; oDoc.CurPos.ContentPos = LastPosCurDoc;
} }
} }
...@@ -2775,13 +2778,13 @@ PasteProcessor.prototype = ...@@ -2775,13 +2778,13 @@ PasteProcessor.prototype =
function() { function() {
if(false == oThis.bNested) if(false == oThis.bNested)
{ {
editor.WordControl.m_oLogicDocument.DrawingObjects.calculateAfterOpen();
oThis.InsertInDocument(); oThis.InsertInDocument();
node.blur(); node.blur();
node.style.display = ELEMENT_DISPAY_STYLE; node.style.display = ELEMENT_DISPAY_STYLE;
if(aContent.bAddNewStyles) if(aContent.bAddNewStyles)
oThis.api.GenerateStyles(); oThis.api.GenerateStyles();
} }
editor.WordControl.m_oLogicDocument.DrawingObjects.calculateAfterOpen();
}); });
return; return;
} }
......
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