GSoC - Weekly Report - #6 - Table styles

Balázs Sántha santha.balazs at simonyi.bme.hu
Mon Jul 19 07:34:01 UTC 2021


Dear Community!

This week I was able to finish the annoying bug, which caused the loss of
page break properties of tables, when the user applied a table style on the
table. The problem was that, the function which was called when applying a
style, overrid the page break properties of the table, with the the stored
properties in the table style. As these two properties in the styles are
not really used, and can not be modified, (as there is no UI for that), my
mentor suggested that the easiest way to prevent this problem was to delete
these break properties and its uses from the table style. I could almost
completely remove them, except, some local variable must be kept, because
of file format issues. (The autoformat table styles are stored in a binary
file, so to be able to read and write, the offset of the subsequent items
must not be changed.) I also wrote a test for this.
The patch can be seen here: https://gerrit.libreoffice.org/c/core/+/118662

Also I started to see, what is done and what is not in the
feature/table-style branch, didn't get far, but will continue the work this
week.

I was also working on the optimization of the table import, which probably
will speed up the opening time by 20%. I had an implementation, which
seemed good, but it failed some tests, so I need to investigate the problem
a bit more.
The ongoing patch can be seen here:
https://gerrit.libreoffice.org/c/core/+/118985

This week I try to finish this optimization, and give a summary of the
table-style branch.

If you have any questions, ideas, thoughts or suggestions, please share
with me!

Regards,
Balázs Sántha, santhab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20210719/f3c98ca0/attachment.htm>


More information about the LibreOffice mailing list