Commit 596e6a3e authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix bug 34317; add InsertWatermark to export

parent 948f2e10
......@@ -243,7 +243,7 @@ AscCommon.extendClass(CGroupShape, AscFormat.CGraphicObjectBase);
var aSplicedShape = this.spTree.splice(pos, 1);
History.Add(new AscDFH.CChangesDrawingsContent(this,AscDFH.historyitem_GroupShapeRemoveFromSpTree, pos, aSplicedShape, false));
this.handleUpdateSpTree();
return aSplicedShape;
return aSplicedShape[0];
};
CGroupShape.prototype.handleUpdateSpTree = function()
......
......@@ -1489,7 +1489,7 @@
// ApiParagraph
//
//------------------------------------------------------------------------------------------------------------------
/**
* Insert watermark in the header of document
* @param {?string} } [sText="Watermark"]
......@@ -4466,6 +4466,7 @@
ApiDocument.prototype["InsertContent"] = ApiDocument.prototype.InsertContent;
ApiDocument.prototype["GetCommentsReport"] = ApiDocument.prototype.GetCommentsReport;
ApiDocument.prototype["GetReviewReport"] = ApiDocument.prototype.GetReviewReport;
ApiDocument.prototype["InsertWatermark"] = ApiDocument.prototype.InsertWatermark;
ApiParagraph.prototype["GetClassType"] = ApiParagraph.prototype.GetClassType;
ApiParagraph.prototype["AddText"] = ApiParagraph.prototype.AddText;
......
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