title: How I can export to excel a tree hierarchy using Apache POI?
body: <p>I have a class:</p>
  
  <pre><code>class Node{
  private Node parent;
  private List&lt;Node&gt; children;
  ...
  }
  </code></pre>
  
  <p>How I can export a tree of it's items to excel using Apache POI for getting document like this (I need to shift only first column in table):</p>
  
  <pre><code>A
   B
    C
   D
   E
    F
     G
  </code></pre>