Example #1
0
 private function applyCellCommentTextOptions(\PHPExcel_RichText_Run $commentText, array $options)
 {
     $makeBold = array_key_exists('bold', $options) && true === $options['bold'];
     if ($makeBold) {
         $commentText->getFont()->setBold($makeBold);
     }
 }