<?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: Controlling Borders in Header Using PROC REPORT and ODS RTF in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Controlling-Borders-in-Header-Using-PROC-REPORT-and-ODS-RTF/m-p/671934#M24291</link>
    <description>There is another solution. You can remove the border by using the BORDERBOTTOMSTYLE=HIDDEN. It's a small difference between setting the border to the background color, and hiding the border, but the HIDDEN value of the BORDER()STYLE attribute can remove borders in individual cells without blotting out the gridlines at the junction of your cells.</description>
    <pubDate>Thu, 23 Jul 2020 19:34:20 GMT</pubDate>
    <dc:creator>derekmor54</dc:creator>
    <dc:date>2020-07-23T19:34:20Z</dc:date>
    <item>
      <title>Controlling Borders in Header Using PROC REPORT and ODS RTF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Controlling-Borders-in-Header-Using-PROC-REPORT-and-ODS-RTF/m-p/528221#M22208</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for a way to control the borders in an RTF output. Currently the spanned columns underline extends the width of the table. I'd like that to only cross the data columns (see attached).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code below:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;/** RTF **/&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ods listing close;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ods rtf file="test1.rtf" style=basic;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;%macro prpt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;proc report data=final split="~" nowindows missing&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;style(report)={outputwidth=100% just=left}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;style(header)={asis=on bordertopwidth=0.24pt bordertopcolor=black font_weight=bold}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;columns pageno paramn_new trt01an linlabel &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ("Worst Postbaseline Toxicity Grade^{super a}" value0 value1 value2 value3 value4 value5);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;define pageno&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / order order=internal noprint;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;define paramn_new / order order=internal noprint;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;define trt01an&amp;nbsp;&amp;nbsp;&amp;nbsp; / order order=internal noprint;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;define linlabel / " "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(column)={cellwidth=2.6in just=l};&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;define value0&amp;nbsp;&amp;nbsp; / "Grade 0" style(column)={cellwidth=1.0in just=c} style(header)={just=c font_weight=bold}; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;define value1&amp;nbsp;&amp;nbsp; / "Grade 1" style(column)={cellwidth=1.0in just=c} style(header)={just=c font_weight=bold};&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;define value2&amp;nbsp;&amp;nbsp; / "Grade 2" style(column)={cellwidth=1.0in just=c} style(header)={just=c font_weight=bold};&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;define value3&amp;nbsp;&amp;nbsp; / "Grade 3" style(column)={cellwidth=1.0in just=c} style(header)={just=c font_weight=bold};&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;define value4&amp;nbsp;&amp;nbsp; / "Grade 4" style(column)={cellwidth=1.0in just=c} style(header)={just=c font_weight=bold};&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;define value5&amp;nbsp;&amp;nbsp; / "Missing" style(column)={cellwidth=1.0in just=c} style(header)={just=c font_weight=bold};&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;break after pageno / page ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;%if (&amp;amp;nobs eq 0) %then %do;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;compute after paramn_new;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;line @2 'No Lab data. ';&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;endcomp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %end;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;%else %do;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;compute after paramn_new;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;line @2 ' ';&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;endcomp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;compute linlabel;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (indexw(linlabel,'m')=1) then do;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;linlabel=substr(linlabel,3,length(linlabel));&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;call define(_col_, "style", "style=[leftmargin=25]");&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call define('_c1_',"style","style=[background=red]");&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;end;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;endcomp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %end;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;run;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;%mend prpt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;%prpt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ods rtf close;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ods listing;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 00:57:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Controlling-Borders-in-Header-Using-PROC-REPORT-and-ODS-RTF/m-p/528221#M22208</guid>
      <dc:creator>RS-1</dc:creator>
      <dc:date>2019-01-18T00:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Borders in Header Using PROC REPORT and ODS RTF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Controlling-Borders-in-Header-Using-PROC-REPORT-and-ODS-RTF/m-p/528226#M22209</link>
      <description>Hi:&lt;BR /&gt; Without data, no one can run your code without spending the time to figure out the structure of your WORK.FINAL data set. And since you have so many NOPRINT items, it's hard to figure out how you created them to even attempt to make fake data.&lt;BR /&gt;Cynthia</description>
      <pubDate>Fri, 18 Jan 2019 02:25:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Controlling-Borders-in-Header-Using-PROC-REPORT-and-ODS-RTF/m-p/528226#M22209</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-01-18T02:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Borders in Header Using PROC REPORT and ODS RTF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Controlling-Borders-in-Header-Using-PROC-REPORT-and-ODS-RTF/m-p/528690#M22219</link>
      <description>&lt;P&gt;Indeed. Fortunately I figured out a solution. Force a blank header for column 1 and set the bottom border to white, which effectively hides it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; columns pageno paramn_new trt01an&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;FONT color="#ff0000"&gt;&amp;nbsp; ('^S={borderbottomcolor=white}' linlabel)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ("Worst Postbaseline Toxicity Grade^{super a}" value0 value1 value2 value3 value4 value5);&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 06:50:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Controlling-Borders-in-Header-Using-PROC-REPORT-and-ODS-RTF/m-p/528690#M22219</guid>
      <dc:creator>RS-1</dc:creator>
      <dc:date>2019-01-21T06:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling Borders in Header Using PROC REPORT and ODS RTF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Controlling-Borders-in-Header-Using-PROC-REPORT-and-ODS-RTF/m-p/671934#M24291</link>
      <description>There is another solution. You can remove the border by using the BORDERBOTTOMSTYLE=HIDDEN. It's a small difference between setting the border to the background color, and hiding the border, but the HIDDEN value of the BORDER()STYLE attribute can remove borders in individual cells without blotting out the gridlines at the junction of your cells.</description>
      <pubDate>Thu, 23 Jul 2020 19:34:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Controlling-Borders-in-Header-Using-PROC-REPORT-and-ODS-RTF/m-p/671934#M24291</guid>
      <dc:creator>derekmor54</dc:creator>
      <dc:date>2020-07-23T19:34:20Z</dc:date>
    </item>
  </channel>
</rss>

