Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Copy as RTF
Copy as RTF [message #327476] Mon, 21 April 2008 17:20 Go to next message
Eclipse UserFriend
Originally posted by: antony.stubbs.gmail.com

Is there a way to 'copy as rtf' as in Programmers Notepad or SciTE as
demonstrated here:
http://www.fauskes.net/nb/syntaxms/
?

I want to copy the text along with the syntax high lighting to paste into
word and power point.

I haven't been able to find any plugins that do it.
Re: Copy as RTF [message #327483 is a reply to message #327476] Tue, 22 April 2008 01:30 Go to previous messageGo to next message
Eclipse UserFriend
Hello Antony,

you could use
http://www.andre-simon.de/doku/highlight/en/highlight_demo.h tml
to do the job if you select Eclipse IDE as colour theme.

Enrico

> Antony Stubbs wrote:
> Is there a way to 'copy as rtf' as in Programmers Notepad or SciTE as
> demonstrated here:
> http://www.fauskes.net/nb/syntaxms/
> ?
>
> I want to copy the text along with the syntax high lighting to paste into
> word and power point.
>
> I haven't been able to find any plugins that do it.
Re: Copy as RTF - just works [message #327490 is a reply to message #327476] Tue, 22 April 2008 05:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: markus.milleder.generali.at

Antony Stubbs wrote:

> Is there a way to 'copy as rtf' as in Programmers Notepad or SciTE as
> demonstrated here:
> http://www.fauskes.net/nb/syntaxms/
> ?

> I want to copy the text along with the syntax high lighting to paste into
> word and power point.

> I haven't been able to find any plugins that do it.

This just works for me:
* Mark some text in some Eclipse editor, copy it.
* Paste it into MS Word
-> It gets pasted with all the formatting it had in the editor.

It has been that way since at least 3.2 .
Re: Copy as RTF - just works [message #327511 is a reply to message #327490] Tue, 22 April 2008 19:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: antony.stubbs.gmail.com

Markus Milleder wrote:

> Antony Stubbs wrote:

>> Is there a way to 'copy as rtf' as in Programmers Notepad or SciTE as
>> demonstrated here:
>> http://www.fauskes.net/nb/syntaxms/
>> ?

>> I want to copy the text along with the syntax high lighting to paste into
>> word and power point.

>> I haven't been able to find any plugins that do it.

> This just works for me:
> * Mark some text in some Eclipse editor, copy it.
> * Paste it into MS Word
> -> It gets pasted with all the formatting it had in the editor.

> It has been that way since at least 3.2 .
Ok. Now I feel really stupid - thanks! ;)

Problem was, I was trying to paste directly into Power Point, which
doesn't work with anything anyway - only works if you paste into word
first, _then_ PP(2002), but also in PP you have to go 'paste special' and
choose RTF.
Re: Copy as RTF - export as HTML? [message #327512 is a reply to message #327511] Tue, 22 April 2008 20:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: antony.stubbs.gmail.com

Ok well if this works so well - wouldn't it also be easy to write
something that copies it to the clip board using html instead? I suppose
you could export from work as html. but can eclipse do it?
Re: Copy as RTF - just works [message #327513 is a reply to message #327511] Tue, 22 April 2008 20:07 Go to previous message
Eclipse UserFriend
Originally posted by: antony.stubbs.gmail.com

Ok - if this works so well, is there a simple 'export snippit as html'?
Paste into word -> save as HTML works ~~ok.

Is there a plugin for that?

Antony Stubbs wrote:

> Markus Milleder wrote:

>> Antony Stubbs wrote:

>>> Is there a way to 'copy as rtf' as in Programmers Notepad or SciTE as
>>> demonstrated here:
>>> http://www.fauskes.net/nb/syntaxms/
>>> ?

>>> I want to copy the text along with the syntax high lighting to paste into
>>> word and power point.

>>> I haven't been able to find any plugins that do it.

>> This just works for me:
>> * Mark some text in some Eclipse editor, copy it.
>> * Paste it into MS Word
>> -> It gets pasted with all the formatting it had in the editor.

>> It has been that way since at least 3.2 .
> Ok. Now I feel really stupid - thanks! ;)

> Problem was, I was trying to paste directly into Power Point, which
> doesn't work with anything anyway - only works if you paste into word
> first, _then_ PP(2002), but also in PP you have to go 'paste special' and
> choose RTF.
Previous Topic:How to have multicolored tree label
Next Topic:CRUD editors
Goto Forum:
  


Current Time: Mon Apr 28 01:21:57 EDT 2025

Powered by FUDForum. Page generated in 0.04024 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top