Jump to content

Text formatting problem in HTML


tony-dfs

Recommended Posts

<textField>

         <reportElement x="0" y="30" width="555" height="610" backcolor="#FFFFFF"/>
         <textElement markup="html"/>
         <textFieldExpression><![CDATA[$V{myHtmlVar}]]></textFieldExpression>

</textField>

Hi everyone,

I have a problem with my report, as you can see above, I use a variable to inject HTML into my report.

Everything works as expected, but <b> , <i> and <strong> tags doesn't work. I use "Arial" as font to generate my report.

I only want to put some part of my html in bold, i cannot use <style> tag because it will apply to all my report...

Any ideas ?

Thx

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic


Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.

Link to comment
Share on other sites

  • 4 weeks later...

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...