Commit 32db698a authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #32907. Fixed bug with auto space after inside a table.

parent 454b0bd6
...@@ -7853,12 +7853,18 @@ Paragraph.prototype = ...@@ -7853,12 +7853,18 @@ Paragraph.prototype =
Pr.ParaPr.Spacing.After = 0; Pr.ParaPr.Spacing.After = 0;
} }
} }
else if (true === this.Parent.Is_TableCellContent() && true === Pr.ParaPr.Spacing.AfterAutoSpacing)
{
Pr.ParaPr.Spacing.After = 0;
}
else if(!(this.bFromDocument === true)) else if(!(this.bFromDocument === true))
{ {
Pr.ParaPr.Spacing.After = 0; Pr.ParaPr.Spacing.After = 0;
} }
else else
Pr.ParaPr.Spacing.After = this.Internal_CalculateAutoSpacing( Pr.ParaPr.Spacing.After, Pr.ParaPr.Spacing.AfterAutoSpacing, this ); {
Pr.ParaPr.Spacing.After = this.Internal_CalculateAutoSpacing(Pr.ParaPr.Spacing.After, Pr.ParaPr.Spacing.AfterAutoSpacing, this);
}
} }
return Pr; return Pr;
......
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