This class seems to be a great idea but I am not able to make it function correctly. I have followed the "How to use this class" example from within the class itself only to receive the following two errors repeatedly:
Notice: Undefined index: fonttbl_want_fcharset in C:\phptestdir\include\rtfclass.php on line 388
Notice: Undefined index: fonttbl_current_read in C:\phptestdir\include\rtfclass.php on line 405
The usage is:
$fileContent = file_get_contents($convertFile);
$r = new rtf( stripslashes( $fileContent ));
if( count( $r->err) == 0) // no errors detected
I can correctly display the raw file content but it is still not working.