Commit 26c074ca authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 24766 - Некорректная вставка диаграммы в таблицу

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56629 954022d7-b5bf-4e40-9824-e11837661b57
parent 48e14fb9
......@@ -1208,6 +1208,7 @@
ws.changeZoom(true);
ws.draw();
ws.objectRender.OnUpdateOverlay();
if (isSendInfo) {
this._onSelectionNameChanged(ws.getSelectionName(/*bRangeText*/false));
this._onWSSelectionChanged(ws.getSelectionInfo());
......
......@@ -2372,6 +2372,7 @@ CDocument.prototype =
var Image = this.DrawingObjects.getChartSpace(Chart,null);
Image.setParent(Drawing);
Drawing.Set_GraphicObject(Image);
Drawing.Update_Size( Image.spPr.xfrm.extX, Image.spPr.xfrm.extY );
}
if ( true === bFlow )
{
......
......@@ -2084,6 +2084,7 @@ CDocumentContent.prototype =
var Image = this.DrawingObjects.getChartSpace(Chart,null);
Image.setParent(Drawing);
Drawing.Set_GraphicObject(Image);
Drawing.Update_Size( Image.spPr.xfrm.extX, Image.spPr.xfrm.extY );
}
if ( true === bFlow )
{
......
......@@ -4581,6 +4581,7 @@ ParaDrawing.prototype =
{
if(isRealObject(this.GraphicObj))
{
this.GraphicObj.recalculate();
var bounds = this.getBounds();
this.W = bounds.r - bounds.l;
this.H = bounds.b - bounds.t;
......
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