Jump to content

textelement's paragraph settings lineSpacing and lineSpacingSize are ignored while exporting to PPT


Recommended Posts

Hi,

  I am using jasper reports library 6.20.5 in my app. I have a situation where I have lot of text (that spans multiple lines) and need to limit the paragraph line spacing. I have used some thing like <paragraph lineSpacing="Fixed" lineSpacingSize="7"/> for this text element. It works perfectly with pdf export. But when I try to do ppt export (JRPptxExporter), it seems like this whole property is ignored. I tried to find if there are any specific configuration that I can set to resolve this but I couldn't find any.  Is there anything I can do to resolve this or is it a known issue? Any pointers to resolve it are appreciated. Thank you.

 

<textField>
  <reportElement style="footNote" x="10" y="10" width="650" height="60" uuid="33436f6d-70bc-4365-b175-f31cca77692f"/>
  <textElement verticalAlignment="Bottom" markup="styled">
    <paragraph lineSpacing="Fixed" lineSpacingSize="7"/>
  </textElement>
  <textFieldExpression><![CDATA["some text that spans many lines"]]></textFieldExpression>
</textField>

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...