<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ODS RTF WORDSTYLE option in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-RTF-WORDSTYLE-option/m-p/6813#M2615</link>
    <description>Hi Cynthia&lt;BR /&gt;
yes I know about the names to be used for the MS WORD styles. &lt;BR /&gt;
I only did not know how to incorporate this in the wordstlye option, but the example you have given worked fine.&lt;BR /&gt;
&lt;BR /&gt;
Thank you&lt;BR /&gt;
UStat</description>
    <pubDate>Thu, 07 Feb 2008 16:56:24 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-02-07T16:56:24Z</dc:date>
    <item>
      <title>ODS RTF WORDSTYLE option</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-RTF-WORDSTYLE-option/m-p/6811#M2613</link>
      <description>Hi&lt;BR /&gt;
from &lt;A href="http://support.sas.com/rnd/base/ods/odsrtf/rtf901.html" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsrtf/rtf901.html&lt;/A&gt;&lt;BR /&gt;
I have learned that the following statements&lt;BR /&gt;
&lt;BR /&gt;
ods rtf file='test.rtf'  wordstyle="{\s1 Heading 1;}" ;&lt;BR /&gt;
&lt;BR /&gt;
   ods escapechar='\';&lt;BR /&gt;
&lt;BR /&gt;
   ods rtf prepage =  '\R/RTF"\s1 " TESTING 123';&lt;BR /&gt;
   proc print data=sashelp.class;&lt;BR /&gt;
   run;&lt;BR /&gt;
&lt;BR /&gt;
can be used to format the title with Header style and after post-processing to create a custom TOC in my RTF output.&lt;BR /&gt;
&lt;BR /&gt;
The wordstyle option defines "Heading 1".&lt;BR /&gt;
Does anybody know how the option should read if I want to include another Header style, e.g. "Header 2" and use both e.g.&lt;BR /&gt;
&lt;BR /&gt;
for the first part of the output (style header 1)&lt;BR /&gt;
ods rtf prepage =  '\R/RTF"\s1 " TESTING 123';&lt;BR /&gt;
   proc print data=sashelp.class;&lt;BR /&gt;
   run;&lt;BR /&gt;
&lt;BR /&gt;
and for the second part of the output (style header 2)&lt;BR /&gt;
&lt;BR /&gt;
ods rtf prepage =  '\R/RTF"\?? " TESTING 456';&lt;BR /&gt;
   proc print data=sashelp.class;&lt;BR /&gt;
   run;&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
UStat</description>
      <pubDate>Thu, 07 Feb 2008 08:56:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-RTF-WORDSTYLE-option/m-p/6811#M2613</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-02-07T08:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: ODS RTF WORDSTYLE option</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-RTF-WORDSTYLE-option/m-p/6812#M2614</link>
      <description>Hi:&lt;BR /&gt;
  It was my understanding that s1/Heading 1 and s2/Heading 2 were ways for you to link a "nickname" s1 to an already defined Microsoft Word style Heading 1 (like in normal.dot styles). So you'd have to know what other "names" were available on the Word side to use. &lt;BR /&gt;
&lt;BR /&gt;
  I remember playing around with it a bit and it seemed a lot of work. I can't find my program. Perhaps some variant of this syntax will work:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods rtf file='test.rtf' wordstyle="{\s1 Heading 1; \s2 Heading 2;}" ;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
where s1 and s2 are your nicknames and Heading 1 and Heading 2 are the Word styles you want. This SUGI paper talks about building TOC in RTF files, but doesn't go beyond the s1 method:&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/forum2007/097-2007.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2007/097-2007.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
But, the author does show the use of a \tc rtf control string and has an extensive set of references at the end of the paper.&lt;BR /&gt;
&lt;BR /&gt;
For more help using WORDSTYLE, you might consider contacting Tech Support.&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 07 Feb 2008 15:57:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-RTF-WORDSTYLE-option/m-p/6812#M2614</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-02-07T15:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: ODS RTF WORDSTYLE option</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-RTF-WORDSTYLE-option/m-p/6813#M2615</link>
      <description>Hi Cynthia&lt;BR /&gt;
yes I know about the names to be used for the MS WORD styles. &lt;BR /&gt;
I only did not know how to incorporate this in the wordstlye option, but the example you have given worked fine.&lt;BR /&gt;
&lt;BR /&gt;
Thank you&lt;BR /&gt;
UStat</description>
      <pubDate>Thu, 07 Feb 2008 16:56:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-RTF-WORDSTYLE-option/m-p/6813#M2615</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-02-07T16:56:24Z</dc:date>
    </item>
  </channel>
</rss>

