Description: A spinoff of bug 107793. When exporting a ODT to DOCX the highlighting colors are converted to a best matching color, creating all sorts of unwanted changes. As Tamás Zolnai described: By default LO highlighting is saved as MSO highlighting, but MSO highlighting has only a 16 color palette, so colors are converted to this 16 colors using the best matching color, that's why colors are different and also may happen that two colors are converted to the same MSO highlighting color. At the Tools -> Options -> Load/Save -> Microsoft Office you can change the default behavior to save LO highlighting as MSO shading and so you get the old behavior having all colors the same, but be aware of that when opening this document with MSO, backgroud colors will be shading, so the highlighter tool won't work on them. There is a different settings for shading. Steps to Reproduce: Steps to reproduce: 1. Open attachment 133267 [details] 2. Save to DOCX 3. Open the DOCX and the ODT 4. Compare both Actual Results: Multiple color highlights converted to one color. Expected Results: More interoperability; Reproducible: Always User Profile Reset: No Additional Info: Version: 5.5.0.0.alpha0+ Build ID: ec79f3453471ee9b6ae32e71ff16ea99d9b7751c CPU threads: 4; OS: Windows 6.19; UI render: default; TinderBox: Win-x86@42, Branch:master, Time: 2017-05-28_23:21:44 Locale: nl-NL (nl_NL); Calc: CL User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Don't have Word here to compare the result but AFAIK colors are hex values in both file types where the color name is taken from the palette, e.g. #ff0000 = "red". Anyway, I'm against another palette for compatibility as a default. It's a perfect example for an extension. Learn more in https://design.blog.documentfoundation.org/2017/03/29/libreoffice-extension-export-custom-palette/