开发者

Adding a Table Of Content to a Jasper Report?

开发者 https://www.devze.com 2023-01-15 13:35 出处:网络
How do I go about adding a Tabl开发者_JS百科e Of Contents to a Jasper Report?assuming your are using iReport,

How do I go about adding a Tabl开发者_JS百科e Of Contents to a Jasper Report?


assuming your are using iReport,

for example,

  1. add a text field;
  2. right click, choose hyperlink,
  3. set Hyperlink target to self
  4. and set Hyperlink type to LocalAnchor,
  5. set the anchor value in the Hyperlink Anchor Expression.

after a pdf has been generated, you can click that text field which goes the anchor(bookmark if more precisely)

sadly, I don't think iReport can automatically deduce the TOC in a simple manner. So, you have to add these entries manually.

Adding a Table Of Content to a Jasper Report?

0

精彩评论

暂无评论...
验证码 换一张
取 消