LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (February 2010, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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?
Comments: To: Ya Huang <ya.huang@AMYLIN.COM>
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


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