<?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 how to customize table of contents in rtf report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-customize-table-of-contents-in-rtf-report/m-p/288868#M16534</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am trying to make a table of contents in rtf report. I would like to customize this table of contents&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I create some title with ods &amp;nbsp;text=”……” and I would like to add this title in my table of contents.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods RTF file="example.rtf" startpage=no keepn ;
&amp;nbsp;
%let titniv1 = \plain\par\pard\ql\b\f1\fs32 ;
&amp;nbsp;
ods text="{&amp;amp;titniv1. 1.List of abbreviation\plain}" ;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; …………
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; …………
ods text="{&amp;amp;titniv1. 5.Result\plain}" ;
…………
…………
&amp;nbsp;
Ods rtf close;
&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table of contents has to content: list of abbreviation and result. &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2016 08:24:47 GMT</pubDate>
    <dc:creator>bmouctar91</dc:creator>
    <dc:date>2016-08-02T08:24:47Z</dc:date>
    <item>
      <title>how to customize table of contents in rtf report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-customize-table-of-contents-in-rtf-report/m-p/288868#M16534</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am trying to make a table of contents in rtf report. I would like to customize this table of contents&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I create some title with ods &amp;nbsp;text=”……” and I would like to add this title in my table of contents.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods RTF file="example.rtf" startpage=no keepn ;
&amp;nbsp;
%let titniv1 = \plain\par\pard\ql\b\f1\fs32 ;
&amp;nbsp;
ods text="{&amp;amp;titniv1. 1.List of abbreviation\plain}" ;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; …………
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; …………
ods text="{&amp;amp;titniv1. 5.Result\plain}" ;
…………
…………
&amp;nbsp;
Ods rtf close;
&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table of contents has to content: list of abbreviation and result. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 08:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-customize-table-of-contents-in-rtf-report/m-p/288868#M16534</guid>
      <dc:creator>bmouctar91</dc:creator>
      <dc:date>2016-08-02T08:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize table of contents in rtf report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-customize-table-of-contents-in-rtf-report/m-p/288950#M16539</link>
      <description>&lt;P&gt;One way is to add the RTF tags \tc to add something to the table of contents, and \tclx, where x is a numeral 1, 2, 3 etc that refers to the level of the item in the table of contents. 1 being the "top" or if using an indented TOC the left most entries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have not used this mixed with other TOC entries though.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 14:53:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-customize-table-of-contents-in-rtf-report/m-p/288950#M16539</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-08-02T14:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize table of contents in rtf report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-customize-table-of-contents-in-rtf-report/m-p/289075#M16543</link>
      <description>Hi, I'm not sure this will work to insert ODS TEXT strings into an RTF table of contents. I think that ODS uses some field codes for the TOC, but not sure which ones. This might be a question better handled with Tech Support.&lt;BR /&gt; &lt;BR /&gt;cynthia</description>
      <pubDate>Wed, 03 Aug 2016 00:25:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-customize-table-of-contents-in-rtf-report/m-p/289075#M16543</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-08-03T00:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize table of contents in rtf report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-customize-table-of-contents-in-rtf-report/m-p/289349#M16565</link>
      <description>&lt;P&gt;I probably should have mentioned the \tc&amp;nbsp; and \tclevelx codes worked when using this as the only method to add a table of contents and did that by using the Word feature to insert the TOC.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 19:37:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-customize-table-of-contents-in-rtf-report/m-p/289349#M16565</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-08-03T19:37:47Z</dc:date>
    </item>
  </channel>
</rss>

