GSoC Weekly Update: New Dialog to Edit Table Styles
Karthik
me at karthikreddy.org
Sat Jun 14 18:51:13 UTC 2025
Hi everyone,
Here’s a quick overview and progress update on the project
Project Overview
Currently, both Writer and Calc doesn't have true table styles. We rely on
autoformatting to style tables, but this approach is limited: there’s no easy
way to apply or edit table styles, and existing styles can’t be modified. In
this project, we aim to implement true table styles for Writer. For Calc,
we’ll enhance the existing autoformats by adding the ability to create and
edit styles, all in accordance with the ODF specification.
Progress So Far:
Porting AutoFormat to svx
Writer and Calc each have their own implementation of AutoFormat, including
separate dialogs, even though their functionality is almost similar. In the
first week, I focused on porting the common features of the AutoFormat code
to the svx module. Now, both Writer and Calc inherit from this shared
codebase, and the dialog is also shared between the two applications.
https://gerrit.libreoffice.org/c/core/+/186094
Using XML to store table styles
Previously, autoformat styles were serialized in the autotbl.fmt file, a
binary format that is difficult to debug and maintain. By switching to XML,
we improve backward compatibility and make it easier to handle table styles.
https://gerrit.libreoffice.org/c/core/+/186247
The Dialog
Sharing the initial draft of the new dialog, this is shared between Writer
and Calc. I plan to refine and enhance it in the coming weeks.
https://gerrit.libreoffice.org/c/core/+/186501
Best,
Karthik Godha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20250614/b1bfdb14/attachment.htm>
More information about the LibreOffice
mailing list