Date: Tue, 16 Aug 2011 14:11:10 -0400
Reply-To: Philip C <SASL.PhilipC@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Philip C <SASL.PhilipC@GMAIL.COM>
Subject: Re: Line Breaks in odsout
I think I found part of my own answer... let me rephrase my quiestion.
http://www.sascommunity.org/mwiki/images/b/be/ODS_DATA_Step_Object_Method_10
1-Tip_Sheet.pdf
According to this tip sheet, there is the "new_line" option for
the ".format_text()" method. However when I have tried to use it, I get an
error.
Is this element of odsout functional in SAS 9.2?
4910 title; footnote;
4911 data _Null_;
4912 declare odsout pg();
4913 pg.table_start(overrides:"borderwidth=0 ");
4914 pg.row_start();
4915 pg.cell_start(overrides:"just=c font_size=14pt font_weight=bold");
4916 pg.format_text (text: "Lorem Aliquid Mnesarchum", newLine:1);
4917 pg.format_text (text: "Deterruisset Necessitatibus", newLine:1);
4918 pg.format_text (text: "June 2011", newLine:1);
4919 pg.cell_end();
4920 pg.row_end();
4921 pg.table_end();
4922 run;
NOTE: Writing TAGSETS.EXCELXP Body file: CheckFiles2.xls
WARNING: DATA step interface is preproduction in this release.
NOTE: DATA statement used (Total process time):
real time 0.18 seconds
cpu time 0.07 seconds
WARNING: Invalid parameter 'NEWLINE' for method 'FORMAT_TEXT'. Parameter
will
be ignored.
WARNING: Invalid parameter 'NEWLINE' for method 'FORMAT_TEXT'. Parameter
will
be ignored.
WARNING: Invalid parameter 'NEWLINE' for method 'FORMAT_TEXT'. Parameter
will
be ignored.