mr_jaber Posted August 29, 2006 Share Posted August 29, 2006 hi all ,i have a certain case iam not sure whether JasperReport is Capable of , i need to have a field within my report which can render HTML , in another words the user will send HTML formatted text as parameter to the report , and the report should render it and display it , any Hints ... Thanks in advance Link to comment Share on other sites More sharing options...
kaunietiss Posted August 30, 2006 Share Posted August 30, 2006 Try selecting checkBox "Is styled text" in Edit -> Element properties -> Font (don't forget to select the appropriate fieldbefore doing that). Link to comment Share on other sites More sharing options...
nomlad Posted September 13, 2006 Share Posted September 13, 2006 I want to do much the same thing but my HTML is coming form a SQL server text field, I have tried the suggestion of setting the 'styled text' property which appears not to work. Any other suggestions? Link to comment Share on other sites More sharing options...
nomlad Posted September 14, 2006 Share Posted September 14, 2006 actually I have since found that setting the styled text attrib. does cause some html tags not to display in the pdf view although the ones I tried had no effect on the format (I tried bold and italic). If I used the html display then it worked - also with rtf output opened in wordpad.so now I need to work out how to output as rtf from my java servlet... 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