Commit 57d3a33a 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@49819 954022d7-b5bf-4e40-9824-e11837661b57
parent 2732a7fc
......@@ -216,9 +216,14 @@ CGroupShape.prototype =
addToSpTree: function(grObject)
{
var obj;
if(isRealObject(grObject))
obj = grObject;
else
obj = arguments[1];
History.Add(g_oUndoRedoGraphicObjects, historyitem_AutoShapes_AddToSpTree, null, null,
new UndoRedoDataGraphicObjects(this.Get_Id(), new UndoRedoDataGOSingleProp(grObject.Get_Id(), null)));
this.spTree.push(grObject);
new UndoRedoDataGraphicObjects(this.Get_Id(), new UndoRedoDataGOSingleProp(obj.Get_Id(), null)));
this.spTree.push(obj);
this.recalcInfo.recalculateArrGraphicObjects = true;
},
......@@ -1660,6 +1665,17 @@ CGroupShape.prototype =
return ShapeToImageConverter(this, this.pageIndex).ImageUrl;
},
setNvSpPr: function(pr)
{
this.nvSpPr = pr;
},
setSpPr: function(pr)
{
this.spPr = pr;
},
readFromBinaryForCopyPaste: function(r, group, drawingObjects, x, y)
{
......
......@@ -1095,6 +1095,17 @@ CImageShape.prototype =
}
},
setNvSpPr: function(pr)
{
this.nvSpPr = pr;
},
setSpPr: function(pr)
{
this.spPr = pr;
},
getBase64Image: function()
{
return ShapeToImageConverter(this, this.pageIndex).ImageUrl;
......
......@@ -2868,6 +2868,27 @@ CShape.prototype =
}
},
setNvSpPr: function(pr)
{
this.nvSpPr = pr;
},
setSpPr: function(pr)
{
this.spPr = pr;
},
setTextBody: function(txBody)
{
this.txBody = txBody;
},
setBodyPr: function(bodyPr)
{
this.txBody.bodyPr = bodyPr;
},
getBase64Image: function()
{
return ShapeToImageConverter(this, this.pageIndex).ImageUrl;
......
......@@ -434,6 +434,19 @@ CTextBody.prototype =
},
setLstStyle: function(lstStyle)
{
this.lstStyle = lstStyle;
},
setDocContent: function(docContent)
{
this.content = docContent;
},
setShape: function(shape)
{
var oldId = isRealObject(this.shape) ? this.shape.Get_Id() : null;
......
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