I suppose the meaning of this class is to supply a basic-structured parser in order to develop (over it) a real RTF parser...
Obviously, a 21k php file can't parse any RTF document (RTF format has hundreds of commands).
It can be viewed as a start (this class implements the basic algorithm described in the Microsoft's RTF specification for a RTF reader).
Thanks, anyway, for the class.