<?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 Continuous underline with LINE statement in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Continuous-underline-with-LINE-statement/m-p/499641#M21797</link>
    <description>&lt;P&gt;I am using a compute block in my proc report step to place headers above certain rows in my output. I want the text in the header to be underlined so I am using the style override textdecoration=underline. It is working fine except when the text I want to display is more than one word. In these &lt;U&gt;cases&lt;/U&gt;, each word is underlined individually instead of one long continuous underline for the entire text block. The code I am using and resulting output are attached.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=longblhivchar1 nowd style={just=c rules=none frame=void cellspacing=0} contents=""
	style(header)=[backgroundcolor=whtie color=black textdecoration=underline fontfamily="Arial" fontsize=26pt fontweight=bold just=c];
column group order stat count pct;

	define stat / display ' '
	style(column)={indent=0.5in cellwidth=5.75in cellheight=0.50in fontsize=22pt fontfamily="Arial"};
	define group / order noprint;
	define order / order noprint;
	define count / display 'N' 
	style(column)={cellwidth=1.50in cellheight=0.50in fontsize=22pt fontfamily="Arial" just=c} ;
	define pct / display '%'
	style(column)={cellwidth=1.50in cellheight=0.50in fontsize=22pt fontfamily="Arial" just=c} ;

compute before group / style={just=l fontsize=26pt fontfamily="Arial" textdecoration=underline};
	length text $ 50;
	if group=1 then text='HIV risk';
		else if group=2 then text=' ';
	line text $50.;
	endcomp;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23623iD61F1228288C458B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Sep 2018 18:18:20 GMT</pubDate>
    <dc:creator>lbarwick</dc:creator>
    <dc:date>2018-09-27T18:18:20Z</dc:date>
    <item>
      <title>Continuous underline with LINE statement</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Continuous-underline-with-LINE-statement/m-p/499641#M21797</link>
      <description>&lt;P&gt;I am using a compute block in my proc report step to place headers above certain rows in my output. I want the text in the header to be underlined so I am using the style override textdecoration=underline. It is working fine except when the text I want to display is more than one word. In these &lt;U&gt;cases&lt;/U&gt;, each word is underlined individually instead of one long continuous underline for the entire text block. The code I am using and resulting output are attached.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=longblhivchar1 nowd style={just=c rules=none frame=void cellspacing=0} contents=""
	style(header)=[backgroundcolor=whtie color=black textdecoration=underline fontfamily="Arial" fontsize=26pt fontweight=bold just=c];
column group order stat count pct;

	define stat / display ' '
	style(column)={indent=0.5in cellwidth=5.75in cellheight=0.50in fontsize=22pt fontfamily="Arial"};
	define group / order noprint;
	define order / order noprint;
	define count / display 'N' 
	style(column)={cellwidth=1.50in cellheight=0.50in fontsize=22pt fontfamily="Arial" just=c} ;
	define pct / display '%'
	style(column)={cellwidth=1.50in cellheight=0.50in fontsize=22pt fontfamily="Arial" just=c} ;

compute before group / style={just=l fontsize=26pt fontfamily="Arial" textdecoration=underline};
	length text $ 50;
	if group=1 then text='HIV risk';
		else if group=2 then text=' ';
	line text $50.;
	endcomp;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23623iD61F1228288C458B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 18:18:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Continuous-underline-with-LINE-statement/m-p/499641#M21797</guid>
      <dc:creator>lbarwick</dc:creator>
      <dc:date>2018-09-27T18:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous underline with LINE statement</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Continuous-underline-with-LINE-statement/m-p/499750#M21801</link>
      <description>&lt;P&gt;This only happens with PDF. Destinations RTF and HTML are fine.&lt;/P&gt;
&lt;P&gt;You should report the bug to tech support.&lt;/P&gt;
&lt;P&gt;In the meantime, you can replace the space with same sort of non-breaking space, like a tab.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file="%sysfunc(pathname(WORK))\t.pdf";
proc report data=sashelp.class(obs=5) nowd ;
  column sex age ;
	define sex / order noprint;
	define age / display ;
  compute before sex  / style={textdecoration=underline};
  	line 'HIV' '09'x 'risk' ;
  	line 'HIV risk' ;
	endcomp;
run;
ods pdf close;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 211px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23630i84D716F9738A7673/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 01:51:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Continuous-underline-with-LINE-statement/m-p/499750#M21801</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-09-28T01:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous underline with LINE statement</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Continuous-underline-with-LINE-statement/m-p/499828#M21803</link>
      <description>&lt;P&gt;How would I incorporate that into my conditional logic compute block?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;compute before group / style={just=l fontsize=26pt fontfamily="Arial" textdecoration=underline};
	length text $ 50;
	if group=1 then text="HIV '09'x risk";
		else if group=2 then text=' ';
	line text $50.;
	endcomp;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Sep 2018 10:32:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Continuous-underline-with-LINE-statement/m-p/499828#M21803</guid>
      <dc:creator>lbarwick</dc:creator>
      <dc:date>2018-09-28T10:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous underline with LINE statement</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Continuous-underline-with-LINE-statement/m-p/499837#M21807</link>
      <description>Use the || concatenation operator.&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Sep 2018 11:00:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Continuous-underline-with-LINE-statement/m-p/499837#M21807</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-09-28T11:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous underline with LINE statement</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Continuous-underline-with-LINE-statement/m-p/499845#M21809</link>
      <description>&lt;P&gt;Gotcha. Here is what I ended up with for future reference:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=longblhivchar1 nowd style={just=c rules=none frame=void cellspacing=0} contents=""
	style(header)=[backgroundcolor=whtie color=black textdecoration=underline fontfamily="Arial" fontsize=26pt fontweight=bold just=c];
column group order stat count pct;

	define stat / display ' '
	style(column)={indent=0.5in cellwidth=5.75in cellheight=0.50in fontsize=22pt fontfamily="Arial"};
	define group / order noprint;
	define order / order noprint;
	define count / display 'N' 
	style(column)={cellwidth=1.50in cellheight=0.50in fontsize=22pt fontfamily="Arial" just=c} ;
	define pct / display '%'
	style(column)={cellwidth=1.50in cellheight=0.50in fontsize=22pt fontfamily="Arial" just=c} ;

compute before group / style={just=l fontsize=26pt fontfamily="Arial" textdecoration=underline};
	length text $ 50;
	if group=1 then text=&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;'HIV'||'09'x||'risk'&lt;/STRONG&gt;&lt;/FONT&gt;;
		else if group=2 then text=' ';
	line text $50.;
	endcomp;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Sep 2018 11:29:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Continuous-underline-with-LINE-statement/m-p/499845#M21809</guid>
      <dc:creator>lbarwick</dc:creator>
      <dc:date>2018-09-28T11:29:12Z</dc:date>
    </item>
  </channel>
</rss>

