Issue 117943 - Copying Writer text through clipboard loses attributes
Summary: Copying Writer text through clipboard loses attributes
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 3.4.0 Beta (OOo)
Hardware: PC Windows NT
: P3 Normal (vote)
Target Milestone: 3.4.0
Assignee: Mathias_Bauer
QA Contact: issues@sw
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2011-04-27 09:51 UTC by Mathias_Bauer
Modified: 2017-05-20 10:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Mathias_Bauer 2011-04-27 09:51:07 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.
Comment 1 Mathias_Bauer 2011-04-27 09:55:01 UTC
If the document that was pasted into is saved, an assertions tells "Autostyle could not be found" (xmloff/source/text/txtparae.cxx)
Comment 2 Mathias_Bauer 2011-04-27 12:11:29 UTC
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).
Comment 3 Mathias_Bauer 2011-04-27 19:52:56 UTC
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.
Comment 4 Oliver-Rainer Wittmann 2012-06-13 12:27:25 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.