Apache OpenOffice (AOO) Bugzilla – Issue 117943
Copying Writer text through clipboard loses attributes
Last modified: 2017-05-20 10:32:11 UTC
Open document testautomation/Writer/optional/input/clipboard/writer.sxw select first paragraph -> Assertion "es sind noch Indices angemeldet" paste as RTF into an empty document -> several assertions paste result loses blue color (one of the assertions is "no such color in m_aColorTbl from rtfexport.cxx) and contains the URL twice.
If the document that was pasted into is saved, an assertions tells "Autostyle could not be found" (xmloff/source/text/txtparae.cxx)
The method RtfExport::InsColor() did not cope with the case that any colors are inserted before COL_AUTO is inserted (or that COL_AUTO isn't inserted at all).
The fix does not contain a change for the hyperlink problem. I moved this to another issue as it turned out to be a bug in the rtf import. "Es sind noch Indices angemeldet" is a different and general problem to be solved later. Here I just fixed the problem of missing colors.
getting rid of value "enhancement" for field "severity". For enhancement the field "issue type" shall be used.