Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pasting RTF into Word
Message
From
27/11/2000 14:19:13
 
 
To
27/11/2000 12:54:43
Bob Lucas
The WordWare Agency
Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00445736
Message ID:
00445771
Views:
14
Bob:

Depends how serious you are about this as a problem <s>. I use Visual Documents from SoftClassics. I also use their Codemine framework too. Visdocs is an RFT library/parser tool object. It allows you to save RTF in memo's or .RTF documents like a word document saves as filename.rtf. The library easily opens RTF from these types of sources and creates an RTF output stream object You can have numerous RTF stream objects on the go at once. You can then manipulate the RTF streams, update merge fields embedded in the RTF template with Fox data and much more. VisDocs support Word tables, bullets etc. You can then edit the RTF in Word or just use Word to print your RTF.

This is probably overkill but, if you are serious about RTF and Word, then this library is for you. See www.codemine.com.

Hope this helps.

>I have a VFP program that is trying to paste RTF code (that is manipulated first by a program) into a instance of Word. I can paste the code okay, but it is interpreted as text and simply displays all the rtf codes. If I take the rtf text and copy it to the clipboard in word and do a paste special (and even chose RTF code) it still pastes it as text. My only alternative so far is to save the text string as a file and then do a file open in word which then sees the RTF codes correctly.
>
>Any insights?
>
>Thanks.
>
>Bob
-=Gary
Previous
Reply
Map
View

Click here to load this message in the networking platform