Commit 0e9d5e7e authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Реализовано отслеживаение изменений настроек параграфа в режиме рецензирования.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63880 954022d7-b5bf-4e40-9824-e11837661b57
parent 7e6ecfda
This diff is collapsed.
...@@ -9413,11 +9413,13 @@ function CParaPr() ...@@ -9413,11 +9413,13 @@ function CParaPr()
this.DefaultRunPr = undefined; this.DefaultRunPr = undefined;
this.Bullet = undefined; this.Bullet = undefined;
this.Lvl = undefined; this.Lvl = undefined;
this.PrChange = undefined;
} }
CParaPr.prototype = CParaPr.prototype =
{ {
Copy : function() Copy : function(bCopyPrChange)
{ {
var ParaPr = new CParaPr(); var ParaPr = new CParaPr();
...@@ -9479,6 +9481,10 @@ CParaPr.prototype = ...@@ -9479,6 +9481,10 @@ CParaPr.prototype =
if(undefined != this.Lvl) if(undefined != this.Lvl)
ParaPr.Lvl = this.Lvl; ParaPr.Lvl = this.Lvl;
if (true === bCopyPrChange && undefined !== this.PrChange)
ParaPr.PrChange = this.PrChange.Copy();
return ParaPr; return ParaPr;
}, },
...@@ -10191,6 +10197,24 @@ CParaPr.prototype = ...@@ -10191,6 +10197,24 @@ CParaPr.prototype =
} }
} }
return Bullet; return Bullet;
},
Have_PrChange : function()
{
if (undefined === this.PrChange || null === this.PrChange)
return false;
return true;
},
Add_PrChange : function()
{
this.PrChange = this.Copy();
},
Remove_PrChange : function()
{
delete this.PrChange;
} }
} }
......
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