UNCOMPRESSED
UNCOMPRESSED
Object to parse RTF data encapsulated in a TNEF file.
setTnefAttribute(integer $attribute, mixed $value, integer $size)
Allow this object to set any TNEF attributes it needs to know about, ignore any it doesn't care about.
integer | $attribute | The attribute descriptor. |
mixed | $value | The value from the MAPI stream. |
integer | $size | The byte length of the data, as reported by the MAPI data. |
_rtf2text(string $text) : string
Parse RTF data and return the best plaintext representation we can.
Adapted from: http://webcheatsheet.com/php/reading_the_clean_text_from_rtf.php
string | $text | The RTF text. |
The plaintext.