<?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: PDF PROC REPORT Line Wrapping and Insert Header Blank Line in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-PROC-REPORT-Line-Wrapping-and-Insert-Header-Blank-Line/m-p/301470#M17027</link>
    <description>&lt;PRE&gt;
"However, it does not preserve indention when wrapping around. "
Make that column has wider length  .  style={cellwidth=10cm}

Or use escapechar:

^_^_^_^_Heavy and engineering ^_^_^_^_ construct 



"how do I insert a blank line in the COLUMNS statement"

columns titlesp ('^S={TEXTDECORATION=underline}  Not seasonally adjusted  ^S={}  ^n  ^_^_ '
&lt;/PRE&gt;</description>
    <pubDate>Thu, 29 Sep 2016 09:24:42 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2016-09-29T09:24:42Z</dc:date>
    <item>
      <title>PDF PROC REPORT Line Wrapping and Insert Header Blank Line</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-PROC-REPORT-Line-Wrapping-and-Insert-Header-Blank-Line/m-p/301333#M17021</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm converting a legacy code to match the layout in PROC REPORT. &amp;nbsp;The industry titles has embeded leading blanks to indicate indention as required. &amp;nbsp;I am able to preserve the leading space by using a style attribute ASIS=ON. &amp;nbsp;However, it does not preserve indention when wrapping around. &amp;nbsp;Here's an example:&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/5082iF71A6D3F121CCE43/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Indented titles Wrapped" title="Indented titles Wrapped" /&gt;&lt;/P&gt;&lt;P&gt;Also, I have another issue is how do I insert a blank line in the COLUMNS statement. &amp;nbsp;I'm providing two images of current and legacy headings.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5083i4F90F82418D14F1B/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Current Headings" title="Current Headings" /&gt;&lt;/P&gt;&lt;P&gt;needs to look like the legacy headings:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5084i623BBD668D3AD448/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Legacy Headings" title="Legacy Headings" /&gt;&lt;/P&gt;&lt;P&gt;Here is my code used for this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data = outpdf nowd ls = 200 list headskip headline style = monospace nocenter
            style(report) = {fontfamily='Cumberland AMT' font_size = 8pt}
            style(header) = {fontfamily='Cumberland AMT' font_size = 8pt}
            style(column) = {fontfamily='Cumberland AMT' font_size = 8pt};
   columns titlesp ('^S={TEXTDECORATION=underline}Not seasonally adjusted' sea_mov otmccnsa)
                   ('^S={TEXTDECORATION=underline}Seasonally adjusted' otmcc sig_chg signif)
           blank;
   define titlesp / "Industry" display STYLE(COLUMN) = {JUST = L ASIS = ON CELLWIDTH = 2.8in};
   define sea_mov / "Normal/seasonal/movements" format = best5. display STYLE(COLUMN) = {JUST = C CELLWIDTH = 0.75in};
   define otmccnsa / "Estimated/over-the-month/change" format = best5. display STYLE(COLUMN) = {JUST = C CELLWIDTH = 1in};
   define otmcc / "Estimated/over-the-month/change" format = best5. display STYLE(COLUMN) = {JUST = C CELLWIDTH = 1in};
   define sig_chg / "Minimum/significant/change^{super *}" format = best5. display STYLE(COLUMN) = {JUST = C CELLWIDTH = 0.75in};
   define signif / "Pass/test of/significance" display STYLE(COLUMN) = {JUST = C CELLWIDTH = 0.8in};
   define blank / " " computed format=$1.;

   compute blank;
      blank = " ";
   endcomp;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Your assistance is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Curtis E. Reid&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2016 15:59:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-PROC-REPORT-Line-Wrapping-and-Insert-Header-Blank-Line/m-p/301333#M17021</guid>
      <dc:creator>CurtisER</dc:creator>
      <dc:date>2016-09-28T15:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: PDF PROC REPORT Line Wrapping and Insert Header Blank Line</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-PROC-REPORT-Line-Wrapping-and-Insert-Header-Blank-Line/m-p/301470#M17027</link>
      <description>&lt;PRE&gt;
"However, it does not preserve indention when wrapping around. "
Make that column has wider length  .  style={cellwidth=10cm}

Or use escapechar:

^_^_^_^_Heavy and engineering ^_^_^_^_ construct 



"how do I insert a blank line in the COLUMNS statement"

columns titlesp ('^S={TEXTDECORATION=underline}  Not seasonally adjusted  ^S={}  ^n  ^_^_ '
&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Sep 2016 09:24:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-PROC-REPORT-Line-Wrapping-and-Insert-Header-Blank-Line/m-p/301470#M17027</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-09-29T09:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: PDF PROC REPORT Line Wrapping and Insert Header Blank Line</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-PROC-REPORT-Line-Wrapping-and-Insert-Header-Blank-Line/m-p/301473#M17028</link>
      <description>&lt;P&gt;Hi Curtis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can add a break line by adding a split sign to your sea_mov title for e.g. "/ /Normal/seasonal/movements"&lt;BR /&gt;I do get row indentation in the RTF when using your report code, check mine:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data outpdf;
   titlesp='    Construction';
   sea_mov=99.9;
   otmccnsa=99.9;
   otmcc=99.9;
   sig_chg=99.9;
   signif=99.9;
   output;
   titlesp='       Construction of buildings';
   sea_mov=88.8;
   otmccnsa=88.8;
   otmcc=88.8;
   sig_chg=88.8;
   signif=88.8;
   output;
run;

ods rtf file='C:\TEMP\outpdf.rtf';
ods escapechar='^';
proc report data = outpdf nowd ls = 200 list headskip headline style = monospace nocenter
            style(report) = {fontfamily='Cumberland AMT' font_size = 8pt}
            style(header) = {fontfamily='Cumberland AMT' font_size = 8pt}
            style(column) = {fontfamily='Cumberland AMT' font_size = 8pt};
   columns titlesp ('^S={TEXTDECORATION=underline}Not seasonally adjusted' sea_mov otmccnsa)
                   ('^S={TEXTDECORATION=underline}Seasonally adjusted' otmcc sig_chg signif)
           blank;
   define titlesp    / "Industry" display STYLE(COLUMN) = {JUST = L ASIS = ON CELLWIDTH = 2.8in};
   define sea_mov    / "/ /Normal/seasonal/movements" format = best5. display STYLE(COLUMN) = {JUST = C CELLWIDTH = 0.75in};
   define otmccnsa   / "Estimated/over-the-month/change" format = best5. display STYLE(COLUMN) = {JUST = C CELLWIDTH = 1in};
   define otmcc      / "Estimated/over-the-month/change" format = best5. display STYLE(COLUMN) = {JUST = C CELLWIDTH = 1in};
   define sig_chg    / "Minimum/significant/change^{super *}" format = best5. display STYLE(COLUMN) = {JUST = C CELLWIDTH = 0.75in};
   define signif     / "Pass/test of/significance" display STYLE(COLUMN) = {JUST = C CELLWIDTH = 0.8in};
   define blank      / " " computed format=$1.;

   compute blank;
      blank = " ";
   endcomp;
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 09:30:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-PROC-REPORT-Line-Wrapping-and-Insert-Header-Blank-Line/m-p/301473#M17028</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2016-09-29T09:30:39Z</dc:date>
    </item>
  </channel>
</rss>

