Bullets and numbering within reports

2019-06-22 12:16发布

How do you add a bullet list and stylized numbered list using JasperReports?

2条回答
家丑人穷心不美
2楼-- · 2019-06-22 12:48

Try:

  1. Add static text (or a text field).
  2. Set Markup in the Properties panel to: html
  3. 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>
查看更多
冷血范
3楼-- · 2019-06-22 12:56

The problem starts, where we want to do automatic numbering without CSS styles. I solved this by implementing own JRDataSource.

查看更多
登录 后发表回答