https://bugs.documentfoundation.org/show_bug.cgi?id=126008
Maxim Monastirsky <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #18 from Maxim Monastirsky <[email protected]> ---
(In reply to Aron Budea from comment #16)
> Do you know what the reason for that could be? It's really not clear
> to me why everything should be reset to the table style, it makes any direct
> formatting in a table useless.
As Jim said, that's how table styles were implemented right from the beginning.
Here are the relevant commits:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=ac6f8bc92b1abe995694602f43d8ad108b7030fb
https://cgit.freedesktop.org/libreoffice/core/commit/?id=73f4a06c0bce51c7c8b9ae9adfdc7ffac27d06b4
I don't think that the current behavior was on purpose; it just that the
implementation was not completed, and no one made any fixes to it since initial
introduction.
> I think the reasonable expectation would be
> that nothing changes when deleting a row/column,
It's not that simple, e.g. table styles support banded columns and a different
last column, so when deleting columns the formatting of the nearby columns
might need to be adjusted. Of course this should not touch direct formatting
that was explicitly applied by the user.
> Also, the steps in comment 5 certainly have a different outcome before the
> mentioned commit and now.
That commit only made the table insert dialog apply the table style, instead of
just direct formatting based on it. You could reproduce the bug before it, by
manually applying a table style from the sidebar.
(In reply to Jim Raykowski from comment #17)
> I suggested that table styles
> could be used as a template by programmatically changing to no table style
> after table style was used for initial creation of a table or application to
> existing table.
Table templates ("AutoFormat") is exactly how it used to work before the table
styles work. I'm not sure that reverting the table styles work is good idea in
the long run. It will be better to find and fix the bugs in it.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs