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

Check_TrackObjects, startSelectionFromCurPos

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61605 954022d7-b5bf-4e40-9824-e11837661b57
parent fccfbe7a
...@@ -14519,7 +14519,7 @@ CDocument.prototype.Start_SelectionFromCurPos = function() ...@@ -14519,7 +14519,7 @@ CDocument.prototype.Start_SelectionFromCurPos = function()
} }
else if (docpostype_DrawingObjects === this.CurPos.Type) else if (docpostype_DrawingObjects === this.CurPos.Type)
{ {
return this.DrawingObject.startSelectionFromCurPos(); return this.DrawingObjects.startSelectionFromCurPos();
} }
else //if (docpostype_Content === this.CurPos.Type) else //if (docpostype_Content === this.CurPos.Type)
{ {
......
...@@ -9271,7 +9271,7 @@ CDocumentContent.prototype.Start_SelectionFromCurPos = function() ...@@ -9271,7 +9271,7 @@ CDocumentContent.prototype.Start_SelectionFromCurPos = function()
{ {
if (docpostype_DrawingObjects === this.CurPos.Type) if (docpostype_DrawingObjects === this.CurPos.Type)
{ {
return this.DrawingObject.startSelectionFromCurPos(); return this.DrawingObjects.startSelectionFromCurPos();
} }
else //if (docpostype_Content === this.CurPos.Type) else //if (docpostype_Content === this.CurPos.Type)
{ {
......
...@@ -1884,6 +1884,22 @@ CGraphicObjects.prototype = ...@@ -1884,6 +1884,22 @@ CGraphicObjects.prototype =
return this.canGroup(true); return this.canGroup(true);
}, },
startSelectionFromCurPos: function()
{
var content = this.getTargetDocContent();
if(content)
{
content.Start_SelectionFromCurPos();
}
},
Check_TrackObjects: function()
{
return this.arrTrackObjects.length > 0;
},
getGroup: DrawingObjectsController.prototype.getGroup, getGroup: DrawingObjectsController.prototype.getGroup,
addObjectOnPage: function(pageIndex, object) addObjectOnPage: function(pageIndex, object)
......
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