<?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 add page border to ODS RTF file in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-page-border-to-ODS-RTF-file/m-p/866774#M26244</link>
    <description>&lt;P&gt;Thank you very much!!&lt;/P&gt;</description>
    <pubDate>Tue, 28 Mar 2023 17:10:06 GMT</pubDate>
    <dc:creator>LUISBARTHOLO</dc:creator>
    <dc:date>2023-03-28T17:10:06Z</dc:date>
    <item>
      <title>How to add page border to ODS RTF file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-page-border-to-ODS-RTF-file/m-p/850536#M26129</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;I just wanted to add pageborders in the output.&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LUISBARTHOLO_0-1671566446734.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78763iE057AA811D6BE734/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LUISBARTHOLO_0-1671566446734.png" alt="LUISBARTHOLO_0-1671566446734.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods RTF startpage=no file="c:\sas\sas.docx" NOGTITLE NOGFOOTNOTE style=word;&lt;BR /&gt;options nonumber nodate;&lt;/P&gt;&lt;P&gt;title PAGE BORDER;&lt;BR /&gt;footnote;&lt;/P&gt;&lt;P&gt;ODS RTF startpage=now TEXT="{\pard\b\qc {PAGE1} \par}"; RUN;&lt;/P&gt;&lt;P&gt;proc odstext;&lt;BR /&gt;p "REPORT:" /style=[fontweight=bold textalign=c fontsize=20pt fontfamily=Arial];&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc report data=sashelp.cars contents="Honda Cars";&lt;BR /&gt;where Make="Honda";&lt;BR /&gt;column ("Car" make model) ("Cost" msrp invoice)&lt;BR /&gt;("Fuel Efficiency" mpg_city mpg_highway);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ODS RTF startpage=now TEXT="{\pard\b\qc {PAGE2} \par}"; RUN;&lt;/P&gt;&lt;P&gt;proc report data=sashelp.cars nowd OUT=QUARTILES;&lt;BR /&gt;column origin type msrp msrp=msrp2 msrp=msrp3 msrp=msrp4 msrp=msrp5;&lt;BR /&gt;define origin / group;&lt;BR /&gt;define type / group;&lt;BR /&gt;define msrp / p25;&lt;BR /&gt;define msrp2 / median;&lt;BR /&gt;define msrp3 / p75;&lt;BR /&gt;define msrp4 / min;&lt;BR /&gt;define msrp5 / max;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods RTF close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 20:10:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-page-border-to-ODS-RTF-file/m-p/850536#M26129</guid>
      <dc:creator>LUISBARTHOLO</dc:creator>
      <dc:date>2022-12-20T20:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to add page border to ODS RTF file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-page-border-to-ODS-RTF-file/m-p/851063#M26133</link>
      <description>&lt;P&gt;Hello there and Merry Christmas!&lt;/P&gt;
&lt;P&gt;Is it the frames around the page area you are after or is it some sort of margin.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And what output type are you after? ... as your pictures of the output already contain frames.&amp;nbsp; Running your code on my system does include page frames in the resulting rtf, though.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;FJa&lt;/P&gt;</description>
      <pubDate>Sun, 25 Dec 2022 12:28:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-page-border-to-ODS-RTF-file/m-p/851063#M26133</guid>
      <dc:creator>fja</dc:creator>
      <dc:date>2022-12-25T12:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to add page border to ODS RTF file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-page-border-to-ODS-RTF-file/m-p/859438#M26186</link>
      <description>&lt;P&gt;This is what i get with the code (no boarders):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LUISBARTHOLO_2-1676662185351.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/80529iF2913BC729BDC756/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LUISBARTHOLO_2-1676662185351.png" alt="LUISBARTHOLO_2-1676662185351.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is what I would like (with boarders):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LUISBARTHOLO_3-1676662214531.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/80530iCABBA127AABD90F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LUISBARTHOLO_3-1676662214531.png" alt="LUISBARTHOLO_3-1676662214531.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 19:40:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-page-border-to-ODS-RTF-file/m-p/859438#M26186</guid>
      <dc:creator>LUISBARTHOLO</dc:creator>
      <dc:date>2023-02-17T19:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to add page border to ODS RTF file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-page-border-to-ODS-RTF-file/m-p/860212#M26192</link>
      <description>&lt;P&gt;The following style template adds a visible top and bottom page margin, but I have not found a way to add a left or right margin. This also adds a blank Footnote.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
 define style styles.test;
 parent=styles.rtf;
 class systemtitle /
  bordertopcolor=black
  bordertopwidth=2pt;
 class systemfooter /
  borderbottomcolor=black
  borderbottomwidth=2pt;
 class body /
  frame=box;
 end;
run;

ods _all_ close;
ods RTF startpage=no file="c:\temp\test.rtf" NOGTITLE NOGFOOTNOTE 
 style=styles.test;
options nonumber nodate;

title PAGE BORDER;
footnote ' ';

ODS RTF startpage=now TEXT="{\pard\b\qc {PAGE1} \par}"; RUN;

proc odstext;
p "REPORT:" /style=[fontweight=bold textalign=c fontsize=20pt fontfamily=Arial];
run;

proc report data=sashelp.cars contents="Honda Cars";
where Make="Honda";
column ("Car" make model) ("Cost" msrp invoice)
("Fuel Efficiency" mpg_city mpg_highway);
run;

ODS RTF startpage=now TEXT="{\pard\b\qc {PAGE2} \par}"; RUN;

proc report data=sashelp.cars nowd OUT=QUARTILES;
column origin type msrp msrp=msrp2 msrp=msrp3 msrp=msrp4 msrp=msrp5;
define origin / group;
define type / group;
define msrp / p25;
define msrp2 / median;
define msrp3 / p75;
define msrp4 / min;
define msrp5 / max;
run;

ods RTF close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Feb 2023 16:10:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-page-border-to-ODS-RTF-file/m-p/860212#M26192</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2023-02-22T16:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to add page border to ODS RTF file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-page-border-to-ODS-RTF-file/m-p/865778#M26226</link>
      <description>&lt;P&gt;&amp;nbsp;I also found a link to this SAS Note:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/kb/52/068.html" target="_blank"&gt;52068 - Place a border around the perimeter of the page in the ODS RTF destination (sas.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 17:28:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-page-border-to-ODS-RTF-file/m-p/865778#M26226</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2023-03-22T17:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to add page border to ODS RTF file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-page-border-to-ODS-RTF-file/m-p/866771#M26243</link>
      <description>&lt;P&gt;Thank you !!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 17:09:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-page-border-to-ODS-RTF-file/m-p/866771#M26243</guid>
      <dc:creator>LUISBARTHOLO</dc:creator>
      <dc:date>2023-03-28T17:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to add page border to ODS RTF file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-page-border-to-ODS-RTF-file/m-p/866774#M26244</link>
      <description>&lt;P&gt;Thank you very much!!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 17:10:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-page-border-to-ODS-RTF-file/m-p/866774#M26244</guid>
      <dc:creator>LUISBARTHOLO</dc:creator>
      <dc:date>2023-03-28T17:10:06Z</dc:date>
    </item>
  </channel>
</rss>

