title: PHPExcel - duplicateStyle() seems not to work / does nothing
body: <p>Im making an export for my company which takes soma data, given through PHP, and outputs them to a excel spreadsheet.</p>
  
  <p>Everything works well, except for one little thing. Im conditionally formatting some cells to have a specific color. Neither I get an error, nor i get the right background color for the other cells, they just stay white.</p>
  
  <p>I'm using PHPExcel to create the output, the following is my Code:</p>
  
  <pre><code>//just for information:
  // $spreadsheet = $objPHPExcel-&gt;getActiveSheet();
  
  //normal
  $conditionalStyleNormal = new PHPExcel_Style_Conditional();
  $conditionalStyleNormal-&gt;setConditionType(PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT)
      -&gt;setOperatorType(PHPExcel_Style_Conditional::OPERATOR_CONTAINSTEXT)
      -&gt;setText('Normal (Mittagspause)')
      -&gt;getStyle()-&gt;getFill()-&gt;setFillType(PHPExcel_Style_Fill::FILL_SOLID)-&gt;getEndColor()
      -&gt;setARGB(PHPExcel_Style_Color::COLOR_LIGHTYELLOW);
  
  //apply style
  $conditionalStyles = $spreadsheet-&gt;getStyle('A5:A50')-&gt;getConditionalStyles();
  array_push($conditionalStyles, $conditionalStyleNormal);
  $spreadsheet-&gt;getStyle('A5:I50')-&gt;setConditionalStyles($conditionalStyles);
  
  //copy style to other cells (does not work)
  $spreadsheet-&gt;duplicateStyle($spreadsheet-&gt;getStyle('A5'), 'C5:I5');
  </code></pre>
  
  <p>The last line has no effect on the file.</p>
  
  <p>The documentation of PHPExcel says:</p>
  
  <blockquote>
    <p>If you want to copy the ruleset to other cells, you can duplicate the style object:
    $objPHPExcel->getActiveSheet()->duplicateStyle($objPHPExcel->getActiveSheet()->getStyle('B2'), 'B3:B7');</p>
  </blockquote>
  
  <p>Am i overlooking something? Or is it just a bug? If so, is there a good workaround?</p>
  
  <p>Couldn't find a solution, just found out that the function had a misbehaviour in a earlier version. I'm working with PHPExcel 1.8.0.</p>
  
  <p>Thanks in advance!</p>