Commit 89fe4344 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Правка бага 22013 - [CoEdit] Не пересчитывается скопированная автофигура у...

Правка бага 22013 - [CoEdit] Не пересчитывается скопированная автофигура у пользователя после добавления нового абзаца с текстом

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51607 954022d7-b5bf-4e40-9824-e11837661b57
parent eb6c7459
......@@ -270,6 +270,8 @@ var historyitem_AutoShapes_RecalculateAfterResize = 48;
var historyitem_AutoShapes_SetTextPaddings = 49;
var historyitem_AutoShapes_RecalculateChartUndo = 50;
var historyitem_AutoShapes_RecalculateChartRedo = 51;
var historyitem_AutoShapes_UpdateParentWidthHeight = 52;
......
......@@ -5268,6 +5268,7 @@ ParaDrawing.prototype =
this.W = Reader.GetDouble();
this.H = Reader.GetDouble();
this.bNeedUpdateWH = true;
this.Measure2();
break;
}
......@@ -6693,13 +6694,14 @@ ParaDrawing.prototype =
else
g.calculateAfterOpen();
}
c.Update_Size(this.W, this.H);
var d = this.Distance;
c.Set_Distance(d.L, d.T, d.R, d.B);
c.setZIndex();
c.Set_AllowOverlap(this.AllowOverlap);
c.Set_WrappingType(this.wrappingType);
c.Set_BehindDoc(this.behindDoc);
c.Update_Size(this.W, this.H);
History.Add(c, {Type: historyitem_CalculateAfterPaste});
return c;
......
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