The SAS Output Delivery System and reporting techniques

multiple anchor tags in ODS PDF TEXT statement

Reply
Frequent Contributor
Frequent Contributor
Posts: 139

multiple anchor tags in ODS PDF TEXT statement

Hello all-

I have the below statement in SAS 9.2

ODS PDF TEXT ="\S={leftmargin=.25in font_weight=bold font_size=1 color=&COLOR1 URL='#SCORE'} &FACID1=&RATE1 \S={leftmargin=.25in font_weight=bold font_size=1 color=&COLOR2 URL='#SCORE2'} &FACID2=&RATE2";

The macros vars convey the medical centers and their rates in color depending on below/above the target. The problem I am having is connecting to multiple pdf anchors within the report.

Only the first URL anchor seems to take effect through the whole statement and the others are negated after-Is there a way to get around that if I want to keep this on the same line? 

Also how do I change the borders to be rid of the blue border.

Thanks

Lawrence

SAS Super FREQ
Posts: 8,820

Re: multiple anchor tags in ODS PDF TEXT statement

Hi:

  There's a Tech Support Note on the blue border issue ( 24182 - How to remove the blue border around URL= links in an ODS PDF file).

  I think you only get one URL per "cell" and the ODS TEXT is in 1 cell. But really you have to check with Tech Support to be certain.

cynthia

Frequent Contributor
Frequent Contributor
Posts: 139

Re: multiple anchor tags in ODS PDF TEXT statement

Hello Cynthia! Been awhile!

Thanks for the information. I will contact tech support on that.

Lawrence

Ask a Question
Discussion stats
  • 2 replies
  • 407 views
  • 0 likes
  • 2 in conversation