title: How to use the POI to cancel the automatic adjustment of the spacing between Chinese and western languages in word paragraphs
body: <p>I use <code>XWPFDocument</code> and <code>XWPFParagraph</code> class to create a Word, But there is always a gap between Chinese and Western, I cancel the automatic adjustment of the spacing between Chinese and western languages in word paragraphs through WORD can solve the problem, but how can I do that useing code;</p>
  
  <p>I think can use <code>CTStyle</code>, but I don't know how to do that;</p>
  
  <pre><code>XWPFDocument doc = new XWPFDocument();
  XWPFParagraph page = doc.createParagraph();
  XWPFRun runs = page.createRun();
  runs.setBold(false);
  runs.setFontFamily("宋体");
  runs.setFontSize(9);
  runs.setText("12H型");
  
  //export
  OutputStream output = response.getOutputStream();
  BufferedOutputStream bufferedOutPut = new BufferedOutputStream(output);
  bufferedOutPut.flush();
  doc.write(bufferedOutPut);
  bufferedOutPut.close();
  </code></pre>