+ It was modified by me (Andreas Brodowski) to allow compressed RTF being uncompressed by code I ported from
+ Java to PHP and adapted according the needs of Z-Push.
+
+ Currently it is being used to detect empty RTF Streams from Nokia Phones in MfE Clients
+
+ It needs to be used by other backend writers that needs to have notes in calendar, appointment or tasks
+ objects to be written to their databases since devices send them usually in RTF Format... With Zarafa
+ you can write them directly to DB and Zarafa is doing the conversion job. Other Groupware systems usually
+ don't have this possibility...
+
+*/
+
+
+class rtf {
+ var $LZRTF_HDR_DATA = "{\\rtf1\\ansi\\mac\\deff0\\deftab720{\\fonttbl;}{\\f0\\fnil \\froman \\fswiss \\fmodern \\fscript \\fdecor MS Sans SerifSymbolArialTimes New RomanCourier{\\colortbl\\red0\\green0\\blue0\n\r\\par \\pard\\plain\\f0\\fs20\\b\\i\\u\\tab\\tx";
+ var $LZRTF_HDR_LEN = 207;
+ var $CRC32_TABLE = array( 0x00000000,0x77073096,0xEE0E612C,0x990951BA,0x076DC419,0x706AF48F,0xE963A535,0x9E6495A3,