tony-dfs Posted June 22 Share Posted June 22 <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 More sharing options...
anish.rai Posted June 23 Share Posted June 23 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 More sharing options...
Scott Andesen Posted July 20 Share Posted July 20 What is in the variable - what is the html you are injecting? Link to comment Share on other sites More sharing options...
Scott Andesen Posted July 21 Share Posted July 21 What html is in the variable? The html in the variable needs to be properly formatted. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now