title: Multiple cell align in same row (Apache POI)
body: <p>I'm using Apache POI 3.7 and I'm trying to create a row in which some cells have left align and other cells have center align.</p>
  
  <p>I've tried:</p>
  
  <p><code>if(isNumeric()){
      cellStyle.setAlignment(XSSFCellStyle.ALIGN_CENTER);
   }else{
      cellStyle.setAlignment(XSSFCellStyle.ALIGN_LEFT);
  }</code></p>
  
  <p>I also tried:</p>
  
  <p><code>cellStyle.setAlignment((short)0) , cellStyle.setAlignment((short)1) ...
  </code></p>
  
  <p>Anyhow, when I generate Excel document, all cells in the row are Left aligned or center aligned, but not mixed.</p>
  
  <p>I don't even know if it's possible to do what I'm trying.</p>
  
  <p>Thank you</p>