Date: Wed, 28 Apr 2004 11:49:23 -0400
Reply-To: "Charles W." <cwentzel@PHC4.ORG>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Charles W." <cwentzel@PHC4.ORG>
Subject: ODS pdf with url= :: get rid of the ugly blue box around your
links
The following code creates a PDF document with a table of values, some of
which have links on them. That's good.
But the cells in the table with links are surrounded by blue boxes. That's
bad.
I can change the color of the boxes to any other color using the LINKCOLOR=
option. What I'd like to do is get rid of the box altogether. But
LINKCOLOR=TRANSPARENT doesn't work. And LINKCOLOR=BLACK doesn't look right
either (leads to a heavier black line around the cell as compared to other
cells).
I've heard that in SAS v.9 there would be a way to get rid of that box.
But I can't figure out how. Any ideas?
Here's the code:
***************************;
proc format;
value $linkft
'sas'='//www.sas.com'
'sas-l'='//www.listserv.uga.edu/archives/sas-l.html'
'dilbert'='//www.dilbert.com';
run;
data k;
input site $ desc $ 10-60;
cards;
sas General information about SAS
sas-l Details about SAS programming
dilbert Usually good for a laugh
;
run;
ods pdf file='c:\working\links.pdf';
title 'List of Stuff';
proc report data=k nowindows;
columns site desc ;
define site /display;
define desc /display;
compute site;
call define(_col_,"style","style=[url='"||put(site,$linkft.)||"']");
endcomp;
run;
ods pdf close;