Hi all. I'm using jasperreport+ireport to export PDF document. I've got a question: how to render a html snippet in the PDF ? I added a Html Component in the template and tried to insert a snippet like this: "<html> <div class="myclass1"> ... </div> <div class="myclass2"> ... </div> <img src="http...."> ... </html>" just like you see, I've got many custom styles & css in the html snippet,and how could i render it in the exported pdf document? If the snippet is simple, it works fine,but when the snippet is a little complex ,it turns out incorrectly. So how could i implement my requirement ? And I found another problem that I can't newline in the HTML Content Exp. Anybody know this pls tell me thanks!