/**
* constructor
*
* @param PHPRtfLite $rtf
* @param PHPRtfLite_Font $font
* @param PHPRtfLite_ParFormat $parFormat
*/
public function __construct(PHPRtfLite $rtf, PHPRtfLite_Font $font = null, PHPRtfLite_ParFormat $parFormat = null)
{
$this->_rtf = $rtf;
$this->_font = $font;
$this->_parFormat = $parFormat;
if ($font) {
$this->_rtf->registerFont($font);
}
}