title: phpExcel could not center image in cell
body: <p>I am trying to insert an image in the center of the first cell. The cell is a merge from four cells:</p>
  
  <pre><code>$phpExcel-&gt;getActiveSheet()-&gt;mergeCells('A1:D1');
  $phpExcel-&gt;getActiveSheet()-&gt;getRowDimension('1')-&gt;setRowHeight(65);
  </code></pre>
  
  <p>I followed the instructions from <a href="https://stackoverflow.com/questions/25659925/phpexcel-right-align-image">this</a> post to center the image.</p>
  
  <pre><code>$objDrawing = new PHPExcel_Worksheet_Drawing();
  $objDrawing-&gt;setName('Sima');
  $objDrawing-&gt;setDescription('Logo');
  $objDrawing-&gt;setPath('../img/logo.jpg');
  $objDrawing-&gt;setOffsetX(300);
  $objDrawing-&gt;setCoordinates('A1');
  $objDrawing-&gt;setHeight(80);
  $objDrawing-&gt;setWorksheet($phpExcel-&gt;getActiveSheet());
  </code></pre>
  
  <p>and then save &amp; download the file</p>
  
  <pre><code>$writer = PHPExcel_IOFactory::createWriter($phpExcel, "Excel2007");
  header('Content-Type: application/vnd.ms-excel');
  header('Content-Disposition: attachment;filename="test.xlsx"');
  header('Cache-Control: max-age=0');
  ob_end_clean();
  $writer-&gt;save('php://output'); 
  </code></pre>
  
  <p>If I open the generated file with LibreOffice I can see the image in the center but if I open it with Ms Excel 2010 the image is align left.</p>
  
  <p>Any idea???</p>