LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 2004, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 27 Jan 2004 16:42:48 -0500
Reply-To:   Don Stanley <don_stanley@PARADISE.NET.NZ>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Don Stanley <don_stanley@PARADISE.NET.NZ>
Subject:   Re: ods rtf: adding border to a specific row
Comments:   To: fast_rabbit@GMX.CH

Hi

It would be nice if the frame and rules attributes could be applied to cells but they are documented table only and that seems to be the way it is. Using WORD I put the borders for just that cell back on, saved as an RTF, then looked at the RTF to see what was added. However, even when copying the copious amount of RTF that was generated by WORD and writing it from SAS, I couldn't get this to work.

You may be interested to know that the PROC TEMPLATE code is not necessary, you can use the following to remove all borders. This works only when you want all borders to be removed, the FAQ at

http://support.sas.com/rnd/base/topics/templateFAQ/Template_rtf.html#global

gives information about removing specific borders (but alas nothing about adding cell borders back in).

Remove all borders with

ods rtf file="C:/temp/out.rtf" ;

proc print data=a noobs style={frame=void rules=none};

run; ods rtf close;

You may get some more info about your cell border query by submitting a problem call to tech support.

Don

On Tue, 27 Jan 2004 07:28:16 -0800, chris <fast_rabbit@GMX.CH> wrote:

>I run into the problem that I want to add a line between two rows of a >table but not having any other lines in that table. >The code below produces a table with no borders at all. >Anybody some idea? > >Thanks >Chris > >proc template; > define style styles.testrtf; > parent=styles.rtf; > style Table from Output / > Background=_Undef_ > rules=none > frame=void; > style Header from Header / > Background=_Undef_; > style Rowheader from Rowheader / > Background=_Undef_; > end; > run; > > >data a; > length a $70; > > a="first row"; > output; > a="second row"; > output; > a="^R/RTF'\tsbrdrb " || "row with border"; > output; > a="forth row"; > output; > > >ods escapechar='^'; > ods rtf file="C:/temp/out.rtf" > style=testrtf; > proc print data=a noobs; > run; >ods rtf close;


Back to: Top of message | Previous page | Main SAS-L page