<?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: Use  proc report column width to indent within SAS datasets in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Use-proc-report-column-width-to-indent-within-SAS-datasets/m-p/849788#M335919</link>
    <description>&lt;P&gt;Please post the code you have as text using "insert sas code" button and add data in usable form, so that we have something to work with.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2022 06:38:02 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2022-12-15T06:38:02Z</dc:date>
    <item>
      <title>Use  proc report column width to indent within SAS datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-proc-report-column-width-to-indent-within-SAS-datasets/m-p/849779#M335914</link>
      <description>&lt;P&gt;Hi,I've got a problem with indent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;First picture is the result that I want.but it's done by proc report&lt;SPAN&gt;&lt;SPAN&gt;(from&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;SAS Support Communities member&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Cynthia_sas)&lt;/SPAN&gt; &lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1615302532528.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78555i846975F1D05D37B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cynthia_sas_0-1615302532528.png" alt="Cynthia_sas_0-1615302532528.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;DIV&gt;I need to use the&amp;nbsp; column width which in proc report ,and then use it to&amp;nbsp;calculate&amp;nbsp; when to wrap lines and add space in front of new line.And wrap one line,then add one space;wrap two line,then add two space,as picture shows.This&amp;nbsp; is done whtnin SAS datasets before proc report.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For instance:col6 is a long text "&lt;SPAN&gt;This is a test for&amp;nbsp;Text Wrapping&amp;nbsp;with Indentation&lt;/SPAN&gt;"&lt;DIV&gt;define col6 /display "&lt;STRONG&gt;Wrapping&amp;nbsp;with Indentation&lt;/STRONG&gt;" style(column)=[cellwidth=15% just=left asis=on] style(header)=[just=left];&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;the number of 15 pass to program ,then we need to figure out when to&amp;nbsp;wrap lines and add space。&lt;/DIV&gt;&lt;P&gt;the dataset like below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2EF2BB4A-23F3-4020-871F-3E97FC7CD0DC.png" style="width: 548px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78556i290BF3B233DA72F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="2EF2BB4A-23F3-4020-871F-3E97FC7CD0DC.png" alt="2EF2BB4A-23F3-4020-871F-3E97FC7CD0DC.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="F9C9BCFF-88DD-44aa-A0C2-438A0ABFB536.png" style="width: 733px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78557i0218E60AB81AB88B/image-size/large?v=v2&amp;amp;px=999" role="button" title="F9C9BCFF-88DD-44aa-A0C2-438A0ABFB536.png" alt="F9C9BCFF-88DD-44aa-A0C2-438A0ABFB536.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV&gt;and different font sise have different column with in RTF,if possible,we could&amp;nbsp;&lt;SPAN&gt;Including in this case. and if there is chinese,the situation become more complex&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Dec 2022 03:06:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-proc-report-column-width-to-indent-within-SAS-datasets/m-p/849779#M335914</guid>
      <dc:creator>wzl9527</dc:creator>
      <dc:date>2022-12-15T03:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Use  proc report column width to indent within SAS datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-proc-report-column-width-to-indent-within-SAS-datasets/m-p/849788#M335919</link>
      <description>&lt;P&gt;Please post the code you have as text using "insert sas code" button and add data in usable form, so that we have something to work with.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 06:38:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-proc-report-column-width-to-indent-within-SAS-datasets/m-p/849788#M335919</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2022-12-15T06:38:02Z</dc:date>
    </item>
  </channel>
</rss>

