Date: Thu, 21 Jun 2007 16:07:17 -0400
Reply-To: Lisa Stetler <lisa_Stetler@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Lisa Stetler <lisa_Stetler@YAHOO.COM>
Subject: Re: SAS ODS RTF titles, pretext, page numbering
In answer to your first question, I believe that ^{pageof} ONLY works in the
TITLE and FOOTNOTE statements.
For the second question:
So long as you are not using bodytitle (which from you saying that you are
putting titles in header, you are not) try:
title3 "'^R/RTF'\brdrt\brdrs\brdrw10 '";
or
title3 "'^R/RTF'\brdrb\brdrs\brdrw10 '";
See which one you like the look of. The first one puts a line at the top of
the row, whereas the second one puts the line at the bottom of the row.
HTH,
Lisa
On Tue, 19 Jun 2007 17:53:46 -0000, Frank <deps_bear@YAHOO.COM> wrote:
>Hello,
>
>I have two questions related to ODS output to RTF under v9.1.
>
>1. I am using 'pretext' in my proc report style to generate titles
>for the BODY area
>of the table, I want the page numbering to be the 3'rd line of the
>title, however,
>when I use the RTF codes under v9.1 as directed in the SAS ODS RTF FAQ
>http://support.sas.com/faq/040/FAQ04010.html
>they are not being recognized. How do I get page numbering to work in
>this situation?
>
>%let t1 = %nrbquote(Table 1);
>%let t2 = %nrbquote(Part 1);
>%let t3 = %nrbquote(Page ^{pageof});
>
>%let ts = %nrbquote(&t1{\line}&t2 {\line}&t3);
>
>proc report data = report nowd headline center missing split = "~"
>
>style(report)=[
> pretext="&ts."
>
> ]
>;
>.
>.
>.
>
>2. I'm also using titles on the top of the page issuing standard
>title statements, which
>puts the titles in the header of the RTF file, which is what I want.
>But, I would like
>a solid line across the bottom border of the header. How do I create
>a bottom border in
>the header?
>
>title1 j=l "title left" j=r "title right" ;
>title2 j=l "title2 left" ;
>
>such that the top of the page looks like this:
>
>title left title right
>title2 left
>_________________________________________________
>
>Thanks,
>F
|