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

Bug #31808 - [Copy&Paste] Не отображается диаграмма после копирования в Sample Document

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68630 954022d7-b5bf-4e40-9824-e11837661b57
parent f5206239
......@@ -2521,6 +2521,16 @@ CShape.prototype =
this.rot = isRealNumber(xfrm.rot) ? xfrm.rot : 0;
this.flipH = xfrm.flipH === true;
this.flipV = xfrm.flipV === true;
if(this.extX < 0.01 && this.extY < 0.01)
{
if(this.parent && this.parent.Extent && isRealNumber(this.parent.Extent.W) && isRealNumber(this.parent.Extent.H))
{
this.x = 0;
this.y = 0;
this.extX = this.parent.Extent.W;
this.extY = this.parent.Extent.H;
}
}
}
else
{
......
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