https://bugs.documentfoundation.org/show_bug.cgi?id=135796

--- Comment #11 from Дмитрий <[email protected]> ---
Additional Information:
It appears that LibreOffice uses the "Shading" option from the "Paragraph"
settings to apply background colors (via the <w:shd> tag), which is not
recognized by Word as a proper text highlight. Word relies on the "Highlight"
function, which is part of the "Font" settings, and uses the <w:highlight> tag
to apply color to text.

In LibreOffice, the color applied through "Shading" does not translate directly
into Word’s highlight color, causing the text to display a background color
rather than being properly highlighted. Therefore, it’s necessary for
LibreOffice to convert these shading colors to Word’s predefined highlight
colors when exporting to DOCX, ensuring compatibility and correct functionality
in Word.

Test Scenario:
When I manually replace the <w:shd> tag in a LibreOffice-exported DOCX file
with the appropriate <w:highlight> tag (matching Word’s supported highlight
colors), the text highlight appears correctly in Word 2010.

This suggests that LibreOffice needs to implement a conversion between its
shading colors and Word’s highlight palette to ensure proper display and
functionality of text highlights.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to