Bookmarks automatically generated in PDF [message #123079] |
Thu, 02 February 2006 08:18  |
Eclipse User |
|
|
|
Helo.
We work with BIRT 1.0 to generate PDF reports.
Our rptdesign files generaly contain many scripted datasets (~50), and
are divided in main sections (9) which are divided in subsections
(almost one subsection per dataset).
I am tying to get this running with BIRT 2.0, fine work
Unfortunately, the PDF generated now contains bookmarks which have
automatically been created for the the tables where a grouping is
done, which I don't need...
So, I have two questions:
1. How can I disable this automatic bookmark generation?
2. How can I manually specify other bookmarks (any
documentationavailable) pointing to the main sections headings, and
how can I name these sections (localization is necessary, I work in
Belgium...)?
|
|
|
|
Re: Bookmarks automatically generated in PDF [message #123312 is a reply to message #123141] |
Thu, 02 February 2006 14:28   |
Eclipse User |
|
|
|
As you've discovered, BIRT automatically generates bookmarks or table of
contents values for group values. You can change the values displayed by
going into the group editor and specifying a different expression for the
TOC Item Expression field. Unfortunately, you can't delete the value
specified here so the TOC always displays them (you should file a bug
requesting the ability to delete this value.)
You can specify TOC expressions for other report elements, such as a text
element that displays a section heading. Select the element, then in
Property Editor, specify an expression for the Table of Contents property.
-Diana
"floor" <floorflux@hotmail.com> wrote in message
news:drt93f$ote$1@utils.eclipse.org...
>
> "Frederic Ferrant" <frederic@ferrant.be> wrote in message
> news:t914u1lqulndpr713ajfqf2o7595i6mkuv@4ax.com...
> > Helo.
> > We work with BIRT 1.0 to generate PDF reports.
> > Our rptdesign files generaly contain many scripted datasets (~50), and
> > are divided in main sections (9) which are divided in subsections
> > (almost one subsection per dataset).
> >
> > I am tying to get this running with BIRT 2.0, fine work
> > Unfortunately, the PDF generated now contains bookmarks which have
> > automatically been created for the the tables where a grouping is
> > done, which I don't need...
> >
> > So, I have two questions:
> >
> > 1. How can I disable this automatic bookmark generation?
> >
> > 2. How can I manually specify other bookmarks (any
> > documentationavailable) pointing to the main sections headings, and
> > how can I name these sections (localization is necessary, I work in
> > Belgium...)?
>
> I would also like to see how to control the bookmark generation for the
pdf
> format. That is an awesome feature! Documentation would be great, but at
> least a simple description would help me get started.
>
> --floor
>
>
|
|
|
|
|
Re: Bookmarks automatically generated in PDF [message #124172 is a reply to message #123582] |
Fri, 03 February 2006 15:34   |
Eclipse User |
|
|
|
I don't know the answer to the first question. My guess is that you cannot
localize TOC values. I suggest you submit an enhancement if you want this
functionality.
Bookmarks are for creating hyperlinks between two report elements.
Basically, there are two steps to create such a hyperlink. (1) Select the
target report element and use bookmark to identify it. (2) Select the
source report element, choose the Hyperlink property and specify the
bookmark of the target report element.
Table of contents is for specifying values for the Table of contents that
appears in the Web Viewer. In a PDF report, the table of contents appears as
PDF bookmarks (which has nothing to do with the Bookmark property in
Property Editor).
Does this clear things up?
-Diana
"Frederic Ferrant" <frederic@ferrant.be> wrote in message
news:6b46u157a27ictpm83590na9gpjd3i5md4@4ax.com...
> Thank you for the answer.
> I still have a question: how do I specify a link to a label in a
> 'properties' file using the Expression Builder? I need to display a
> different bookmark label for each language...
> The labels are linked to the properties files using 'localization',
> but this isn't possible for 'Table Of Contents' entries... Can I use
> the value of a selected label in the Expression Builder? Or is there
> another way to do this?
> Can you help me?
>
> Another question: what's he difference between 'Bookmarks' and 'Table
> of Content' in the Properties editor...?
>
>
> On Thu, 2 Feb 2006 11:28:11 -0800, "Diana Peh" <diana.peh@actuate.com>
> wrote:
>
> >As you've discovered, BIRT automatically generates bookmarks or table of
> >contents values for group values. You can change the values displayed by
> >going into the group editor and specifying a different expression for the
> >TOC Item Expression field. Unfortunately, you can't delete the value
> >specified here so the TOC always displays them (you should file a bug
> >requesting the ability to delete this value.)
> >
> >You can specify TOC expressions for other report elements, such as a text
> >element that displays a section heading. Select the element, then in
> >Property Editor, specify an expression for the Table of Contents
property.
> >
> >-Diana
|
|
|
|
|
|
|
|
|
|
Re: Bookmarks automatically generated in PDF [message #1271201 is a reply to message #873112] |
Fri, 14 March 2014 09:43  |
Eclipse User |
|
|
|
>> Unfortunately, you can't delete the value
>> specified here so the TOC always displays them
Actually after some time I discovered that inside the "group" edit page, you can also leave empty the TOC entry, and this will result in showing no TOC (i.e. no PDF bookmark) entry at all.
On the contrary if you specify "" (black string) as value, the TOC entry will be shown, even if blank.
Hope this can help someone....
|
|
|
Powered by
FUDForum. Page generated in 0.08122 seconds