The SAS Output Delivery System and reporting techniques

ODS Layout in PDF with meaningfull TOC

Reply
Occasional Contributor
Posts: 14

ODS Layout in PDF with meaningfull TOC

Hi,

I have an application generating 1 large PDF file.
Let's say that I have to create output per Division. For each Division I have to create 3 pages, each page containing several tables and graphs.
I need to add a table of contents and bookmarks showing - instead of PROC names, and labels like 'GCHART15' - meaningfull information: 1 item for each Division

Example
Assume an output with
Page 1: Division One, with Table1 and Chart1
Page 2: Division One, with Chart2, Chart3 en Table 2
Page 3: Division One, with Table3 and Plot1
Page 4: Divsion Two, with Table 4 and Chart 4
etc..

I want to have a TOC and bookmarks showing only
- Division One
- Division Two

Does anyone have an example on this?

Henri
SAS Super FREQ
Posts: 8,743

Re: ODS Layout in PDF with meaningfull TOC

Hi:
If you search previous forum postings or the documentation for ODS PROCLABEL and CONTENTS= (for PROC REPORT, PROC PRINT and PROC TABULATE), you will find one way to touch the Table of Contents generated by ODS.

Then if you search previous forum postings or the documentation for ODS DOCUMENT/PROC DOCUMENT for replay/restructure of your output objects, you will find a second way to impact the Table of Contents generated by ODS.

Either method or a combination of methods should get you closer to the TOC you want. In addition, searching for Tech Support notes at support.sas.com, yields some useful information:
http://support.sas.com/kb/37/587.html
http://support.sas.com/kb/11/888.html
http://support.sas.com/kb/5/089.html

cynthia
Ask a Question
Discussion stats
  • 1 reply
  • 141 views
  • 0 likes
  • 2 in conversation