Bullets and numbering within reports
How do you add a bullet list and stylized numbered li开发者_如何转开发st using JasperReports?
Try:
- Add static text (or a text field).
- Set Markup in the Properties panel to:
html
- Use the following HTML markup in the text:
<ul>
<li>bulleted item 1</li>
<li>bulleted item 2</li>
</ul>
<ol>
<li>ordered item 1</li>
<li>ordered item 2</li>
</ol>
The problem starts, where we want to do automatic numbering without CSS styles. I solved this by implementing own JRDataSource.
精彩评论