<?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: REPORT: ODS RTF (and PDF) lines and underlines in the header in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/REPORT-ODS-RTF-and-PDF-lines-and-underlines-in-the-header/m-p/788499#M252119</link>
    <description>&lt;P&gt;If you are modifying a style template then at least mention which is the parent style as that controls everything you have not explicitly shown. Better is to show your entire code for the style.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Second, show you create your output. Best is to include some example data in the form of a data step and the code creating the report, which should include your ODS destination options as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is extremely difficult to suggest code for such specific requirements without all of the pieces.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jan 2022 16:57:39 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2022-01-05T16:57:39Z</dc:date>
    <item>
      <title>REPORT: ODS RTF (and PDF) lines and underlines in the header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REPORT-ODS-RTF-and-PDF-lines-and-underlines-in-the-header/m-p/788466#M252107</link>
      <description>&lt;P&gt;I produce&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Line.jpg" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67137i83732020B89A0DDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Line.jpg" alt="Line.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;with a REPORT procedure using a TEMPLATE with the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;  style TABLE in template
  frame             = hsides
  rules             = none

  style HEADER in template
  borderbottomstyle = solid

  style DATA in template
  borderstyle       = none
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I want the lines with the header omitted (I need the absolute top and bottom lines only):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NoLine.jpg" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67138i79815002F0D3943A/image-size/large?v=v2&amp;amp;px=999" role="button" title="NoLine.jpg" alt="NoLine.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Note that I produced the underline under "Span Header" using an inline style with textdecoration.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have two questions:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) How can I omit the line or add a line to the absolute bottom of the header?&lt;/P&gt;
&lt;P&gt;2) How can I get the text decoration (underline) to span the two columns and be centered over them?&amp;nbsp; This could expand to three columns or I could need to span two groups of columns with two headers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 14:38:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REPORT-ODS-RTF-and-PDF-lines-and-underlines-in-the-header/m-p/788466#M252107</guid>
      <dc:creator>KevinViel</dc:creator>
      <dc:date>2022-01-05T14:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: REPORT: ODS RTF (and PDF) lines and underlines in the header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REPORT-ODS-RTF-and-PDF-lines-and-underlines-in-the-header/m-p/788499#M252119</link>
      <description>&lt;P&gt;If you are modifying a style template then at least mention which is the parent style as that controls everything you have not explicitly shown. Better is to show your entire code for the style.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Second, show you create your output. Best is to include some example data in the form of a data step and the code creating the report, which should include your ODS destination options as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is extremely difficult to suggest code for such specific requirements without all of the pieces.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 16:57:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REPORT-ODS-RTF-and-PDF-lines-and-underlines-in-the-header/m-p/788499#M252119</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-01-05T16:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: REPORT: ODS RTF (and PDF) lines and underlines in the header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REPORT-ODS-RTF-and-PDF-lines-and-underlines-in-the-header/m-p/788632#M252187</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file='c:\temp\temp.rtf' style=journal bodytitle;
proc report data=sashelp.heart nowd style={outputwidth=80%};
column ageatstart ('(*ESC*)S={borderbottomwidth=2 borderbottomcolor=black}Span Header' weight,sex) weight=w;
define ageatstart/group;
define sex/across ' ';
define weight/analysis sum ' ';
define w/analysis sum 'Total';
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1641469731977.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67161i47FCBC9B410985C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1641469731977.png" alt="Ksharp_0-1641469731977.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 11:48:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REPORT-ODS-RTF-and-PDF-lines-and-underlines-in-the-header/m-p/788632#M252187</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-01-06T11:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: REPORT: ODS RTF (and PDF) lines and underlines in the header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REPORT-ODS-RTF-and-PDF-lines-and-underlines-in-the-header/m-p/789473#M252629</link>
      <description>&lt;P&gt;Good points.&amp;nbsp; The template is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template ;
  define style
         styles.fda_tfl / store  = library.templat
         ;

    parent = styles.pearl ;

   class fonts
        / "TitleFont"           = ( "Courier New"
                                  , 9pt
                                  )
          "TitleEmphasisFont"   = ( "Courier New"
                                  , 9pt
                                  , bold
                                  )
          "TitleFont2"          = ( "Courier New"
                                  , 9pt
                                  )
          "StrongFont"          = ( "Courier New"
                                  , 9pt
                                  , bold
                                  )
          "EmphasisFont"        = ( "Courier New"
                                  ,  9pt
                                  , italic
                                  )
          "FixedEmphasisFont"   = ( "Courier New"
                                  ,  9pt
                                  )
          "FixedStrongFont"     = ( "Courier New"
                                  ,  9pt
                                  , bold
                                  )
          "FixedHeadingFont"    = ( "Courier New"
                                  ,  9pt
                                  , bold
                                  )
          "BatchFixedFont"      = ( "Courier New"
                                  ,  9pt
                                  )
          "FixedFont"           = ( "Courier New"
                                  ,  9pt
                                  )
          "headingEmphasisFont" = ( "Courier New"
                                  ,  9pt
                                  , bold italic
                                  )
          "headingFont"         = ( "Courier New"
                                  ,  9pt
                                  , bold
                                  )
          "docFont"             = ( "Courier New"
                                  ,  9pt
                                  )
          ;

   style body from document
         / bottommargin    = _undef_
           topmargin       = _undef_
           rightmargin     = _undef_
           leftmargin      = _undef_

           ;

   style table
       / frame             = hsides
         rules             = none
         cellpadding       = 3pt
         cellspacing       = 0pt
         width             = 100%
         borderwidth       = 2
         ;

   style header
       / just              = c
         borderbottomstyle = solid
         borderbottomwidth = 1
         fontweight        = medium
         ;

   style data
       / just              = c
         verticalalign     = bottom
         borderstyle       = none
         padding           = 0
         ;

  end ;

run ;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I should have mentioned that this is the actual output, but I replaced the numbers.&amp;nbsp; Otherwise, it is part of a rather generic demographics table in clinical trials.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 14:28:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REPORT-ODS-RTF-and-PDF-lines-and-underlines-in-the-header/m-p/789473#M252629</guid>
      <dc:creator>KevinViel</dc:creator>
      <dc:date>2022-01-11T14:28:26Z</dc:date>
    </item>
  </channel>
</rss>

