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

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51352 954022d7-b5bf-4e40-9824-e11837661b57
parent 1bae5f84
...@@ -2848,7 +2848,7 @@ function DrawingObjects() { ...@@ -2848,7 +2848,7 @@ function DrawingObjects() {
drawingObject.graphicObject.spPr.xfrm.setPosition(metrics.x, metrics.y); drawingObject.graphicObject.spPr.xfrm.setPosition(metrics.x, metrics.y);
drawingObject.graphicObject.spPr.xfrm.setExtents(metrics.extX, metrics.extY); drawingObject.graphicObject.spPr.xfrm.setExtents(metrics.extX, metrics.extY);
} }
drawingObject.graphicObject.recalculate(); drawingObject.graphicObject.recalculate(aImagesSync);
aObjects.push( drawingObject ); aObjects.push( drawingObject );
var boundsChecker = _this.getBoundsChecker(drawingObject); var boundsChecker = _this.getBoundsChecker(drawingObject);
...@@ -2895,7 +2895,10 @@ function DrawingObjects() { ...@@ -2895,7 +2895,10 @@ function DrawingObjects() {
//drawingObject.graphicObject.spPr.xfrm.setChildOffsets(0, 0); //drawingObject.graphicObject.spPr.xfrm.setChildOffsets(0, 0);
} }
drawingObject.graphicObject.setDrawingDocument(this.drawingDocument); drawingObject.graphicObject.setDrawingDocument(this.drawingDocument);
var old_len = aImagesSync.length;
drawingObject.graphicObject.recalculate(aImagesSync); drawingObject.graphicObject.recalculate(aImagesSync);
if(aImagesSync.length > old_len)
aObjectsSync[aObjectsSync.length] = drawingObject;
aObjects.push( drawingObject ); aObjects.push( drawingObject );
var boundsChecker = _this.getBoundsChecker(drawingObject); var boundsChecker = _this.getBoundsChecker(drawingObject);
......
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