Bug 255013

Summary: [StyledText] Allow to control StyledText's RTF copy
Product: [Eclipse Project] Platform Reporter: Dani Megert <daniel_megert>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact: Felipe Heidrich <eclipse.felipe>
Severity: enhancement    
Priority: P3 CC: c.sell, ericwill, mike, steve_northover
Version: 3.5Keywords: triaged
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 86503    

Description Dani Megert CLA 2008-11-12 06:15:57 EST
I20081111-0800.

Currently there's no way to control the RTF copy that StyledText creates. We would like to exclude e.g. the LineBackgroundListener(s). See bug 86503 for details.
Comment 1 Felipe Heidrich CLA 2008-11-18 12:45:34 EST
What do you have in mind here ?

See Bug 52296, would you like something like that ? You'd need to implement your own writer and reader...

See also StyledTextPrintOptions, it allows the application do decide what is going to be printed (text foreground, text background, line background, etc).
Comment 2 Dani Megert CLA 2008-11-19 02:47:42 EST
>See also StyledTextPrintOptions, it allows the application do decide what is
>going to be printed
Right, and that's exactly what I also need for copy. I don't want to create the RTF myself but tell StyledText what to put into the RTF copy. To be concrete I would like to disable all LineBackgroundListeners.
Comment 3 Felipe Heidrich CLA 2008-11-19 12:33:24 EST
Steve. we will need new API here. We will need to be smart here so we don't end up with a API that won't make sense the day we decide to fix bug 86503.
Comment 4 Felipe Heidrich CLA 2009-08-14 08:59:20 EDT
Your bug has been moved to triage, visit http://www.eclipse.org/swt/triage.php for more info.
Comment 5 Eric Williams CLA 2017-06-30 11:55:37 EDT
Bug triaged, visit https://wiki.eclipse.org/SWT/Devel/Triage for more
inforamation.