Date: Mon, 1 Feb 2010 10:15:51 -0500
Reply-To: "Peng, Lily" <Lily.Peng@PHARMA.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Peng, Lily" <Lily.Peng@PHARMA.COM>
Subject: Re: How to display indent and blank line break in pdf/rtf output?
In-Reply-To: <201001282208.o0SLmLRl004503@malibu.cc.uga.edu>
Content-Type: text/plain; charset="us-ascii"
Thank you! The problem is solved.
Lily
-----Original Message-----
From: Ya Huang [mailto:ya.huang@AMYLIN.COM]
Sent: Thursday, January 28, 2010 5:08 PM
To: SAS-L@LISTSERV.UGA.EDU; Peng, Lily
Cc: Ya Huang
Subject: Re: How to display indent and blank line break in pdf/rtf output?
Assuming you already 'indented' the text by padding the space in
the var, to show the 'indent' or space, you need to turn on the
asis option in style:
data xx;
a='not indent'; output;
a=' indent '; output;
run;
ods rtf file="c:\temp\junk.rtf";
ods pdf file="c:\temp\junk.pdf";
proc report data=xx nowd;
column a;
define a / display style=[asis=on];
run;
ods rtf close;
ods pdf close;
On Thu, 28 Jan 2010 16:37:16 -0500, Peng, Lily <Lily.Peng@PHARMA.COM> wrote:
>Dear all,
>
>I am trying to create a pdf/rtf output from the SAS output. However, the
indent that displays in SAS output is not working in pdf/rtf file. Also,
the blank line that is used to split between different groups can't display
in pdf/rtf either.
>
>For example:
>
>A. In SAS output:
>******************************************
>System Organ Class
> Higher Level Term
> Lower Level Term
>******************************************
>SOC11111111
> HLT1111111111
> LLT1111111111
>(Note: blank line here)
>SOC22222222222
> HLT1111111111
> LLT1111111111
>
>
>B. In PDF output:
>
>******************************************
>System Organ Class
>Higher Level Term
>Lower Level Term
>******************************************
>SOC11111111
>HLT1111111111
>LLT1111111111
>SOC22222222222
>HLT1111111111
>LLT1111111111
>
>Does anybody here knows how to solve this problem?
>
>Thanks a lot!
>
>Lily