Jump to content
JasperReports Library 7.0 is now available ×

Support for PDF bookmarks?


2006 IR Open Dicussion

Recommended Posts

By: crrowland - crrowland

Support for PDF bookmarks?

2006-06-02 06:17

I have found in jasper report's release notes reference to the "bookmarkLever" attribute for "hyperlink elements" that can be used to create bookmarks in a PDF document.

 

I can't find any reference on how to actually put this in a report (directly editing the xml) or in iReport.

 

Does anyone have any experience with this?

Link to comment
Share on other sites

  • 7 months later...
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

It's actually deceptively simple (at least in 1.3.2).

 

Here's how to do it in iReport

1. In your variable or field you want to use, set the hyperlink value to the desired field or variable you want. Make sure it is set the hyperlink to Self...

 

2. Set the bookmark level to 1 (or whatever level you wish)

 

That's it...

 

When you run it, you may need to click on the Bookmarks tab in the PDF viewer to see the bookmarks, but they will be there.

Link to comment
Share on other sites

It's actually deceptively simple (at least in 1.3.2).

 

Here's how to do it in iReport

1. In your variable or field you want to use, set the hyperlink value to the desired field or variable you want. Make sure it is set the hyperlink to Self...

 

2. Set the bookmark level to 1 (or whatever level you wish)

 

That's it...

 

When you run it, you may need to click on the Bookmarks tab in the PDF viewer to see the bookmarks, but they will be there.

Link to comment
Share on other sites

  • 5 years later...

Hi,

when you say

 


Here's how to do it in iReport
1. In your variable or field you want to use, set the hyperlink value to the desired field or variable you want. Make sure it is set the hyperlink to Self...

2. Set the bookmark level to 1 (or whatever level you wish)

That's it...

 

I don't see a possibility to achieve it in iReport 4.1.3

if I display variable PAGE_NUMBER  properties, I only see "Name" and "Variable Class" properties

 

if I display a textfield properties, I see no "hyperlink" property

 

furthermore where do you set the hyperlink to Self and set the bookmark level ?

 

Thanks in advance for your reply

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...