Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: New TOC-feature and pdf-bookmark

  1. #1
    Join Date
    Mar 2008
    Posts
    364

    Default New TOC-feature and pdf-bookmark

    Hi there!
    I just tried the new table of content feature described on thomas' blog. It is really cool for html-reports. But can it be used for generating pdf-bookmarks somehow?
    I know there is a pdf-bookmark property on bands. This generates a toc in a pdf which links correctly to the bands in the report but always shows the same value (seems like I can't use [fieldname] there). Any news on this one?

  2. #2
    Join Date
    Mar 2003
    Posts
    8,085

    Default

    Hmm.. PDF bookmarks work here. Did you specify a static string in the value column or did you add a style-expression?
    A static string will never ever change, as being of static value is the point of setting a static string
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

  3. #3
    Join Date
    Mar 2008
    Posts
    364

    Default

    well, i thought i used a style expression but it seems to be interpreted as a static text.
    What would be the correct style expression to display the current value of the grouping-key?

  4. #4
    Join Date
    Mar 2003
    Posts
    8,085

    Default

    =[your-field]

    and if you have more than one field to show, then append them with "&", as we need a single string here.

    =[your-field] & " " [another-field]


    Be aware that these *are* field references, not the names of your group.
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.