diff --git a/Excel/model/DrawingObjects/Format/GroupShape.js b/Excel/model/DrawingObjects/Format/GroupShape.js index 01dafc53f0..4b1c0d3068 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) @@ -1644,6 +1645,7 @@ CGroupShape.prototype = readFromBinaryForCopyPaste: function(r, group, drawingObjects) { + this.group = group; this.drawingObjects = drawingObjects; this.spPr.Read_FromBinary2(r); diff --git a/Excel/model/DrawingObjects/Format/Image.js b/Excel/model/DrawingObjects/Format/Image.js index f25e82f3f7..23d409317d 100644 --- a/Excel/model/DrawingObjects/Format/Image.js +++ b/Excel/model/DrawingObjects/Format/Image.js @@ -1059,6 +1059,8 @@ CImageShape.prototype = writeToBinaryForCopyPaste: function(w) { + + w.WriteLong(CLASS_TYPE_IMAGE); this.blipFill.Write_ToBinary2(w); this.spPr.Write_ToBinary2(w); @@ -1079,5 +1081,4 @@ CImageShape.prototype = this.calculateTransformTextMatrix(); } } - }; \ No newline at end of file diff --git a/Excel/model/DrawingObjects/Format/Shape.js b/Excel/model/DrawingObjects/Format/Shape.js index b7ab7f9805..457be4f6f2 100644 --- a/Excel/model/DrawingObjects/Format/Shape.js +++ b/Excel/model/DrawingObjects/Format/Shape.js @@ -2790,6 +2790,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))