Files
Balazs Varga 62e3aba4cd Table Styles: add translatable UI names for default Calc table styles
The 60 default ECMA-376 table styles had only machine IDs like
"TableStyleLight1" as their names. For Online, generateJSON() sends
GetUIName() which fell back to the raw ID. Desktop was unaffected
because the sidebar/notebookbar .ui files have hardcoded display names.

Add TableStyleCategory enum and number to the TableStyle data struct
so assembleTableStyles() can compose translatable UI names like
"Table Style Light 1" using 3 new string resources. The UI name is
computed once at style generation time and stored in maUIName.

Also fix the Python generator to handle the "TableStyleLight14 "
trailing space bug from the OOXML spec XML, and force Unix line
endings on output.

Change-Id: Ia079a1f5f6e453cb729b5c26df4fe48c88642341
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203045
Reviewed-by: Banobe Pascal <banobe.pascal@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.collaboraoffice.com/c/core/+/176
Reviewed-by: Balázs Varga <balazs.varga@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit eaa07b76ba56b39b0346c0f7b7c28b86edcb7a9e)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204567
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-04-29 16:19:45 +02:00
..
…