Bug 153711 - FILESAVE DOCX. Character theme color is not exported as theme color
Summary: FILESAVE DOCX. Character theme color is not exported as theme color
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OOXML-Doc-Themes
  Show dependency treegraph
 
Reported: 2023-02-18 16:54 UTC by Regina Henschel
Modified: 2025-07-19 06:48 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
document with color theme (14.77 KB, application/vnd.oasis.opendocument.text)
2023-02-18 16:54 UTC, Regina Henschel
Details
Theme used in the paragraph style (14.85 KB, application/vnd.oasis.opendocument.text)
2025-07-19 06:43 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2023-02-18 16:54:00 UTC
Created attachment 185462 [details]
document with color theme

Open attached document. It a theme in styles.xml.
The characters in the file are direct formatted to use a theme color. You can verify in the file markup, that this is indeed contained in the file markup.

Save the file to docx. Open the file in Word and change the theme of Word (that is in tab 'Design'). The colors of the characters do not change, which means, that they do not have theme colors.

Inspect the markup of the docx file. You will find that the needed attributes "w:themeColor" and "w:themeTint" or "w:themeShade" of the <w:color> element are missing.
Comment 1 Gabor Kelemen (allotropia) 2023-07-04 21:36:33 UTC
Confirming in 

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e4e5fb4b2935e395c7e4b3a794d544a6f44709ce
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: de-DE (hu_HU); UI: en-US
Calc: threaded
Comment 2 QA Administrators 2025-07-19 03:10:50 UTC Comment hidden (obsolete)
Comment 3 Regina Henschel 2025-07-19 06:43:29 UTC
Created attachment 201896 [details]
Theme used in the paragraph style

This file was generated with Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 697fadb8f4efdc09091088261ca1b43984c029b4
CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded
Comment 4 Regina Henschel 2025-07-19 06:48:16 UTC
There are still these problems:
When the theme reference is in the text properties of direct paragraph formatting, it is not read on opening the file.
When the theme reference is in the text properties of the paragraph style (see attachment), it works in LibreOffice. But export to docx generates a faulty file, that MS Word needs to repair.

Tested with Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 697fadb8f4efdc09091088261ca1b43984c029b4
CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded