www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - RTF formatting

reply Tyro <Tyro_member pathlink.com> writes:
Gentlemen,

I'm wondering if you could help me out! I need to know how to generate RTF
formatting in order to geneerate a preformatted document that can be opened in
microsoft word or other RTF format readers. Any assistance is appreciated.

Andrew
Apr 22 2005
next sibling parent Stewart Gordon <smjg_1998 yahoo.com> writes:
Tyro wrote:
 Gentlemen,
 
 I'm wondering if you could help me out! I need to know how to generate RTF
 formatting in order to geneerate a preformatted document that can be opened in
 microsoft word or other RTF format readers. Any assistance is appreciated.

RTF spec: http://tinyurl.com/9zqya http://www.snake.net/software/RTF/RTF-Spec-1.7.rtf Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Apr 22 2005
prev sibling parent "Andrew Fedoniouk" <news terrainformatica.com> writes:
If it is for Microsoft Word
then it is easier to generate HTML and
open it there.

In general RTF is not so complex too, see minimal RTF document is:
{\rtf
{\fonttbl {\f0 Times New Roman;}}
\f0\fs60 Hello, World!
}

Just read the spec.

Andrew.

"Tyro" <Tyro_member pathlink.com> wrote in message 
news:d4akeq$27g9$1 digitaldaemon.com...
 Gentlemen,

 I'm wondering if you could help me out! I need to know how to generate RTF
 formatting in order to geneerate a preformatted document that can be 
 opened in
 microsoft word or other RTF format readers. Any assistance is appreciated.

 Andrew

 

Apr 22 2005