The SAS Output Delivery System and reporting techniques

PDF with two root bookmark nodes

Reply
Respected Advisor
Posts: 3,782

PDF with two root bookmark nodes

I need to create a bookmarked PDF with two bookmark nodes so I can navigate the document mentbased on different criteria.

Consider this blankcrf.pdf

2-12-2015 7-53-38 AM.png

Super User
Super User
Posts: 7,668

Re: PDF with two root bookmark nodes

My only suggestion would be proc document.  Have fiddled around with it in the past: https://communities.sas.com/thread/42000

But is a bit basic, have gone back to manually creating the PDFs by hand.

Respected Advisor
Posts: 3,782

Re: PDF with two root bookmark nodes

bump

Super User
Posts: 9,854

Re: PDF with two root bookmark nodes

I don't know what kind of PROC you are using for PDF.

ods pdf file='c:\temp\x.pdf' ;

ods proclabel='ADMaS';

proc report data=sashelp.class nowd contents=' ';run;

ods proclabel='STDM';

proc report data=sashelp.class nowd contents=' ';run;

ods pdf close;

Xia Keshan

Respected Advisor
Posts: 3,782

Re: PDF with two root bookmark nodes

That does produce two root notes but they point to different places.  I want them to point to the same place.

SAS Super FREQ
Posts: 8,814

Re: PDF with two root bookmark nodes

HI:

  You might be able to do that with PROC DOCUMENT and using LINKs, but the only way that I know that bookmarks work is to make a new link that points to a new output object. I am not clear on how to point 2 different nodes to the same output object. That would be a question for Tech Support.

cynthia

Super User
Super User
Posts: 7,668

Re: PDF with two root bookmark nodes

Hi,

Have been thinking about this for a day or two and I am wondering what you are trying to achieve with the PDF bookmarks thing.  It looks a bit like a CDISC define file with the bookmark for SDTM.  If that's the case I am not sure why you don't just create an XML based define.  TBH I am not a fan of adobe products at all (actually second only to apple), e.g. proprietary, closed source, expensive, full of security flaws.  So maybe check out the guidance at: http://www.cdisc.org/define-xml

There are of course other methods of getting the information into a PDF, Javascripting in Acrobat, maybe creating a Word file first (or RTF?) with all the links, TOC etc. then porting it over.  But at the end of the day is PDF the right format?  I know the recent release has changed to a portfolio style format so you can include other files, has caused nothing but trouble.

Ask a Question
Discussion stats
  • 6 replies
  • 558 views
  • 0 likes
  • 4 in conversation