Exemple #1
0
 /**
  * Write all XF records.
  */
 protected function storeAllXfs()
 {
     // tmpFormat is added by the constructor. We use this to write the default XF's
     // The default font index is 0
     for ($i = 0; $i <= 14; $i++) {
         $xfRecord = $this->tmpFormat->getXf('style');
         $this->append($xfRecord);
     }
     $xfRecord = $this->tmpFormat->getXf('cell');
     $this->append($xfRecord);
     // User defined XFs
     foreach ($this->formats as $format) {
         $xfRecord = $format->getXf('cell');
         $this->append($xfRecord);
     }
 }