Bug 34391

Summary: FORMATTING feature request: Table Cell Styles / Table Styles (Writer)
Product: LibreOffice Reporter: sasha.libreoffice
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: medium CC: cno, dpashk, emanuele.gissi, farfouille64, gdna, gerry.treppel, glutanimate, sasha.libreoffice, simos.bugzilla, s.mehrbrodt, sugeng, thom, vulcain
Version: 3.6.2.2 release   
Hardware: All   
OS: All   
See Also: https://issues.apache.org/ooo/show_bug.cgi?id=11121
https://bugs.freedesktop.org/show_bug.cgi?id=44762
https://bugs.freedesktop.org/show_bug.cgi?id=44525
Whiteboard:
i915 platform: i915 features:

Description sasha.libreoffice 2011-02-17 06:04:58 UTC
Especially for creating HTML documents it is important to have table cell styles. HTML document with complex cells will then more compact, understandable and beauty.

For example without cell styles cell definition in html will something like this:

<TD WIDTH=25% BGCOLOR="#ff00ff" STYLE="border-top: none; border-bottom: 1.00pt solid #c0c0c0; border-left: 2.50pt solid #355e00; border-right: none; padding-top: 0cm; padding-bottom: 0.4cm; padding-left: 0.4cm; padding-right: 0cm">
<P CLASS="western"><BR>	</P></TD>

And using cell style something like this:

</TD><TD CLASS ="sum"> 	</P></TD>

it is more compact , understandable and editable for beginner and professional users.
Comment 1 pz1 2011-03-14 01:56:50 UTC
A cell style would not only be beneficial for HTML, but very much so for plain documents, where a strict corporate identity is required.  I have tried to achieve this with table autoformat, but these elements do not store all elements like different distances to borders correctly. (In contrast to what is said in the tutorial http://wiki.services.openoffice.org/wiki/Documentation/OOoAuthors_User_Manual/Writer_Guide/Formatting_a_table#AutoFormatting_tables)

If a table cell style were implemented, for me there no longer is a pressing need to fix bug 31005.
Comment 2 Nikos 2011-10-13 06:56:45 UTC
Since this is an enhancement request, I just wanted to bring back into memory that this had quite a lot of support in the OO.org days.

openoffice.org/bugzilla/show_bug.cgi?id=11121
Comment 3 Björn Michaelsen 2011-12-23 11:45:56 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 4 sasha.libreoffice 2012-01-02 02:30:08 UTC
remains in LibO 3.5.0 beta 1
Comment 5 Thom Brown 2012-09-16 21:55:38 UTC
This is exactly what I need. I format my table heading cells with a coloured background, but this has to be done manually. If I edit the Table Heading paragraph style so that the background is a different colour, it doesn't change the cell's colour, only the paragraph, so the colour doesn't fill the whole cell. So it's currently impossible to give any table cells or tables a style that affects it at the cell level rather than paragraph.
Comment 6 Urmas 2012-09-26 14:45:32 UTC
*** Bug 55333 has been marked as a duplicate of this bug. ***
Comment 7 sugeng 2012-10-13 01:37:39 UTC
I want to ask the same thing :

new style category : table

it would be very useful.
Comment 8 Gerry 2013-01-26 10:55:50 UTC
One of the strongest points for LibreOffice Writer is the strong and powerful reliance on formatting styles. Currently, LibreOffice supports styles for pages, paragraphs, characters, frames and lists. Styles for tables are severely missing, though. This enhancement would dramatically increase formatting abilities for structured documents, for DTP-like use. It would simplify keeping a number of documents in one style.

The feature "Table"->"Autoformat" does something similar to table styles, but it is much less powerful (Autoformats are not editable) and it is highly inconsistent with the general use of styles in LibreOffice.

Proposition: Add support for real styles for tables in LibreOffice. Create a new section in the Stylist called "Table Style" (also allow to edit table styles).

Competitive assessment: Microsoft Office supports table styles since 2007. 

History of request: Please keep in mind that this enhancement request exsists since 2003 (OpenOffice) and has 103 votes in the AOO bug tracker.
Comment 9 Samuel Mehrbrodt 2013-02-08 13:10:37 UTC
Whoever implements this, gets a bounty: 
http://www.freedomsponsors.org/core/issue/158/formatting-feature-request-table-cell-styles-table-styles-writer

Others, feel free to increase that bounty :)
Comment 10 David 2013-10-01 01:20:39 UTC
Table styles is a desperately needed feature!
Comment 11 Owen Genat 2014-01-20 22:48:42 UTC
Related Apache OO issue (from comment #2) removed from URL field and added to See Also list.
Comment 12 Gerry 2014-04-17 10:52:59 UTC
Maybe a good solution for this enhancement "Table Styles in Writer" could be an integration with the related existing Calc feature "Choose themes": bug 77569

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.