Created attachment 141118 [details] The background color change Maybe related to bug: #38533 Copy a text from eclipse (probably from others, but this ide creates the problem for me), for example: String passWord = When the text is pasted, it has some background color, as shown in the attachment in the bottom line. Save the document in .docx format, and open it again, the color has changed to the color in the upper line. This does not happen saving/reading in the .odf format.
Created attachment 141119 [details] One docx with the pasted text
Created attachment 141120 [details] The same operation in .odt format
https://bugs.documentfoundation.org/show_bug.cgi?id=107793#c4 "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"