<?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 create rtf page border in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-create-rtf-page-border/m-p/93908#M9450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; You might want to look at the RTF specification and/or work with Tech Support on this question. I do not know whether there is an RTF control string that puts a "page border" control into an RTF document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; One way to test would be to create a Word doc, put a page border in the Word doc, save the Word doc as an RTF file and then try to reverse engineer the RTF file to see what the RTF control string is for the page border. So that is half the equation -- finding out whether RTF has controls for page borders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Then the other half of the equation is to see whether ODS RTF or ODS TAGSETS.RTF will allow you to insert the RTF control string that you need into your document with ODS. ODS RTF output is meant to be rendered in Word and I'm not sure what part of your output or document would carry the page border information -- I would guess a style template designed for RTF only but... here's the dilemma...if the RTF spec doesn't allow page border controls, then there's no way to get them into ODS RTF output and even if RTF has a control string, you still have to figure out how to pass the control string into ODS and on into the output file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So I that's why I think you should work with Tech Support on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Oct 2012 23:51:53 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2012-10-12T23:51:53Z</dc:date>
    <item>
      <title>how to create rtf page border</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-create-rtf-page-border/m-p/93907#M9449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am trying to create page border using ODS in RTF. I am currently using SAS 9.2 TS2M3.&amp;nbsp; I looked at many papers but Other than the creating table borders, I am unable create any page border in output attached.&lt;/P&gt;&lt;P&gt;Could someone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 22:59:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-create-rtf-page-border/m-p/93907#M9449</guid>
      <dc:creator>srisoham</dc:creator>
      <dc:date>2012-10-12T22:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to create rtf page border</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-create-rtf-page-border/m-p/93908#M9450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; You might want to look at the RTF specification and/or work with Tech Support on this question. I do not know whether there is an RTF control string that puts a "page border" control into an RTF document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; One way to test would be to create a Word doc, put a page border in the Word doc, save the Word doc as an RTF file and then try to reverse engineer the RTF file to see what the RTF control string is for the page border. So that is half the equation -- finding out whether RTF has controls for page borders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Then the other half of the equation is to see whether ODS RTF or ODS TAGSETS.RTF will allow you to insert the RTF control string that you need into your document with ODS. ODS RTF output is meant to be rendered in Word and I'm not sure what part of your output or document would carry the page border information -- I would guess a style template designed for RTF only but... here's the dilemma...if the RTF spec doesn't allow page border controls, then there's no way to get them into ODS RTF output and even if RTF has a control string, you still have to figure out how to pass the control string into ODS and on into the output file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So I that's why I think you should work with Tech Support on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 23:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-create-rtf-page-border/m-p/93908#M9450</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-10-12T23:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to create rtf page border</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-create-rtf-page-border/m-p/93909#M9451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cynthia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thank you for the help. I was able to find the RTF control words for page border from Microsoft web page.&lt;/P&gt;&lt;P&gt;Here is some text from the site.&amp;nbsp; To use RTF control word,&amp;nbsp; As you said i may need your help/suggestion whether it should be done using style templates or at TAGSETS.RTF OPTIONS? &lt;/P&gt;&lt;P&gt;Since it is applicable at&amp;nbsp; page level i wonder what style element(&lt;STRONG&gt;document/pages/contents&lt;/STRONG&gt;)&amp;nbsp; has capable to carry this string.&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="margin-left: 22.0pt; table-layout: fixed;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="2" style="border: none; border-top: solid windowtext 1.0pt;" valign="top" width="640"&gt;&lt;P class="TableTitle"&gt;&lt;SPAN style="font-family: Verdana;"&gt;Borders&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="139"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;\pgbrdrhead&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="502"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;Page border surrounds header.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="139"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;\pgbrdrfoot&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="502"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;Page border surrounds footer.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="139"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;\pgbrdrt&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="502"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;Page border top.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="139"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;\pgbrdrb&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="502"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;Page border bottom.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="139"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;\pgbrdrl&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="502"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;Page border left.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="139"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;\pgbrdrr&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="502"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;Page border right.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="139"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;\brdrart&lt;EM&gt;N&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="502"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;Page border art; the &lt;STRONG&gt;&lt;EM&gt;N&lt;/EM&gt;&lt;/STRONG&gt; argument is a value from 1 to 165 representing the number of the border.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="139"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;\pgbrdropt&lt;EM&gt;N&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="502"&gt;&lt;P class="TableText"&gt;&lt;STRONG style="font-family: Verdana;"&gt;&lt;EM&gt;N&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: Verdana;"&gt; has the bit fields:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="TableText" style="margin-left: 0.5in; text-indent: -0.5in;"&gt;&lt;SPAN style="font-family: Verdana;"&gt;bits 0-2 Apply to all pages in section (0), first page in section (1), all but first page in section (2), whole document (3).&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;bit 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Display in front (0), in back (1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;bit 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Offset from text (0), from edge of page (1).&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;Examples:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="TableText" style="margin-left: 0.5in; text-indent: -0.5in;"&gt;&lt;SPAN style="font-family: Verdana;"&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Page border for all pages in section measures from text. &lt;STRONG&gt;Always display in front&lt;/STRONG&gt; option is set to &lt;STRONG&gt;off&lt;/STRONG&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="TableText" style="margin-left: 0.5in; text-indent: -0.5in;"&gt;&lt;SPAN style="font-family: Verdana;"&gt;32&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Page border for all pages in section measures from edge of page. &lt;STRONG&gt;Always display in front&lt;/STRONG&gt; option is set to &lt;STRONG&gt;on&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="TableText" style="margin-left: 0.5in; text-indent: -0.5in;"&gt;&lt;SPAN style="font-family: Verdana;"&gt;40&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Page border for all pages in section measures from edge of page. &lt;STRONG&gt;Always display in front&lt;/STRONG&gt; option is set to &lt;STRONG&gt;off&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="139"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;\pgbrdrsnap&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="502"&gt;&lt;P class="TableText"&gt;&lt;SPAN style="font-family: Verdana;"&gt;Align paragraph borders and table edges with page border.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 19:00:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-create-rtf-page-border/m-p/93909#M9451</guid>
      <dc:creator>srisoham</dc:creator>
      <dc:date>2012-10-15T19:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to create rtf page border</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-create-rtf-page-border/m-p/93910#M9452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; It is great that you found out that RTF has a page border control string. However, that is just half the issue. As I recommended in my previous posting, I think that you need to open a track with Tech Support. I don't know whether there is a method by which you can insert the control string into the document. If anyone can find out the answer to your question, it's Tech Support. I wouldn't want to have you go down the template road if there's is just no way to touch the part of the document you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; To open a track with Tech Support, fill out the form at this link:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/ctx/supportform/createForm"&gt;http://support.sas.com/ctx/supportform/createForm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 03:52:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-create-rtf-page-border/m-p/93910#M9452</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-10-16T03:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to create rtf page border</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-create-rtf-page-border/m-p/93911#M9453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please let me know if you find any solution to this. I am also trying to add a page border in a SAS generated rtf.&lt;/P&gt;&lt;P&gt;- Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 21:27:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-create-rtf-page-border/m-p/93911#M9453</guid>
      <dc:creator>RC_BLAZER</dc:creator>
      <dc:date>2012-10-19T21:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to create rtf page border</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-create-rtf-page-border/m-p/849234#M26108</link>
      <description>&lt;P&gt;Hi! Did you find any solution? Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 19:35:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-create-rtf-page-border/m-p/849234#M26108</guid>
      <dc:creator>LUISBARTHOLO</dc:creator>
      <dc:date>2022-12-12T19:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to create rtf page border</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-create-rtf-page-border/m-p/849270#M26110</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/430816"&gt;@LUISBARTHOLO&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi! Did you find any solution? Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Might be better to start your a new thread instead of piggybacking onto one that is over 10 years old.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A page border alone may or may not be possible but you definitely want to include and example of any SAS generated content that is supposed to go inside that border by providing data, or using a SAS supplied data set like SASHELP.CLASS and some code to generate output table(s) or graphs similar to your output that should appear inside that "border".&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 22:00:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-create-rtf-page-border/m-p/849270#M26110</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-12-12T22:00:21Z</dc:date>
    </item>
  </channel>
</rss>

