diff --git a/Excel/model/DrawingObjects/Format/GroupShape.js b/Excel/model/DrawingObjects/Format/GroupShape.js index a0c30dcbee..1c97001d12 100644 --- a/Excel/model/DrawingObjects/Format/GroupShape.js +++ b/Excel/model/DrawingObjects/Format/GroupShape.js @@ -1627,6 +1627,7 @@ CGroupShape.prototype = writeToBinaryForCopyPaste: function(w) { + w.WriteLong(CLASS_TYPE_GROUP); this.spPr.Write_ToBinary2(w); w.WriteLong(this.spTree.length); for(var i = 0; i < this.spTree.length; ++i) @@ -1684,9 +1685,6 @@ CGroupShape.prototype = if(!isRealObject(group)) { this.recalculate(); - this.recalculateTransform(); - this.calculateContent(); - this.calculateTransformTextMatrix(); } } diff --git a/Excel/model/DrawingObjects/Format/Image.js b/Excel/model/DrawingObjects/Format/Image.js index 936c286ea3..7bb74c8b8b 100644 --- a/Excel/model/DrawingObjects/Format/Image.js +++ b/Excel/model/DrawingObjects/Format/Image.js @@ -1077,7 +1077,7 @@ CImageShape.prototype = writeToBinaryForCopyPaste: function(w) { - + w.WriteLong(CLASS_TYPE_IMAGE); this.blipFill.Write_ToBinary2(w); this.spPr.Write_ToBinary2(w); return "TeamLabImage" + w.pos + ";" + w.GetBase64Memory(); diff --git a/Excel/model/DrawingObjects/Format/Shape.js b/Excel/model/DrawingObjects/Format/Shape.js index 06d88f2570..420fad31cc 100644 --- a/Excel/model/DrawingObjects/Format/Shape.js +++ b/Excel/model/DrawingObjects/Format/Shape.js @@ -2807,6 +2807,7 @@ CShape.prototype = writeToBinaryForCopyPaste: function(w) { + w.WriteLong(CLASS_TYPE_SHAPE); this.spPr.Write_ToBinary2(w); w.WriteBool(isRealObject(this.style)); if(isRealObject(this.style))