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

Bug 27642 - [Copy&Paste] Select рисуется рядом с фигурой у которой изменены...

Bug 27642 - [Copy&Paste] Select рисуется рядом с фигурой у которой изменены границы обтекания, после ее cut&paste из группы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59946 954022d7-b5bf-4e40-9824-e11837661b57
parent 3d1aaebf
......@@ -1048,6 +1048,11 @@ CGraphicObjects.prototype =
drawing = new ParaDrawing(0, 0, selectedObjects[i].copy(), this.document.DrawingDocument, this.document, null);
drawing.Set_DrawingType(groupParaDrawing.DrawingType);
drawing.GraphicObj.setParent(drawing);
if(drawing.GraphicObj.spPr && drawing.GraphicObj.spPr.xfrm && isRealNumber(drawing.GraphicObj.spPr.xfrm.offX) && isRealNumber(drawing.GraphicObj.spPr.xfrm.offY))
{
drawing.GraphicObj.spPr.xfrm.setOffX(0);
drawing.GraphicObj.spPr.xfrm.setOffY(0);
}
drawing.Update_Size(selectedObjects[i].bounds.w, selectedObjects[i].bounds.h);
if(groupParaDrawing.DrawingType === drawing_Anchor)
{
......
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