<?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 Proc Print - adjust  cellheight of blankline in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print-adjust-cellheight-of-blankline/m-p/399858#M19473</link>
    <description>&lt;P&gt;Any way i can adjust the height of the Blankline in Proc Print? Here's an example of what I tried (obviously, doesn't work):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;data x; &lt;BR /&gt;do a = 1 to 6;&lt;BR /&gt;b = a + 1;&lt;BR /&gt;output;&lt;BR /&gt;end; run;&lt;BR /&gt;ods powerpoint file = 'C:\test.pptx';&lt;BR /&gt;proc print data = x noobs label blankline=(count=2 style={cellheight=0.1in});&lt;BR /&gt;var a /style=[cellwidth=2in just=c TEXTALIGN=left VERTICALALIGN= MIDDLE fontsize=11pt];&lt;BR /&gt;var b /style=[cellwidth=2in just=c TEXTALIGN=left VERTICALALIGN= MIDDLE fontsize=11pt];&lt;BR /&gt;run;&lt;BR /&gt;ods powerpoint close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dave&lt;/P&gt;</description>
    <pubDate>Fri, 29 Sep 2017 17:42:56 GMT</pubDate>
    <dc:creator>Dave25</dc:creator>
    <dc:date>2017-09-29T17:42:56Z</dc:date>
    <item>
      <title>Proc Print - adjust  cellheight of blankline</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print-adjust-cellheight-of-blankline/m-p/399858#M19473</link>
      <description>&lt;P&gt;Any way i can adjust the height of the Blankline in Proc Print? Here's an example of what I tried (obviously, doesn't work):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;data x; &lt;BR /&gt;do a = 1 to 6;&lt;BR /&gt;b = a + 1;&lt;BR /&gt;output;&lt;BR /&gt;end; run;&lt;BR /&gt;ods powerpoint file = 'C:\test.pptx';&lt;BR /&gt;proc print data = x noobs label blankline=(count=2 style={cellheight=0.1in});&lt;BR /&gt;var a /style=[cellwidth=2in just=c TEXTALIGN=left VERTICALALIGN= MIDDLE fontsize=11pt];&lt;BR /&gt;var b /style=[cellwidth=2in just=c TEXTALIGN=left VERTICALALIGN= MIDDLE fontsize=11pt];&lt;BR /&gt;run;&lt;BR /&gt;ods powerpoint close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 17:42:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print-adjust-cellheight-of-blankline/m-p/399858#M19473</guid>
      <dc:creator>Dave25</dc:creator>
      <dc:date>2017-09-29T17:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Print - adjust  cellheight of blankline</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print-adjust-cellheight-of-blankline/m-p/399878#M19475</link>
      <description>&lt;P&gt;Instead of cellheight=0.1in, I tried fontsize=5pt with your example.&amp;nbsp; That works in HTML and RTF, but not the PowerPoint destination.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 18:37:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print-adjust-cellheight-of-blankline/m-p/399878#M19475</guid>
      <dc:creator>SuzanneDorinski</dc:creator>
      <dc:date>2017-09-29T18:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Print - adjust  cellheight of blankline</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print-adjust-cellheight-of-blankline/m-p/399883#M19476</link>
      <description>&lt;P&gt;Hi, Well, I found that I can change the height of the blank line in PROC PRINT for HTML but not in PPTX. However, with PROC REPORT, I can generate output that changes the height in both destinations.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="inserting_small_blank.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/15518i605CDE86D86C4DEB/image-size/large?v=v2&amp;amp;px=999" role="button" title="inserting_small_blank.png" alt="inserting_small_blank.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the code I used (changed your style overrides .. just and textalign are the same option):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
** need BLNKVAR to insert blank line in PROC REPORT;
** want to group observations by "twos" so a blank can be inserted;
** every 2 rows;
data x;
do a = 1 to 6;
b = a + 1;
blnkvar =  round(a,2);
output;
end; 
run;
  
title;
ods html file='c:\temp\test_blank_height.html';
ods powerpoint file = 'C:\temp\test_blank_height.pptx';
proc print data = x noobs label blankline=(count=2 style={height=3pt font_size=1pt})
     style(header)=[cellwidth=2in just=c VERTICALALIGN= MIDDLE fontsize=11pt]
     style(data)=[cellwidth=2in just=c   VERTICALALIGN= MIDDLE fontsize=11pt];
title 'proc print -- height works in HTML, not in PPTX';
var a b;
run;

proc report data=x
  style(header)=[cellwidth=2in just=c  VERTICALALIGN= MIDDLE fontsize=11pt] 
  style(column)=[cellwidth=2in just=c  VERTICALALIGN= MIDDLE fontsize=11pt];
  title 'proc report -- height works in HTML and PPTX';
  column blnkvar a b;
  define blnkvar / order noprint;
  define a / display;
  define b / display;
  compute after blnkvar/style={height=3pt font_size=1pt};
	line ' ';
  endcomp;
run;

ods _all_ close;
title;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 18:52:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print-adjust-cellheight-of-blankline/m-p/399883#M19476</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-09-29T18:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Print - adjust  cellheight of blankline</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print-adjust-cellheight-of-blankline/m-p/399908#M19477</link>
      <description>&lt;P&gt;thanks! - all three pieces of info were helpful:&amp;nbsp;1) use pt instead of in; 2) rtf works, but not ppt&amp;nbsp;(found that&amp;nbsp;pdf works also); 3) a great template&amp;nbsp;to use with&amp;nbsp; Proc Report.&lt;/P&gt;
&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 19:53:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Print-adjust-cellheight-of-blankline/m-p/399908#M19477</guid>
      <dc:creator>Dave25</dc:creator>
      <dc:date>2017-09-29T19:53:08Z</dc:date>
    </item>
  </channel>
</rss>

