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 = ...@@ -1638,6 +1638,11 @@ CChartAsGroup.prototype =
this.spPr.xfrm.setPosition(x, y); this.spPr.xfrm.setPosition(x, y);
this.init(); this.init();
this.recalculate(); this.recalculate();
},
getBase64Image: function()
{
return this.brush.fill.canvas.toDataURL();
} }
}; };
...@@ -4218,6 +4218,8 @@ function CSpPr() ...@@ -4218,6 +4218,8 @@ function CSpPr()
var boolBWMode = this.bwMode == 1; var boolBWMode = this.bwMode == 1;
Writer.WriteBool(boolBWMode); Writer.WriteBool(boolBWMode);
Writer.WriteBool(isRealObject(this.xfrm));
if(isRealObject(this.xfrm))
this.xfrm.Write_ToBinary2(Writer); this.xfrm.Write_ToBinary2(Writer);
var flag = this.geometry != null; var flag = this.geometry != null;
Writer.WriteBool(flag); Writer.WriteBool(flag);
...@@ -4242,11 +4244,14 @@ function CSpPr() ...@@ -4242,11 +4244,14 @@ function CSpPr()
var boolBWMode = Reader.GetBool(); var boolBWMode = Reader.GetBool();
this.bwMode = boolBWMode ? 1 : 0; this.bwMode = boolBWMode ? 1 : 0;
if(Reader.GetBool())
{
if(!this.xfrm) if(!this.xfrm)
{ {
this.xfrm = new CXfrm(); this.xfrm = new CXfrm();
} }
this.xfrm.Read_FromBinary2(Reader); this.xfrm.Read_FromBinary2(Reader);
}
var flag = Reader.GetBool(); var flag = Reader.GetBool();
if(flag) 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