Bolding, spacing and indenting text in phpWord
<p>I have some text that I want bold, separated from previous and subsequent paragraphs, and indented. 
I can't get all three properties to work together.</p>

<p>This works for bold and spaced:</p>

<pre><code>$section = $phpWord-&gt;addSection();
$section-&gt;addText(
    'Re: Your Application for Post of Security Guard',
    array('bold' =&gt; true),
    array('space' =&gt; array('before' =&gt; 360, 'after' =&gt; 280))
  );
</code></pre>

<p>and this works for indented: </p>

<pre><code>$section = $phpWord-&gt;addSection();
$section-&gt;addText(
    'Re: Your Application for Post of Security Guard',
   array('indentation' =&gt; array('left' =&gt; 540, 'right' =&gt; 120))
   );
</code></pre>

<p>but this doesn't work:</p>

<pre><code>$section = $phpWord-&gt;addSection();
$section-&gt;addText(
    'Re: Your Application for Post of Security Guard',
    array('bold' =&gt; true),
    array('space' =&gt; array('before' =&gt; 360, 'after' =&gt; 280)),
    array('indentation' =&gt; array('left' =&gt; 540, 'right' =&gt; 120))
  );
</code></pre>

<p>Can anyone help me?</p>