Commit a22bc5b0 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@64600 954022d7-b5bf-4e40-9824-e11837661b57
parent e8626332
...@@ -5873,7 +5873,7 @@ CDateAx.prototype = ...@@ -5873,7 +5873,7 @@ CDateAx.prototype =
}, },
Read_FromBinar2: function(r) Read_FromBinary2: function(r)
{ {
this.Id = r.GetString2(); this.Id = r.GetString2();
}, },
...@@ -7302,7 +7302,7 @@ CSerAx.prototype = ...@@ -7302,7 +7302,7 @@ CSerAx.prototype =
w.WriteString2(this.Get_Id()); w.WriteString2(this.Get_Id());
}, },
Read_FrommBinary2: function(r) Read_FromBinary2: function(r)
{ {
this.Id = r.GetString2(); this.Id = r.GetString2();
}, },
...@@ -9003,6 +9003,17 @@ CBandFmt.prototype = ...@@ -9003,6 +9003,17 @@ CBandFmt.prototype =
this.spPr = pr; this.spPr = pr;
}, },
Write_ToBinary2: function(w)
{
w.WriteLong(this.getObjectType());
w.WriteString2(this.Get_Id());
},
Read_FromBinary2: function(r)
{
this.Id = r.GetString2();
},
Undo: function(data) Undo: function(data)
{ {
switch (data.Type) switch (data.Type)
...@@ -17144,6 +17155,16 @@ COfPieChart.prototype = ...@@ -17144,6 +17155,16 @@ COfPieChart.prototype =
removeDataLabels: CBarChart.prototype.removeDataLabels, removeDataLabels: CBarChart.prototype.removeDataLabels,
Write_ToBinary2: function(w)
{
w.WriteLong(this.getObjectType());
w.WriteString2(this.Get_Id());
},
Read_FromBinary2: function(r)
{
this.Id = r.GetString2();
},
addCustSplit: function(pr) addCustSplit: function(pr)
{ {
...@@ -18688,6 +18709,17 @@ CPivotFmt.prototype = ...@@ -18688,6 +18709,17 @@ CPivotFmt.prototype =
return historyitem_type_PivotFmt; return historyitem_type_PivotFmt;
}, },
Write_ToBinary2: function(w)
{
w.WriteLong(this.getObjectType());
w.WriteString2(this.Get_Id());
},
Read_FromBinary2: function(r)
{
this.Id = r.GetString2();
},
setLbl: function(pr) setLbl: function(pr)
{ {
History.Add(this, {Type:historyitem_PivotFmt_SetDLbl, oldPr:this.dLbl, newPr: pr}); History.Add(this, {Type:historyitem_PivotFmt_SetDLbl, oldPr:this.dLbl, newPr: pr});
...@@ -18912,6 +18944,18 @@ CRadarChart.prototype = ...@@ -18912,6 +18944,18 @@ CRadarChart.prototype =
} }
}, },
Write_ToBinary2: function(w)
{
w.WriteLong(this.getObjectType());
w.WriteString2(this.Get_Id());
},
Read_FromBinary2: function(r)
{
this.Id = r.GetString2();
},
getSeriesConstructor: function() getSeriesConstructor: function()
{ {
return new CRadarSeries(); return new CRadarSeries();
...@@ -21815,6 +21859,18 @@ CStringLiteral.prototype = ...@@ -21815,6 +21859,18 @@ CStringLiteral.prototype =
return historyitem_type_StringLiteral; return historyitem_type_StringLiteral;
}, },
Write_ToBinary2: function(w)
{
w.WriteLong(this.getObjectType());
w.WriteString2(this.Get_Id());
},
Read_FromBinary2: function(r)
{
this.Id = r.GetString2();
},
setPt: function(pr) setPt: function(pr)
{ {
History.Add(this, {Type: historyitem_StringLiteral_SetPt, newPr: pr, oldPr: this.pt}); History.Add(this, {Type: historyitem_StringLiteral_SetPt, newPr: pr, oldPr: this.pt});
...@@ -23710,6 +23766,18 @@ CTrendLine.prototype = ...@@ -23710,6 +23766,18 @@ CTrendLine.prototype =
return c; return c;
}, },
Write_ToBinary2: function(w)
{
w.WriteLong(this.getObjectType());
w.WriteString2(this.Get_Id());
},
Read_FromBinary2: function(r)
{
this.Id = r.GetString2();
},
Undo: function(data) Undo: function(data)
{ {
switch (data.Type) switch (data.Type)
......
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