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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49553 954022d7-b5bf-4e40-9824-e11837661b57
parent 27526ee5
......@@ -1638,6 +1638,11 @@ CChartAsGroup.prototype =
this.spPr.xfrm.setPosition(x, y);
this.init();
this.recalculate();
},
getBase64Image: function()
{
return this.brush.fill.canvas.toDataURL();
}
};
......@@ -4218,6 +4218,8 @@ function CSpPr()
var boolBWMode = this.bwMode == 1;
Writer.WriteBool(boolBWMode);
Writer.WriteBool(isRealObject(this.xfrm));
if(isRealObject(this.xfrm))
this.xfrm.Write_ToBinary2(Writer);
var flag = this.geometry != null;
Writer.WriteBool(flag);
......@@ -4242,11 +4244,14 @@ function CSpPr()
var boolBWMode = Reader.GetBool();
this.bwMode = boolBWMode ? 1 : 0;
if(Reader.GetBool())
{
if(!this.xfrm)
{
this.xfrm = new CXfrm();
}
this.xfrm.Read_FromBinary2(Reader);
}
var flag = Reader.GetBool();
if(flag)
{
......
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