Date: Tue, 28 Aug 2007 20:16:12 -0700
Reply-To: David L Cassell <davidlcassell@MSN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: David L Cassell <davidlcassell@MSN.COM>
Subject: Re: ODS HTML, wrap wide tables like ODS PDF ?
In-Reply-To: <queAi.1$lX5.100451@news.sisna.com>
Content-Type: text/plain; format=flowed
rdevenezia@WILDBLUE.NET asked:
>
>Is there a way to have ODS HTML wrap a wide table in the same manner that
>ODS PDF does ?
It should *not* be feasible, without lots of extra fiddling.
HTML does not have the same idea of a 'page' as PDF does, so you
would have to model that 'page' and control all the wrapping by hand
for an HTML destination.
>Sample:
>
>data foo;
> array name[5] $8 ('One' 'Two' 'Three' 'Four' 'Five');
> do _n_ = 1 to dim(name);
> level1 = 'This is ' || name[_n_];
> do instance = 1 to 180;
> if instance / 40 < _n_ then output;
> end;
> end;
>run;
>
>ods html file="%sysfunc(pathname(WORK))\report.html" style=meadow;
>ods pdf file="%sysfunc(pathname(WORK))\report.pdf" style=meadow;
>
>proc tabulate data=foo missing;
> class level1 / order=data;
> class instance;
> classlev level1 / style=[asis=yes];
>
> table level1,instance*n;
>run;
>
>ods pdf close;
>ods html close;
>
>
>--
>Richard A. DeVenezia
>http://www.devenezia.com/
HTH,
David
--
David L. Cassell
mathematical statistician
Design Pathways
3115 NW Norwood Pl.
Corvallis OR 97330
_________________________________________________________________
Find a local pizza place, movie theater, and more….then map the best route!
http://maps.live.com/default.aspx?v=2&ss=yp.bars~yp.pizza~yp.movie%20theater&cp=42.358996~-71.056691&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=950607&encType=1&FORM=MGAC01