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
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.
-
Fedora 41 Released with New Features
If you're a Fedora fan or just looking for a Linux distribution to help you migrate from Windows, Fedora 41 might be just the ticket.
-
AlmaLinux OS Kitten 10 Gives Power Users a Sneak Preview
If you're looking to kick the tires of AlmaLinux's upstream version, the developers have a purrfect solution.
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.
-
VirtualBox 7.1.4 Includes Initial Support for Linux kernel 6.12
The latest version of VirtualBox has arrived and it not only adds initial support for kernel 6.12 but another feature that will make using the virtual machine tool much easier.