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

правка бага 21101

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50565 954022d7-b5bf-4e40-9824-e11837661b57
parent 8be4218d
......@@ -9410,6 +9410,7 @@ Paragraph.prototype =
Style_Add : function(Id, bDoNotDeleteProps)
{
return;
this.RecalcInfo.Set_Type_0(pararecalc_0_All);
var Id_old = this.Pr.PStyle;
......
......@@ -370,7 +370,7 @@ CShape.prototype =
uni_fill.fill.color = (new CUniColor());
uni_fill.fill.color.color = (new CSchemeColor());
uni_fill.fill.color.color.id = (12);
this.setUniFill(uni_fill);
this.setFill(uni_fill);
var ln = new CLn();
ln.w = (6350);
......@@ -379,8 +379,8 @@ CShape.prototype =
ln.Fill.fill.color = (new CUniColor());
ln.Fill.fill.color.color = (new CPrstColor());
ln.Fill.fill.color.color.id = ("black");
this.setUniLine(ln);
this.addTextBody(new CTextBody(this));
this.setLine(ln);
this.setTextBody(new CTextBody(this));
editor.WordControl.m_oLogicDocument.recalcMap[this.Id] = this;
},
......@@ -3426,6 +3426,14 @@ CShape.prototype =
this.recalcInfo.recalculateTransparent = true;
editor.WordControl.m_oLogicDocument.recalcMap[this.Id] = this;
},
setFill: function(fill)
{
var old_fill = this.spPr.Fill;
this.spPr.Fill = fill;
var new_fill = this.spPr.Fill.createDuplicate();
History.Add(this, {Type: historyitem_SetShapeSetFill, oldFill: old_fill, newFill: new_fill});
},
changeLine : function(line)
{
......
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