[Libreoffice-bugs] [Bug 117189] Wrong table formatting when redoing the adding of table rows

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Apr 28 08:32:24 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=117189

--- Comment #3 from Jim Raykowski <raykowj at gmail.com> ---
(In reply to Xisco FaulĂ­ from comment #2)
> The style in intermediate rows changed after
> https://cgit.freedesktop.org/libreoffice/core/commit/
> ?id=d1b13f486eacc60c9b71ec9f1b29cde2f4504d4e. Before this commits, all rows
> had the same style, now they have different styles for odd and even rows.

Pre patch this depends on where autoformat table style is selected. From the
Insert Table dialog all rows added with tab have the same formatting as the
last row. In this case the autoformat table style is only applied to the table
when inserted. It is not assigned to the table. If the table style is selected
from the Sidebar Styles deck Table Styles then the autoformat table style is
assigned to the table and all rows added with tab follow the autoformat Table
style. This may result in different styles for odd and even rows.

The patch simply assigns the table style to the table when selected in the
Insert Table dialog like when a table style is selected from the Sidebar.

Tables that are assigned an autoformat table style only work as expected if no
direct formatting is made. This has always been the case. Direct table
formatting does not persist in tables that have been assigned an autoformat
table style. Patches [1][2] submitted for bug 115573 attempt to address some of
this.

> @Jim, one for you?

looks fun! I will see what I can do :)  

[1] https://gerrit.libreoffice.org/#/c/50612/
[2] https://gerrit.libreoffice.org/#/c/51990/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180428/35e6f23d/attachment-0001.html>


More information about the Libreoffice-bugs mailing list