Waiting for LibreOffice Table Styles

Off the Beat: Bruce Byfield's Blog
Like most word processors, LibreOffice Writer includes character and paragraph styles. However, Writer draws much of its power as a mid-level desktop publisher from the addition of frame, list, and page styles. Yet one type is has lacked ever since it was a proprietary application called StarDivision two decades ago is table styles. It is only in 2016's Google Summer of Code (GSOC) that a focused effort is planned to implement table styles at last.
Instead, Writer has what it calls Autoformats. Once a table is added to a document, Tables> Autoformat offers what I call pseudo-styles. By that, I mean that, although Autoformats quickly format a table and can be created by users, they otherwise do not act like styles. Each Autoformat is a collection of manual changes, so that if you want to change the format of two identically formatted tables, you have to do so one table at a time, instead of changing the Autoformat and having the changes automatically update every table that uses the Autoformat. Nor are Autoformats hierarchical, so that changing a parent automatically changes its children. They can't be imported into another document, either.
In fact, Autoformats are physically separate from the true styles, being listed in the Table main menu, and not in the Styles and Formatting window. They are better than doing the manual formatting for each table yourself, but you could achieve much the same convenience by copying and pasting.
These limitations are obvious to anyone who works with tables in LibreOffice. I noticed them in OpenOffice.org around 2001, and I am unlikely to have been the first. However, Sun Microsystems, which owned OpenOffice.org for years, was notoriously conservative about changes in features, let alone structure. Similarly, athough LibreOffice is far more open to change than its predecessor, Sun's conservatism left LibreOffice developers with so much to do that they can hardly be blamed for taking some time to get around to table styles.
Establishing the base camp
According to Jan Holešovský-Kendy, in 2013, GSOC student Alex Ivan worked on implementing table styles, but did not complete the work, or leave it in usable form. Blogging in October 2015, Jan Holešovský-Kendy explained how, starting with Ivan's code, he had worked to make the existing Autoformat behave more like table styes with some success. For example, in recent LibreOffice releases, a new row or column automatically has the Autoformat of its table applied to it, and no longer has to have the Autoformat applied separately -- a small, but welcome improvement.
Work in 2016 will apparently be based on a LibreOffice Design Team blog post in December 15. Noting that Open Document Format, LibreOffice's file format, contains all the necessary tags for implementing table styles, the blog post includes a single dialog window that would almost surely be divided along the lines of existing style, with an Organizer tab, complete with a formatting summary and a preview, and separate panes for Properties that would allow the specification of a particular part of a table, such as Odd Rows, as well as Cells, Border, and Text.
Assuming that Table styles, like other styles, would re-use exist tabs as much as possible, I would assume that far more features would become available than shown in the markup. Probably, too, table styles would become available in the Styles and Formatting window and the Format main menu, and perhaps the Table main menu and right-click menu as well.
Possible Lessons from FrameMaker
Until now, my concept of table styles has been influenced mainly by FrameMaker. FrameMaker is a documentation and text layout tool popular among technical writers. It is frequently criticized for being slow to implement new features, but in expert hands its tools can be more than enough for complex results.
Comparing the LibreOffice proposal to FrameMaker's table styles dialog, I suspect that LibreOffice developers have already borrowed ideas, such as the ability to choose table elements for individual formatting -- although perhaps the similarities are due to the constraints of tables rather than borrowing.
However, I hope that LibreOffice will also consider other aspects of Framemaker's implementation, such as a selection of row and column structures, and the selection of multiple elements to produce formatting patterns, such as adding a particular shade to every second row. Other useful formats might include adding separators to the list of borders, so that rows and columns can be visually grouped together, and a unique border to indicate the bottom of a table.
According to the Design Team blog, work was already advanced in developing the concept of table styles, so this time they might actually happen.
I can only hope so. Tables are a common element in Writer documents, and Autoformats ought to have become extinct years ago.
comments powered by DisqusSubscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.
News
-
Zorin OS 17 Beta Available for Testing
The upcoming version of Zorin OS includes plenty of improvements to take your PC to a whole new level of user-friendliness.
-
Red Hat Migrates RHEL from Xorg to Wayland
If you've been wondering when Xorg will finally be a thing of the past, wonder no more, as Red Hat has made it clear.
-
PipeWire 1.0 Officially Released
PipeWire was created to take the place of the oft-troubled PulseAudio and has finally reached the 1.0 status as a major update with plenty of improvements and the usual bug fixes.
-
Rocky Linux 9.3 Available for Download
The latest version of the RHEL alternative is now available and brings back cloud and container images for ppc64le along with plenty of new features and fixes.
-
Ubuntu Budgie Shifts How to Tackle Wayland
Ubuntu Budgie has yet to make the switch to Wayland but with a change in approaches, they're finally on track to making it happen.
-
TUXEDO's New Ultraportable Linux Workstation Released
The TUXEDO Pulse 14 blends portability with power, thanks to the AMD Ryzen 7 7840HS CPU.
-
AlmaLinux Will No Longer Be "Just Another RHEL Clone"
With the release of AlmaLinux 9.3, the distribution will be built entirely from upstream sources.
-
elementary OS 8 Has a Big Surprise in Store
When elementary OS 8 finally arrives, it will not only be based on Ubuntu 24.04 but it will also default to Wayland for better performance and security.
-
OpenELA Releases Enterprise Linux Source Code
With Red Hat restricting the source for RHEL, it was only a matter of time before those who depended on that source struck out on their own.
-
StripedFly Malware Hiding in Plain Sight as a Cryptocurrency Miner
A rather deceptive piece of malware has infected 1 million Windows and Linux hosts since 2017.