Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>iText's rtf capabilities are still around. I would just like to add more information because the prior answers did not completely state what you have to do.</p> <p>First, visit <a href="http://mirrors.ibiblio.org/pub/mirrors/maven2/com/lowagie/itext-rtf/2.1.7/itext-rtf-2.1.7.jar">http://mirrors.ibiblio.org/pub/mirrors/maven2/com/lowagie/itext-rtf/2.1.7/itext-rtf-2.1.7.jar</a> to get itext-rtf.jar. This has the entire rtf package, however it is not sufficient to work with RTF documents. One class needed quite commonly when using the rtf package is com.lowagie.text.Document which is not included in the itext-rtf.jar distribution.</p> <p>Secondly, visit <a href="http://grepcode.com/snapshot/repo1.maven.org/maven2/com.lowagie/itext/2.1.7">http://grepcode.com/snapshot/repo1.maven.org/maven2/com.lowagie/itext/2.1.7</a>. Here you want to download itext-2.1.7.jar. This is the itext jar file you will need in order to work with the iText-rtf library. This is different than the current iText which now manages only pdf documents. At 5.0.0, rtf broke off and pdf kept the current numbering system. The rtf version number restarted and the rtf package now requires a different iText which will have the same version number as the rtf version number.</p> <p>With these two downloads, you should be golden.</p> <p><strong>EDIT</strong></p> <p>Other resources I know of:</p> <ul> <li><a href="http://www.docjar.com/docs/api/com/lowagie/text/rtf/">IText Rtf API</a></li> <li><a href="http://www.ujihara.jp/iTextdotNET/ja/tutorial/rtf/index.html">Some Examples</a> - Take with a grain of salt because it really is not Java and it is older, but some of the code snippets work anyway when you cut/paste</li> </ul> <p>I generally just answer the question/comment asked, however one can see the precarious position one might be in when doing new coding in itext-rtf. Proceed with caution.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload