[Libreoffice-bugs] [Bug 138345] New: FILESAVE MS formats: Must not save char background as highlight in char styles. Only MS WORD problem

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 19 15:08:55 UTC 2020


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

            Bug ID: 138345
           Summary: FILESAVE MS formats: Must not save char background as
                    highlight in char styles. Only MS WORD problem
           Product: LibreOffice
           Version: 5.0 all versions
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jluth at mail.com

Created attachment 167398
  --> https://bugs.documentfoundation.org/attachment.cgi?id=167398&action=edit
charStyleBackground.odt: background colour not seen IN MS WORD when exported to
DOCX etc.

In this example, the character style charBackground defines an orange
background. On export to MS formats, this background colour is kind-of lost.
ONLY MISSING IN WORD. LO (incorrectly it appears) accepts the style's highlight
specification and applies it - however, it is yellow instead of orange.

Although MS Word does not produce any errors, it silently ignores any
w:highlight settings in Character styles. So LO character style highlighting
should always save as "shading" instead of "highlighting".

In LO 5.0, a user setting was added to select whether character background
should be saved as highlight or shading. It defaulted to highlighting -
creating the bug reported here.

Starting in LO 7, the default is changed to shading, so most people won't
encounter this problem any more. However, the possibility still exists for a
user's settings to save as highlight, so it is still worthwhile to fix.

author  Zolnai Tamás on 2015-03-21 16:19:09 +0100
commit  8519d51b3a06a84d0d6418651e66e9bb534f1788 
Char highlight: export character background to MSO formats based on settings

Tested using Word 2016 and Word 2003.  Tested DOC and DOCX formats.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201119/cf68c3b0/attachment.htm>


More information about the Libreoffice-bugs mailing list