title: How to change styleTable on PHPWord?
body: <p>I have a problem with using the plugin phpword. I'm trying to change the style, but I can change the background of the cell and other parameters are considered by it.</p>
  
  <pre><code>$styleTable = array('borderColor'=&gt;'006699',
                      'borderSize'=&gt;6,
                      'cellMargin'=&gt;50,
                      'valign'=&gt;'center'
                     );
  $styleFirstRow = array('bgColor'=&gt;'6086B8',
                         'color'=&gt;'white',
                         'bold'=&gt;true,
                         'size'=&gt;11,
                         'valign'=&gt;'center'
                      );
  $PHPWord-&gt;addTableStyle('myTable', $styleTable, $styleFirstRow);
  </code></pre>
  
  <p>If you want to look my code, he as here : <a href="http://pastebin.com/pw36n3aW" rel="nofollow">http://pastebin.com/pw36n3aW</a></p>