title: How to generate an RTF document server side in c#
body: <p>I have tried using the System.Windows.Documents.FlowDocument server side, but ran into a problem with images.</p>
  
  <p>What I need to produce is a document with headings, section breaks, page breaks, images (with text wrapping around from the left or the right), tables and ideally some kind of table of contents.</p>
  
  <p>I use c# and asp.net.</p>
  
  <p>Is there a library that will do most of this?</p>
  
  <p>RTF has been chosen because the document needs to be openable in older versions of word, be editable, and we can't run word on the server.</p>
  
  <p>Thank-you</p>