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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51023 954022d7-b5bf-4e40-9824-e11837661b57
parent 02fe61a6
......@@ -2880,11 +2880,12 @@ function DrawingObjects() {
}
if(isRealObject(drawingObject.graphicObject.drawingBase))
{
var metrics = drawingObject.graphicObject.drawingBase.getGraphicObjectMetrics();
drawingObject.graphicObject.setXfrmObject(new CXfrm());
drawingObject.graphicObject.spPr.xfrm.setPosition(metrics.x, metrics.y);
drawingObject.graphicObject.spPr.xfrm.setChildExtents(metrics.extX, metrics.extY);
drawingObject.graphicObject.spPr.xfrm.setChildOffsets(0, 0);
//var metrics = drawingObject.graphicObject.drawingBase.getGraphicObjectMetrics();
//drawingObject.graphicObject.setXfrmObject(new CXfrm());
//drawingObject.graphicObject.spPr.xfrm.setPosition(metrics.x, metrics.y);
//drawingObject.graphicObject.spPr.xfrm.setExtents(metrics.extX, metrics.extY);
//drawingObject.graphicObject.spPr.xfrm.setChildExtents(metrics.extX, metrics.extY);
//drawingObject.graphicObject.spPr.xfrm.setChildOffsets(0, 0);
}
drawingObject.graphicObject.setDrawingDocument(this.drawingDocument);
drawingObject.graphicObject.recalculate(aImagesSync);
......
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