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
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
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.