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

DrawingObjects.Get_SelectionBounds

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60805 954022d7-b5bf-4e40-9824-e11837661b57
parent 6549ff43
...@@ -7984,7 +7984,7 @@ CDocument.prototype = ...@@ -7984,7 +7984,7 @@ CDocument.prototype =
} }
else if ( docpostype_DrawingObjects === this.CurPos.Type ) else if ( docpostype_DrawingObjects === this.CurPos.Type )
{ {
return null;//this.DrawingObjects.Get_SelectionBounds(); return this.DrawingObjects.Get_SelectionBounds();
} }
else else
{ {
......
...@@ -1782,6 +1782,16 @@ CGraphicObjects.prototype = ...@@ -1782,6 +1782,16 @@ CGraphicObjects.prototype =
return {X: 0, Y: 0}; return {X: 0, Y: 0};
}, },
Get_SelectionBounds: function()
{
var oTargetDocContent = this.getTargetDocContent(false, true);
if(isRealObject(oTargetDocContent))
{
return oTargetDocContent.Get_SelectionBounds();
}
return null;
},
checkCommonBounds: function(arrDrawings) checkCommonBounds: function(arrDrawings)
{ {
var l, t, r,b; var l, t, r,b;
......
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