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

getSelectedObjectsBounds

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60639 954022d7-b5bf-4e40-9824-e11837661b57
parent 82928ff8
......@@ -4681,6 +4681,15 @@ DrawingObjectsController.prototype =
this.checkSelectedObjectsAndCallback(this.unGroupCallback, null)
},
getSelectedObjectsBounds: function()
{
if(!this.getTargetDocContent())
{
return getAbsoluteRectBoundsArr(this.selection.groupSelection ? this.selection.groupSelection.selectedObjects : this.selectedObjects);
}
return null;
},
unGroupCallback: function()
{
var ungroup_arr = this.canUnGroup(true);
......
......@@ -2499,6 +2499,7 @@ CGraphicObjects.prototype =
setParagraphAlign: DrawingObjectsController.prototype.setParagraphAlign,
setParagraphIndent: DrawingObjectsController.prototype.setParagraphIndent,
getSelectedObjectsBounds: DrawingObjectsController.prototype.getSelectedObjectsBounds,
CheckRange: function(X0, Y0, X1, Y1, Y0Sp, Y1Sp, LeftField, RightField, PageNum, HdrFtrRanges, docContent)
......
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