<?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: Adding MS Word Styles in ODS RTF outputs for overall table of contents in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-MS-Word-Styles-in-ODS-RTF-outputs-for-overall-table-of/m-p/779251#M25451</link>
    <description>&lt;P&gt;I'll explore ods word, but however, each code produce its independent table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BUt yeah, the process I am thinking about is via VBA after adding headers via SAS&lt;/P&gt;</description>
    <pubDate>Tue, 09 Nov 2021 01:10:39 GMT</pubDate>
    <dc:creator>Tpham</dc:creator>
    <dc:date>2021-11-09T01:10:39Z</dc:date>
    <item>
      <title>Adding MS Word Styles in ODS RTF outputs for overall table of contents</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-MS-Word-Styles-in-ODS-RTF-outputs-for-overall-table-of/m-p/779247#M25449</link>
      <description>&lt;P&gt;I have a number of SAS programs that produce outputs (e.g. table1_1.SAS, Table2_1.SAS etc) using proc report that produce their respective tables (Table 1.1.RTF and Table 2.1.RTF etc.).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to merge all outputs (so multiple files produced) into one RTF file and have Microsoft word create a table of contents based on headers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've found an &lt;A href="https://support.sas.com/resources/papers/proceedings/proceedings/sugi30/043-30.pdf" target="_self"&gt;old paper&lt;/A&gt; on adding MS Word Headers into ODS RTF outputs that is based on SAS 8.2+. I'm sure it would work on the modern SAS 9, but I am wondering if there are more modern approaches.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 00:11:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-MS-Word-Styles-in-ODS-RTF-outputs-for-overall-table-of/m-p/779247#M25449</guid>
      <dc:creator>Tpham</dc:creator>
      <dc:date>2021-11-09T00:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding MS Word Styles in ODS RTF outputs for overall table of contents</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-MS-Word-Styles-in-ODS-RTF-outputs-for-overall-table-of/m-p/779250#M25450</link>
      <description>See if ODS WORD can meet your needs though it's pre-production?&lt;BR /&gt;&lt;BR /&gt;I would definitely redesign my process such that I didn't have to combine multiple RTF files though VBS will do it easily.</description>
      <pubDate>Tue, 09 Nov 2021 01:08:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-MS-Word-Styles-in-ODS-RTF-outputs-for-overall-table-of/m-p/779250#M25450</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-11-09T01:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adding MS Word Styles in ODS RTF outputs for overall table of contents</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-MS-Word-Styles-in-ODS-RTF-outputs-for-overall-table-of/m-p/779251#M25451</link>
      <description>&lt;P&gt;I'll explore ods word, but however, each code produce its independent table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BUt yeah, the process I am thinking about is via VBA after adding headers via SAS&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 01:10:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-MS-Word-Styles-in-ODS-RTF-outputs-for-overall-table-of/m-p/779251#M25451</guid>
      <dc:creator>Tpham</dc:creator>
      <dc:date>2021-11-09T01:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Adding MS Word Styles in ODS RTF outputs for overall table of contents</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-MS-Word-Styles-in-ODS-RTF-outputs-for-overall-table-of/m-p/779252#M25452</link>
      <description>Why does it matter that each code produces a single table? You can nest them as long as you place the ODS RTF statements in the correct location and can control the page breaks the same way. &lt;BR /&gt;&lt;BR /&gt;ods rtf file = '......' style = mystyles;&lt;BR /&gt;&lt;BR /&gt;%include 'generateReport1.sas';&lt;BR /&gt;%include 'generateReport2.sas';&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;ods rtf close;</description>
      <pubDate>Tue, 09 Nov 2021 01:15:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-MS-Word-Styles-in-ODS-RTF-outputs-for-overall-table-of/m-p/779252#M25452</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-11-09T01:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adding MS Word Styles in ODS RTF outputs for overall table of contents</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-MS-Word-Styles-in-ODS-RTF-outputs-for-overall-table-of/m-p/779253#M25453</link>
      <description>&lt;P&gt;log and lst files needs to be saved for each respective program. so the include statement doesn't fully work because of that as I recall.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 01:17:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-MS-Word-Styles-in-ODS-RTF-outputs-for-overall-table-of/m-p/779253#M25453</guid>
      <dc:creator>Tpham</dc:creator>
      <dc:date>2021-11-09T01:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Adding MS Word Styles in ODS RTF outputs for overall table of contents</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-MS-Word-Styles-in-ODS-RTF-outputs-for-overall-table-of/m-p/779254#M25454</link>
      <description>PROC PRINTTO at each program start should cover that but I'll leave it there. &lt;BR /&gt;</description>
      <pubDate>Tue, 09 Nov 2021 01:22:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-MS-Word-Styles-in-ODS-RTF-outputs-for-overall-table-of/m-p/779254#M25454</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-11-09T01:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding MS Word Styles in ODS RTF outputs for overall table of contents</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-MS-Word-Styles-in-ODS-RTF-outputs-for-overall-table-of/m-p/779484#M25458</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45253"&gt;@Tpham&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The paper you cited is a privative way to answer your request, as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;outlined in this response.&amp;nbsp; &amp;nbsp;You will also have to figure out a way for a cover page or top page to make the TOC visible, something like this:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jianmin_0-1636507334057.png" style="width: 514px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65547i86D61DB4C8791BD3/image-dimensions/514x90?v=v2" width="514" height="90" role="button" title="Jianmin_0-1636507334057.png" alt="Jianmin_0-1636507334057.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;this is for a large file with many sections which needs a TOC for each section title/header.&amp;nbsp; See&amp;nbsp;&lt;A href="https://1drv.ms/b/s!AoN_Pt9412Awgr19jR00dUOigWJvnA?e=QCiUtk" target="_self"&gt;this file&lt;/A&gt;&amp;nbsp; This is way beyond what SAS ODS RTF REPORT/DOCUMENT is currently doing. Another&amp;nbsp;&lt;A href="https://1drv.ms/b/s!AoN_Pt9412Awgr4MZs8ItvP_zFweGw?e=z8aSLF" target="_self"&gt;example&lt;/A&gt;&amp;nbsp;for multiple listings/tables with a TOC.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many Thanks&lt;/P&gt;
&lt;P&gt;Jianmin Long&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 01:45:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-MS-Word-Styles-in-ODS-RTF-outputs-for-overall-table-of/m-p/779484#M25458</guid>
      <dc:creator>Jianmin</dc:creator>
      <dc:date>2021-11-10T01:45:52Z</dc:date>
    </item>
  </channel>
</rss>

