<?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 How to add a bottom line to the header like the picture in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-a-bottom-line-to-the-header-like-the-picture/m-p/293488#M16682</link>
    <description>my procedures are as follows： proc template; define style styles.myrtf; style table / cellpadding = 0 pt cellspacing = 0.75 pt borderwidth = 1.5 pt bordercolor = black borderstyle = solid frame = hsides rules = groups; style systemtitle from titlesandfooters / font = ('Arial', 10.5pt, Bold ); style data / font = ('Arial', 10pt ); style header / font = ('Arial', 10pt ); end; run; options nodate nonumber; title; ods rtf file="D:\test.rtf" style=styles.myrtf; proc report data=sashelp.class nowd; column Name ("Important variables" Sex Age Height Weight); run; ods rtf close;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12878iC01175C69BC86C52/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="无标题.png" title="无标题.png" /&gt;</description>
    <pubDate>Tue, 23 Aug 2016 16:56:34 GMT</pubDate>
    <dc:creator>Jinlf</dc:creator>
    <dc:date>2016-08-23T16:56:34Z</dc:date>
    <item>
      <title>How to add a bottom line to the header like the picture</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-a-bottom-line-to-the-header-like-the-picture/m-p/293488#M16682</link>
      <description>my procedures are as follows： proc template; define style styles.myrtf; style table / cellpadding = 0 pt cellspacing = 0.75 pt borderwidth = 1.5 pt bordercolor = black borderstyle = solid frame = hsides rules = groups; style systemtitle from titlesandfooters / font = ('Arial', 10.5pt, Bold ); style data / font = ('Arial', 10pt ); style header / font = ('Arial', 10pt ); end; run; options nodate nonumber; title; ods rtf file="D:\test.rtf" style=styles.myrtf; proc report data=sashelp.class nowd; column Name ("Important variables" Sex Age Height Weight); run; ods rtf close;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12878iC01175C69BC86C52/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="无标题.png" title="无标题.png" /&gt;</description>
      <pubDate>Tue, 23 Aug 2016 16:56:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-a-bottom-line-to-the-header-like-the-picture/m-p/293488#M16682</guid>
      <dc:creator>Jinlf</dc:creator>
      <dc:date>2016-08-23T16:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a bottom line to the header like the picture</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-a-bottom-line-to-the-header-like-the-picture/m-p/293557#M16683</link>
      <description>&lt;P&gt;ou may find some hints in next link:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000220968.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000220968.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can underline titles on HTML, PDF and probably some other ODS outputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;otherwise you can add TITLE2 ' &amp;nbsp;____________ ';&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 19:46:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-a-bottom-line-to-the-header-like-the-picture/m-p/293557#M16683</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2016-08-23T19:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a bottom line to the header like the picture</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-a-bottom-line-to-the-header-like-the-picture/m-p/293747#M16686</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is some definition involved, but it is possible to do, see this paper for more details.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings11/246-2011.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings11/246-2011.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a sample program based on the paper mentioned.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar="^";

proc report nowd data=sashelp.class 
  style(report)=[rules=none frame=void] 
  style(header)=[borderbottomcolor=black borderbottomwidth=2 background=_undef_]
;
  column
    ('^{style[borderbottomcolor=white borderbottomwidth=2
        bordertopcolor=black bordertopwidth=2]}' name) 
    ('^{style[borderbottomcolor=black borderbottomwidth=2
        bordertopcolor=black bordertopwidth=2]spanned header}' 
    age sex weight height)
  ;

  compute after _page_ / style={bordertopcolor=black bordertopwidth=2};
    line ' ';
  endcomp;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;There might be other ways as well&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 15:02:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-a-bottom-line-to-the-header-like-the-picture/m-p/293747#M16686</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2016-08-24T15:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a bottom line to the header like the picture</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-a-bottom-line-to-the-header-like-the-picture/m-p/293776#M16687</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Here's a very simple way using STYLE=JOURNAL and TEXTDECORATION style attribute.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar="^";

ods rtf file='c:\temp\underline.rtf' style=journal;
proc report nowd data=sashelp.class ;
  column name sex ('^{style[textdecoration=underline]Important Variables}' age height weight);
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;which results in this (viewed in Word).&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4699iC50F2A5F07F3EF8B/image-size/original?v=v2&amp;amp;px=-1" alt="underline.png" title="underline.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 16:53:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-a-bottom-line-to-the-header-like-the-picture/m-p/293776#M16687</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-08-24T16:53:10Z</dc:date>
    </item>
  </channel>
</rss>

