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

Исправлен баг с копированием стилей (баг 20838).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50495 954022d7-b5bf-4e40-9824-e11837661b57
parent 143d6b7c
...@@ -9309,18 +9309,18 @@ Paragraph.prototype = ...@@ -9309,18 +9309,18 @@ Paragraph.prototype =
if ( undefined != ParaPr.Shd ) if ( undefined != ParaPr.Shd )
this.Set_Shd( ParaPr.Shd, false ); this.Set_Shd( ParaPr.Shd, false );
// StyleId
if ( undefined != ParaPr.PStyle )
this.Style_Add( ParaPr.PStyle, true );
else
this.Style_Remove();
// NumPr // NumPr
if ( undefined != ParaPr.NumPr ) if ( undefined != ParaPr.NumPr )
this.Numbering_Set( ParaPr.NumPr.NumId, ParaPr.NumPr.Lvl ); this.Numbering_Set( ParaPr.NumPr.NumId, ParaPr.NumPr.Lvl );
else else
this.Numbering_Remove(); this.Numbering_Remove();
// StyleId
if ( undefined != ParaPr.PStyle )
this.Style_Add( ParaPr.PStyle, true );
else
this.Style_Remove();
// Brd // Brd
if ( undefined != ParaPr.Brd ) if ( undefined != ParaPr.Brd )
this.Set_Borders( ParaPr.Brd ); this.Set_Borders( ParaPr.Brd );
......
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