Commit a19d7821 authored by SergeyLuzyanin's avatar SergeyLuzyanin

GetSelectedBounds

parent 08a66ad2
......@@ -2193,6 +2193,14 @@ CPresentation.prototype =
this.Document_UpdateInterfaceState();
},
GetSelectedBounds: function(){
var oController = this.GetCurrentController();
if(oController.selectedObjects.length > 0){
return oController.getBoundsForGroup([oController.selectedObjects[0]]);
}
return null;
},
Remove : function(Count, bOnlyText, bRemoveOnlySelection)
{
if(editor.WordControl.Thumbnails.FocusObjType === FOCUS_OBJECT_THUMBNAILS)
......
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