Creating Bookmarks in Your PDF File

With ODS HTML output, you can generate a table of contents to help you find the results you want in a lengthy report. You also get a table of contents with ODS PDF output.

The PDF format supports the creation of bookmarks, which are displayed by Adobe Reader in a window to the left of the main PDF file. By clicking on a bookmark, you can jump directly to the correct output page. The PDF bookmarks created by ODS are basically the same as the headings and subheadings created in an ODS HTML table of contents.

The following code illustrates this feature. It produces a two-page output file with several tables, which are bookmarked in the PDF output.

title 'Analysis of Consumer Complaints'; ODS PDF FILE='ComplaintAnalysis.pdf'; ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.