<?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: How to have several RTF documents been packed into one document in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327716#M17801</link>
    <description>&lt;P&gt;There is a book about proc document and you can search at lexjansen.com&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2017 13:35:57 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2017-01-26T13:35:57Z</dc:date>
    <item>
      <title>How to have several RTF documents been packed into one document</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327669#M17794</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At SAS Community, there was solution for Combining RTF Documents into one document. &lt;A href="http://www.lexjansen.com/pharmasug/2010/po/po05.pdf" target="_blank"&gt;http://www.lexjansen.com/pharmasug/2010/po/po05.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have used this Code, and successfully combine RTFs into a single file. However, now facing problem on creating TOC for SIngle file on which, all the Titles from RTFs' files will presented as TOCs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone please help me?&lt;/P&gt;
&lt;P&gt;Sami&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 10:31:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327669#M17794</guid>
      <dc:creator>Sami</dc:creator>
      <dc:date>2017-01-26T10:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to have several RTF documents been packed into one document</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327671#M17795</link>
      <description>&lt;P&gt;Yes, I have looked at doing this some years back. &amp;nbsp;It is really not simple and to my mind a bit of a waste of time. &amp;nbsp;You would find it simpler to complile the RTF's in Word and use a bit of VBA scripting to create the TOC (if you really need to do it this way). &amp;nbsp;We create combined PDF's of our output RTF files, and assign bookmakrs to each section - so no TOC. &amp;nbsp;The reason being, as soon as your document is comibined with another then the TOC becomes more of an inconvienience.&lt;/P&gt;
&lt;P&gt;There are plenty of VBA examples out there:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://msdn.microsoft.com/en-us/library/office/ff835785.aspx" target="_blank"&gt;https://msdn.microsoft.com/en-us/library/office/ff835785.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://social.msdn.microsoft.com/Forums/en-US/dbfaabd4-1f4c-4281-a3ca-b0ead28ef92d/how-to-insert-a-toc-info-a-word-doc-via-a-macro?forum=worddev" target="_blank"&gt;https://social.msdn.microsoft.com/Forums/en-US/dbfaabd4-1f4c-4281-a3ca-b0ead28ef92d/how-to-insert-a-toc-info-a-word-doc-via-a-macro?forum=worddev&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Etc. &amp;nbsp;Then just save the file as RTF to get a final complete RTF with all the bits. &amp;nbsp;Do note, you could also use this macro to load and combine all the RTF files in the first place.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 10:53:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327671#M17795</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-01-26T10:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to have several RTF documents been packed into one document</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327679#M17796</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Thanks for your suggestion. Using TOC in that case becoming manual and problem is i am not familiar with VBA code. Still looking any solution programmatically using SAS</description>
      <pubDate>Thu, 26 Jan 2017 11:21:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327679#M17796</guid>
      <dc:creator>Sami</dc:creator>
      <dc:date>2017-01-26T11:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to have several RTF documents been packed into one document</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327689#M17797</link>
      <description>&lt;P&gt;Word decides TITLES based on the styles. Make sure the TITLE is set as Header 1 in Word and then it will be automatic.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wothout knowing the rest of the process I'm not sure we can offer options on how to automate the process. If it's one for each file, maybe you can adapt a section of your code to track this and create a single page with the ToC that gets merged in separately.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 12:32:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327689#M17797</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-26T12:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to have several RTF documents been packed into one document</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327694#M17799</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/5760"&gt;@Sami&lt;/a&gt; wrote:&lt;BR /&gt;Hi, &lt;BR /&gt;&lt;BR /&gt;Thanks for your suggestion. Using TOC in that case becoming manual and problem is i am not familiar with VBA code. Still looking any solution programmatically using SAS&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your could back up one step from RTF and use PROC DOCUMENT&amp;nbsp;you can replay&amp;nbsp;stored documents into a combined RTF and create a TOC,&amp;nbsp; no WORD or VBA involved.&amp;nbsp; My&amp;nbsp;application which is similar to&amp;nbsp;this is in PHARMA to produce BIMO listings that are bookmarked PDF.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll have to learn PROC DOCUMENT but that is easier than fiddling with raw RTF.&amp;nbsp; Using PROC DOCUMENT keeps your application in SAS&amp;nbsp;and you can use SAS to generate the PROC DOCUMENT statements&amp;nbsp;(MAKE DIR SETLABEL LINK etc.)&amp;nbsp;you will need to create the new combined document.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 12:51:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327694#M17799</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2017-01-26T12:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to have several RTF documents been packed into one document</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327696#M17800</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Many thanks. I am starting to look on PROC Document procedures. Is there any concise coding available already, you can suggest or i would start from SAS Help for &lt;BR /&gt;PROC Document?</description>
      <pubDate>Thu, 26 Jan 2017 12:58:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327696#M17800</guid>
      <dc:creator>Sami</dc:creator>
      <dc:date>2017-01-26T12:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to have several RTF documents been packed into one document</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327716#M17801</link>
      <description>&lt;P&gt;There is a book about proc document and you can search at lexjansen.com&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 13:35:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327716#M17801</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2017-01-26T13:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to have several RTF documents been packed into one document</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327758#M17802</link>
      <description>Here's  a basic paper to get you started:&lt;BR /&gt;&lt;A href="https://support.sas.com/resources/papers/sgf09/318-2009.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/sgf09/318-2009.pdf&lt;/A&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Thu, 26 Jan 2017 16:19:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-have-several-RTF-documents-been-packed-into-one-document/m-p/327758#M17802</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-01-26T16:19:12Z</dc:date>
    </item>
  </channel>
</rss>

