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

правка бага 21121 - [pptx] Ошибки в консоли при открытии презентации и...

правка бага 21121 - [pptx] Ошибки в консоли при открытии презентации и перемещения курсора на определенном слайде

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50776 954022d7-b5bf-4e40-9824-e11837661b57
parent 0344a31d
......@@ -133,6 +133,11 @@ CGraphicFrame.prototype =
}
return [];
},
hitInPath: function()
{
return false;
},
setGraphicObject: function(graphicObject)
{
History.Add(this, {Type: historyitem_SetGraphicObject, oldPr: this.graphicObject, newPr: graphicObject});
......@@ -651,6 +656,11 @@ CGraphicFrame.prototype =
return x_t > 0 && x_t < this.extX && y_t > 0 && y_t < this.extY;
},
hitInTextRect: function(x, y)
{
return this.hitInInnerArea(x, y);
},
getInvertTransform: function()
{
if(this.recalcInfo.recalculateTransform)
......
......@@ -443,11 +443,21 @@ CGroupShape.prototype =
canRotate: function()
{
for(var i = 0; i < this.arrGraphicObjects.length; ++i)
{
if(this.arrGraphicObjects[i] instanceof CGraphicFrame)
return false
}
return true;
},
canResize: function()
{
for(var i = 0; i < this.arrGraphicObjects.length; ++i)
{
if(this.arrGraphicObjects[i] instanceof CGraphicFrame)
return false
}
return true;//TODO
},
......@@ -458,6 +468,7 @@ CGroupShape.prototype =
canGroup: function()
{
return true;//TODO
},
......
......@@ -309,7 +309,10 @@ CGraphicObjects.prototype = {
{
cur_drawing.sendMouseData();
grouped_objects[j].txBody.updateCursorType(x, y, e);
if(grouped_objects[j].txBody)
grouped_objects[j].txBody.updateCursorType(x, y, e);
else
grouped_objects[j].updateCursorType(x, y, e);
return;
}
}
......
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