How do you add a bullet list and stylized numbered list using JasperReports?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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>
回答2:
The problem starts, where we want to do automatic numbering without CSS styles. I solved this by implementing own JRDataSource.
标签:
jasper-reports