|
From: Per W. <pw...@ia...> - 2004-03-26 19:25:49
|
It is quite easy to generate RTF text. I haven't checked, but I can't think it would be too hard to fill the clipboard with the RTF text. (Per W On Fri, 26 Mar 2004, Luc-=C9tienne Brachotte wrote: > I mean copying from inside my C++ program to the clipboard, so that > after copying to Word (or Excel, or...), you will see the text with some > special format. I didn't find anything on the internet. > > -----Message d'origine----- > De=A0: dev...@li... > [mailto:dev...@li...] De la part de Jan > Ringos > Envoy=E9=A0: vendredi 26 mars 2004 19:14 > =C0=A0: Konference "Dev-C++" > Objet=A0: Re: [Dev-C++] Word Clipboard > > I don't think this would be a good idea. I am not sure but I expect the > Dev-C++'s editbox to use rich format to support > syntax highlighting. Copying from would imply also copying to this box > which could cause some problems. > > Anyway you could use "File/Export/to HTML" or "to RTF". Both of these > formats can be read by Word. > > --- > Jan Ringos, Tr...@mx... > http://tringi.mx-3.cz > > senior programmer-analyst > n.v.t. MX-3, www.mx-3.cz > > > ----- Original Message ----- > From: Luc-=C9tienne Brachotte > To: dev...@li... > > How to write text to the windows clipboard, in the Word format, with > bold, italic, color, non-breaking spaces, and so on > ? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li.... |