This is a text file used to demonstrate the ability of AscToRTF to convert text into good-looking RTF.  Each section will have it's heading recognised, and the contents of each section are correctly handled.  The file created uses RTF "Styles" to identify the text. As a result of this all headings that are detected can be included in a generated contents list field. 
By adding the following line to the text file, the program's pre-processor will add a contents list field will be added, which if you press F9 in word will reveal the contents of the document. 
(Update this field (F9) to get Contents list) 

The pre-processor also supports many other features, for example a GOTO tag can be turned into a hyperlink to a named section like this - see the section called "hyperlinks" 

Tables
The following table is automatically detected by the software.  The column structure is correctly detected, and the table heading is spotted and placed in bold.  The column widths are then set to the correct size for the text, in the chosen font. 

 	 	Shot	Fire	Damage vs. Armor	
Weapon	Type	Range	Rate	None	Wood	Light	Heavy	
Colt 45	HP	5.75	180	50	2	2	2	
AA Gun	AP	6	90	--	--	18	25	
Vulcan	SA	5	22	40	20	24	10	
Maverick	AP	6	300	15	37	37	50	
Fireball	Fire	4	18	112	125	75	31	
Code
The following is a small software sample.  This is detected by the software and then output in a non-proportional font that preserves the layout. 

    int i;

    if (ppBuffer != NULL) {
        for (i = 0; i<NumLines; i++) delete ppBuffer[i];
        delete [] ppBuffer;
        ppBuffer = NULL;
    }
Diagrams
The software boldly goes and correctly detects that this is ASCII art (but not as we know it Jim!).  It outputs these lines in a non-proportional font to preserve the layout.  The font size is set small enough to fit on a standard page. 
                                 _____..---========+*+==========---.._____
    ______________________ __,-='=====____  =================== _____=====`=
   (._____________________I__) - _-=_/    `---------=+=--------'
       /      /__...---===='---+---_'
      '------'---.___ -  _ =   _.-'
                     `--------'
Use of Emphasis
The software will look for text that uses asterisks and underscores to add emphasis to text in the style made popular by the Internet. 
Single words like this and that, or titles of things like Alice in Wonderland that might spread over a few lines 

Hyperlinks
The software can detect hyperlinks and preserve them as working links in the output document. 
http://www.jafsoft.com/asctrtf.html 

Bullets
The software can detect several types of bullets and lists. 
·	Bullet line 1 
·	Bullet line 1
·	Bullet line 1 ddasda dasd  d sd  s d asd sd  d  d  d sd  s d sa dsa dasd dasdas d asd sad asdsa da sda d as da 
·	Bullet line 1
·	Bullet line 1 ddasda dasd  d sd  s d asd sd  d  d  d sd  s d sa dsa dasd dasdas d asd sad asdsa da sda d as da 
a)	Alphabetic
b)	Alphabetic
c)	Alphabetic
d)	Alphabetic
e)	Alphabetic dsadsadsaddsa dsa d sa dsa d asd  sds d sa ds ads dsad sad as dsadas dsa dsa dasdas d sad ada
f)	Alphabetic