/** * registers the par format in color table * * @param PHPRtfLite_ParFormat $parFormat */ public function registerParFormat(PHPRtfLite_ParFormat $parFormat) { $parFormat->setColorTable($this->getColorTable()); }
/** * sets paragraph format for image * * @param PHPRtfLite_ParFormat $parFormat */ public function setParFormat(PHPRtfLite_ParFormat $parFormat) { $this->_parFormat = $parFormat; $parFormat->setColorTable($this->_rtf->getColorTable()); }