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

Bug 26955 - [Coversion] Не учитывается параметр spacing для текста

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60079 954022d7-b5bf-4e40-9824-e11837661b57
parent 829a94a6
......@@ -7081,7 +7081,7 @@ Paragraph.prototype =
Pr.ParaPr.Spacing.Before = 0;
}
}
else if ( true === Pr.ParaPr.Spacing.BeforeAutoSpacing )
else if ( true === Pr.ParaPr.Spacing.BeforeAutoSpacing || !(this.bFromDocument === true))
{
Pr.ParaPr.Spacing.Before = 0;
}
......@@ -7161,6 +7161,10 @@ Paragraph.prototype =
Pr.ParaPr.Spacing.After = 0;
}
}
else if(!(this.bFromDocument === true))
{
Pr.ParaPr.Spacing.After = 0;
}
else
Pr.ParaPr.Spacing.After = this.Internal_CalculateAutoSpacing( Pr.ParaPr.Spacing.After, Pr.ParaPr.Spacing.AfterAutoSpacing, this );
}
......
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