The SAS Output Delivery System and reporting techniques

ODS PDF gridded layout - are booksmarks supported?

Reply
Frequent Contributor
Posts: 79

ODS PDF gridded layout - are booksmarks supported?

It seems in the following code, that once I add ods regions, bookmarks no longer function (they are generated, but clicking on them does not change my location in the pdf document).  Can anyone else replicate this problem and is there something I need to do for bookmarks to work (note I have all column spans = 2 but this won't be the case in the real document).

 

Thanks.

 

title 'Analysis of consumer complaints';
ods pdf file="c:\temp\complaintanalysis.pdf";


ods layout gridded columns=2 column_gutter=0;
ods region column_span=2 style={just=left};
proc freq data=sashelp.cars;
	tables type*origin;
run;

ods region column_span=2 style={just=left};
proc sgplot data=sashelp.cars;
	vbar type;
run;

ods region column_span=2 style={just=left};
proc odslist;
   item;
       list;
         item "Checking bookmarks work" ;
      end;
   end;
run;

ods layout end;
ods pdf close;
SAS Super FREQ
Posts: 8,819

Re: ODS PDF gridded layout - are booksmarks supported?

Hi:
This is behavior that you should report to Tech Support and see if the bookmarks are working as designed. I see what you describe, without ODS LAYOUT/REGION statements, the bookmarks navigate correctly, but with ODS LAYOUT/REGION statements, the bookmarks only go to the top of the first page -- even for output that is on page 2. This needs to be investigated and possibly reported to one of the developers.

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