title: How to make left indent in text field after overflow in Jaspersoft studio
body: <p>I have defined an style in jaspersoft studio 6.4.3 which should move the lines, except the first line, 10 pix to the right.
  The reason is that after text overflow in a text field, the second line appears beneath the first line with the same indent, but I need to change it for my table of content.
  The following approach works fine by exporting in Java, but does not work after pdf export. In this case the box moves to right and the firstLineIndent has no effect.<a href="https://i.stack.imgur.com/K3TXS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K3TXS.png" alt="enter image description here"></a></p>
  
  <p>Here is the Style:</p>
  
  <pre><code>    &lt;style name="Inhaltsverzeichnis" style="Formatvorlage Standard (kleiner) + 10 Pt." hTextAlign="Left" markup="styled" fontName="Calibri" isPdfEmbedded="true" &gt;
      &lt;box leftPadding="10"/&gt;
      &lt;paragraph firstLineIndent="-10"/&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>And use it in my TOC:</p>
  
  <pre><code>        &lt;band height="31" splitType="Stretch"&gt;
          &lt;property name="local_mesure_unitheight" value="pixel"/&gt;
          &lt;property name="com.jaspersoft.studio.unit.height" value="px"/&gt;
          &lt;printWhenExpression&gt;&lt;![CDATA[$F{level} == 1]]&gt;&lt;/printWhenExpression&gt;
          &lt;staticText&gt;
              &lt;reportElement style="InhaltsverzeichnisPunkte" mode="Transparent" x="0" y="1" width="440" height="18" uuid="b08b479c-10a8-4d87-8507-4f32fd50004f"/&gt;
              &lt;text&gt;&lt;![CDATA[. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .]]&gt;&lt;/text&gt;
          &lt;/staticText&gt;
          &lt;textField isStretchWithOverflow="true"&gt;
              &lt;reportElement style="InhaltsverzeichnisPunkte" x="396" y="1" width="45" height="18" uuid="bc43bd36-7466-457c-95e6-384410c05cbe"/&gt;
              &lt;textElement textAlignment="Right"/&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA["&lt;style backcolor='white'&gt;"+($V{PAGE_NUMBER} + $F{pageIndex} + 3)+"&lt;/style&gt;"]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField isStretchWithOverflow="true" hyperlinkType="LocalAnchor"&gt;
              &lt;reportElement key="" style="Inhaltsverzeichnis" mode="Transparent" x="0" y="3" width="396" height="15" uuid="b19a02f7-3d3f-4086-86ed-5dc6859e5fd1"/&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA["&lt;style backcolor='white'&gt;"+$F{label}+"&lt;/style&gt;"]]&gt;&lt;/textFieldExpression&gt;
              &lt;hyperlinkAnchorExpression&gt;&lt;![CDATA[$F{label}]]&gt;&lt;/hyperlinkAnchorExpression&gt;
          &lt;/textField&gt;
      &lt;/band&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/K3TXS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K3TXS.png" alt="enter image description here"></a></p>