<?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 ODS RTF document formatting in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-RTF-document-formatting/m-p/4431#M1807</link>
    <description>If I want to insert RTF code that will impact the whole document (in this case, I want to change the page number formatting to roman numerals) where would I put that in my code?  I've tried adding to the first title in the header and to the page number code and neither has any impact.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Rose</description>
    <pubDate>Thu, 30 Aug 2007 19:13:32 GMT</pubDate>
    <dc:creator>Rose_G</dc:creator>
    <dc:date>2007-08-30T19:13:32Z</dc:date>
    <item>
      <title>ODS RTF document formatting</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-RTF-document-formatting/m-p/4431#M1807</link>
      <description>If I want to insert RTF code that will impact the whole document (in this case, I want to change the page number formatting to roman numerals) where would I put that in my code?  I've tried adding to the first title in the header and to the page number code and neither has any impact.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Rose</description>
      <pubDate>Thu, 30 Aug 2007 19:13:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-RTF-document-formatting/m-p/4431#M1807</guid>
      <dc:creator>Rose_G</dc:creator>
      <dc:date>2007-08-30T19:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: ODS RTF document formatting</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-RTF-document-formatting/m-p/4432#M1808</link>
      <description>Rose:&lt;BR /&gt;
  This is a question best answered by Tech Support. I do not know the RTF control string for changing the page number to Roman numerals. I do know that in SAS 8 (before 'Escapechar + {Pageof}' was available), I could do this to get the page number in either the title or the footnote.&lt;BR /&gt;
 &lt;BR /&gt;
  I know that RTF is very picky -- one wrong \ or {} and Word will not open the RTF file. That's why Tech Support is your best bet for more help on this question.&lt;BR /&gt;
&lt;BR /&gt;
 cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
&lt;BR /&gt;
***** RTF Example *****;&lt;BR /&gt;
ods path work.rtftemp(update)&lt;BR /&gt;
         sashelp.tmplmst(read);&lt;BR /&gt;
&lt;BR /&gt;
proc template;   &lt;BR /&gt;
  define style styles.RTFControlWords; &lt;BR /&gt;
     parent=styles.rtf;         &lt;BR /&gt;
     style systemtitle from _self /                &lt;BR /&gt;
            protectspecialchars=off;   &lt;BR /&gt;
     style systemfooter from _self /  &lt;BR /&gt;
             protectspecialchars=off; &lt;BR /&gt;
  end;                 &lt;BR /&gt;
run;  &lt;BR /&gt;
   &lt;BR /&gt;
ods rtf file='c:\temp\regular_page.rtf' style=RTFControlWords;&lt;BR /&gt;
&lt;BR /&gt;
proc print data=sashelp.shoes(obs=50);&lt;BR /&gt;
  var region product sales;&lt;BR /&gt;
  title j=r '{\field{\pgnucrm{\*\fldinst{\pard\b\i0\chcbpat8\qc\fs19 {PAGE }\cf0\chcbpat0}}}}';&lt;BR /&gt;
  footnote '{\field{\*\fldinst{\pard\b\i0\chcbpat8\qc\fs19\pgnlcrm{PAGE }\cf0\chcbpat0}}}';&lt;BR /&gt;
run;&lt;BR /&gt;
ods rtf close;&lt;BR /&gt;
&lt;BR /&gt;
title; footnote;&lt;BR /&gt;
&lt;BR /&gt;
[/pre]</description>
      <pubDate>Thu, 30 Aug 2007 23:40:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-RTF-document-formatting/m-p/4432#M1808</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-08-30T23:40:19Z</dc:date>
    </item>
  </channel>
</rss>

