forked from fuenby/rtf-to-html
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.rtf
11 lines (11 loc) · 1.15 KB
/
README.rtf
1
2
3
4
5
6
7
8
9
10
11
{\rtf1\ansi\ansicpg1250\deff0{\fonttbl{\f0\fswiss\fprq2\fcharset238{\*\fname Arial;}Arial CE;}{\f1\fnil\fcharset2 Symbol;}}
{\colortbl ;\red0\green0\blue128;}
{\*\generator Msftedit 5.41.21.2508;}\viewkind4\uc1\pard\fi568\cf1\lang1048\f0\fs20 Rtf-to-html\cf0 (for the lack of a better name) is a tool that converts Rich Text Format files to HTML documents. As the parser is created with ANTLR 3 \i <http://www.antlr.org>,\i0 you'll have to add it to your classpath. The final program will be dependent on the ANTLR runtime, so drop \b antlr-3.1.1-runtime.jar\b0 in the output directory as well (or any later version, but you'll have to change the manifest.) Then just run \b make\b0 , and it should compile on any Unix-like system.\par
It's not half finished, but I'm hoping for full RTF 1.2 support someday (maybe without the Word-specific stuff.) The main things lacking right now are:\par
\pard{\pntext\f1\'B7\tab}{\*\pn\pnlvlblt\pnf1\pnindent0{\pntxtb\'B7}}\fi568 proper tab support (right-, left-aligned and centered; not sure if it's even possible to realize in HTML,)\par
{\pntext\f1\'B7\tab}styles,\par
{\pntext\f1\'B7\tab}and images.\par
\pard\par
\par
}