singmal Posted November 2, 2009 Share Posted November 2, 2009 Hi, I am having issue(s) displaying dynamic HTML content to show up on the PDF. I can only see couple of lines being displayed and the bold , paragraph doesn't work excatly the way they are supposed to work. I created a textField in column Header band. I have selected the markup type as html , in the textfield property and did set the variable html text as a string 'htmlText' parameter set on the java servlet parameters.put("htmlText","has all the html text in it")1) Does anybody know the limitations on displaying the HTML text in jasper, if there are any ??2) How do I implement pagination if the size of the htmlText is larger than the defined columnHeader band width = 300In our case the htmlText is variable and can be very large at times. Please share your findings (Attached the html code snippet) Thanks regardsMallik Code:<html> <body> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> <b>China Analysis: August 1 to August 31</b> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> <b>Topic: Forms</b> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> <b>Contact Us</b> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> <b> MMMMMMMMMMMMMMMMMMMMMMMM </b> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> <b> <i>Summary</i> </b> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> In August, eBrochure form requests totaled 524, a -15.3% decrease from the month prior. Overall unique visitors to the site were down 10% in the month, leading to the decrease in lead totals. </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> <b> <i>Campaign Contribution to Lead Requests</i> </b> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz. <font kerning="0"></font> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> The Inspired Performance Journey campaign continued to run in August, referring visitors to the branded microsite. Traffic from the microsite to infiniti.com.cn generated 3 eBrochure requests in August. S </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> Despite the P <font kerning="0">roduct</font> online campaign running in August, the share of P <font kerning="0">roduct</font> eBrochure requests is declining slightly m/m, down 2% pts in August. </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> <b> <i>Paths to the eBrochure form</i> </b> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> The main source of traffic to the first step of the eBrochure form is the homepage with 77.6% of form traffic originating from this source. Around 6.7% of form traffic originates from those who directly enter the site on the form page. </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> Around 49.7% of those who visited the first page of the form exited the site from that page and 27% ventured back to the homepage without continuing to fill out the form. </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> <b> <i>Paths to Contact Us</i> </b> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy yyyyyy. </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> <b>Recommendations</b> </font> </p> <p align="Left"> <font face="Helvetica" size="8" color="#454545" letterspacing="0" kerning="1"> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx. </font> </p> </body></html> Link to comment Share on other sites More sharing options...
vineethhegde68 Posted June 21, 2022 Share Posted June 21, 2022 Any solution around this? I have similar req! Link to comment Share on other sites More sharing options...
vineethhegde68 Posted June 21, 2022 Share Posted June 21, 2022 Any solution around this? I have similar req! 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