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

Bug 24670 - Автофигуру невозможно выделить, если она была скопирована в другую фигуру

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56634 954022d7-b5bf-4e40-9824-e11837661b57
parent 7dc82025
...@@ -250,6 +250,15 @@ function handleInlineShapeImage(drawing, drawingObjectsController, e, x, y, page ...@@ -250,6 +250,15 @@ function handleInlineShapeImage(drawing, drawingObjectsController, e, x, y, page
} }
else if(b_hit_to_text) else if(b_hit_to_text)
{ {
var all_drawings = drawing.getDocContent().Get_AllDrawingObjects();
var drawings2 = [];
for(var i = 0; i < all_drawings.length; ++i)
{
drawings2.push(all_drawings[i].GraphicObj);
}
var ret = handleInlineObjects(drawingObjectsController, drawings2, e, x, y, pageIndex, true);
if(ret)
return ret;
return drawingObjectsController.handleTextHit(drawing, e, x, y, null, pageIndex, true); return drawingObjectsController.handleTextHit(drawing, e, x, y, null, pageIndex, true);
} }
} }
......
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