Bug 255013 - [StyledText] Allow to control StyledText's RTF copy
Summary: [StyledText] Allow to control StyledText's RTF copy
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 enhancement with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact: Felipe Heidrich CLA
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks: 86503
  Show dependency tree
 
Reported: 2008-11-12 06:15 EST by Dani Megert CLA
Modified: 2017-06-30 11:55 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.