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
-
Kali Linux Waxes Nostalgic with BackTrack Mode
For those who've used Kali Linux since its inception, the changes with the new release are sure to put a smile on your face.
-
Gnome 50 Smooths Out NVIDIA GPU Issues
Gamers rejoice, your favorite pastime just got better with Gnome 50 and NVIDIA GPUs.
-
System76 Retools Thelio Desktop
The new Thelio Mira has landed with improved performance, repairability, and front-facing ports alongside a high-quality tempered glass facade.
-
Some Linux Distros Skirt Age Verification Laws
After California introduced an age verification law recently, open source operating system developers have had to get creative with how they deal with it.
-
UN Creates Open Source Portal
In a quest to strengthen open source collaboration, the United Nations Office of Information and Communications Technology has created a new portal.
-
Latest Linux Kernel RC Contains Changes Galore
Linux kernel 7.0-rc3 includes more changes than have been made in a single release in recent history.
-
Nitrux 6.0 Now Ready to Rock Your World
The latest iteration of the Debian-based distribution includes all kinds of newness.
-
Linux Foundation Reports that Open Source Delivers Better ROI
In a report that may surprise no one in the Linux community, the Linux Foundation found that businesses are finding a 5X return on investment with open source software.
-
Keep Android Open
Google has announced that, soon, anyone looking to develop Android apps will have to first register centrally with Google.
-
Kernel 7.0 Now in Testing
Linus Torvalds has announced the first Release Candidate (RC) for the 7.x kernel is available for those who want to test it.
