Date: Fri, 18 Feb 2005 13:34:49 -0500
Reply-To: Francis Harvey <HARVEYF1@WESTAT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Francis Harvey <HARVEYF1@WESTAT.COM>
Subject: Re: ODS RTF - non-breaking space in header
Content-Type: text/plain; charset="us-ascii"
Mike,
I am afraid not. This is part of a SAS/INTRNET product (WARP) where
I am just providing code for the interior of an ODS wrapper to
_webout. It would be very difficult to switch this to print to a file
and then load the processed document into _webout.
Francis R Harvey III
WB 303, (301)294-3952
harveyf1@westat.com
> -----Original Message-----
> From: Mike Rhoads
> Sent: Thursday, February 17, 2005 5:04 PM
> To: Francis Harvey; SAS-L@LISTSERV.UGA.EDU
> Subject: RE: ODS RTF - non-breaking space in header
>
>
> I guess another possible short-term expedient would be to
> post-process the output rtf file to change the non-breaking
> spaces (\~) to regular spaces. Of course, this wouldn't be
> practical if there are some desired non-breaking spaces in
> the file, or if the \~ string occurs in other contexts.
>
> Mike Rhoads
> Westat
> RhoadsM1@Westat.com
>
> -----Original Message-----
> From: Francis Harvey
> Sent: Thursday, February 17, 2005 4:21 PM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Re: ODS RTF - non-breaking space in header
>
>
> Ya,
>
> Apparently hotfix 82BB97 has already been applied to our SAS
> installations. Unfortunately, Mike Rhoads discovery that the problem
> does not exist with SAS 9.1.3 (WinXP Pro) does not offer a complete
> solution as the server will be using 8.1.3 through the end of the
> month. If nothing else, it is good to know the problem will eventually
> disappear.
>
> Francis R Harvey III
> WB 303, (301)294-3952
> harveyf1@westat.com
>
>
> > -----Original Message-----
> > From: SAS(r) Discussion [mailto:SAS-L@listserv.vt.edu] On
> > Behalf Of Ya Huang
> > Sent: Thursday, February 17, 2005 3:26 PM
> > To: SAS-L@LISTSERV.VT.EDU
> > Subject: Re: ODS RTF - non-breaking space in header
> >
> >
> > Not sure if this hotfix will help:
> >
> > http://support.sas.com/techsup/unotes/SN/005/005256.html
> >
> > Kind regards,
> >
> > Ya Huang
> >
> > On Thu, 17 Feb 2005 14:35:13 -0500, Francis Harvey
> > <HARVEYF1@WESTAT.COM>
> > wrote:
> >
> > >Hi,
> > >
> > >I have a report where the data in each column won't be
> very long, but
> > >the column headers will be, so I would like to limit the
> maximum size
> > >of the column header in order to fit all of the columns on a page
> > >without wrapping. This works with html output, but with RTF output,
> > >the column headers are produced using non-breaking spaces
> which leads
> > >to odd truncations in the header text. For example, in the
> > code below,
> > >my RTF report has a column header with a break after the a
> in example
> > >while the HTML report is fine. I don't want to have to
> > insert specific
> > >line breaks, and my attempts to use the ODS formatting text \w to
> > >indicate an optional line-break in place of spaces did not work. I
> > >have tried to find a method to have ODS output normal
> spaces in place
> > >of the non-breaking spaces, but I have not been successful. Any
> > >suggestions anyone can provide would be appreciated. Thanks.
> > >
> > >data longColumnHeaderExample;
> > > column1 = 1;
> > > column2 = 1;
> > > label column1 = "Long Column Header Example Column 1"
> > > column2 = "Long Column Header Example Column 2"
> > > ;
> > >run;
> > >ods listing close;
> > >ods html file="c:\longColumnHeaderExample.html";
> > >ods rtf file="c:\longColumnHeaderExample.rtf";
> > >proc report data=longColumnHeaderExample nowindows
> > > style(header)=[cellwidth=150];
> > >run;
> > >ods html close;
> > >ods rtf close;
> > >ods listing;
> > >
> > >Francis R Harvey III
> > >WB 303, (301)294-3952
> > >harveyf1@westat.com
> >
>
|