<?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: Filling Row of Table Leading Periods? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648786#M194416</link>
    <description>&lt;P&gt;It seems to me that the issue is the calculation of the number of dots to add, since the font is&amp;nbsp;&lt;SPAN&gt;proportional rather than with a&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;fixed pitch.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 19 May 2020 09:33:41 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-05-19T09:33:41Z</dc:date>
    <item>
      <title>Filling Row of Table Leading Periods?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648771#M194415</link>
      <description>&lt;P&gt;I am trying to create a table of contents and would like to style it as in the picture below. I can get part way there using a PICTURE format on the page number with FILL='.', but am limited to 16 leading periods. Is there a way to get a row to fill all leading/trailing space with periods, or some other way to make a horizontal row of periods?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="toc.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39582iD8CFAE2B43BE021B/image-size/large?v=v2&amp;amp;px=999" role="button" title="toc.png" alt="toc.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 07:11:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648771#M194415</guid>
      <dc:creator>tburus</dc:creator>
      <dc:date>2020-05-19T07:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Row of Table Leading Periods?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648786#M194416</link>
      <description>&lt;P&gt;It seems to me that the issue is the calculation of the number of dots to add, since the font is&amp;nbsp;&lt;SPAN&gt;proportional rather than with a&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;fixed pitch.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 09:33:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648786#M194416</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-05-19T09:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Row of Table Leading Periods?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648810#M194433</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you know or can calculate how many periods are required then would the &lt;FONT face="courier new,courier"&gt;repeat()&lt;/FONT&gt; function be of any help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p0p9jw1m2698fvn1ljrnc8b6gij6.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p0p9jw1m2698fvn1ljrnc8b6gij6.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Amir.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 12:15:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648810#M194433</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2020-05-19T12:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Row of Table Leading Periods?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648813#M194436</link>
      <description>I'm not sure I understand your comment. Do you mean calculating how many trailing dots I would need after the strings? I can't find any way around the limitation on leading dots with the current set up I'm using.</description>
      <pubDate>Tue, 19 May 2020 12:54:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648813#M194436</guid>
      <dc:creator>tburus</dc:creator>
      <dc:date>2020-05-19T12:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Row of Table Leading Periods?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648839#M194444</link>
      <description>&lt;P&gt;How is the table of contents created ?&lt;/P&gt;
&lt;P&gt;Are you using ODS PDF option CONTENTS=yes ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This example generates a TOC with dot fills:&lt;/P&gt;
&lt;PRE&gt;ods _all_ close;

ods pdf file='report.pdf'
  contents=yes
;

proc print data=sashelp.class;
proc report data=sashelp.class;
run;

ods pdf close;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RichardADeVenezia_0-1589896478577.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39584iD1E1E7B9EAA38AE7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RichardADeVenezia_0-1589896478577.png" alt="RichardADeVenezia_0-1589896478577.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 13:55:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648839#M194444</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2020-05-19T13:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Row of Table Leading Periods?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648840#M194445</link>
      <description>&lt;P&gt;Thank you, I know. But I can't find a way to get that ToC to appear after the cover page, and I would need to style it and tag everything appropriately, which would be a lot more work than what I'm doing.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 13:59:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648840#M194445</guid>
      <dc:creator>tburus</dc:creator>
      <dc:date>2020-05-19T13:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Row of Table Leading Periods?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648888#M194468</link>
      <description>&lt;P&gt;Do you have any working code that comes even reasonably close ?&amp;nbsp; Are you able to share any of it ?&amp;nbsp; What code is being used to create the pdf ? Which procedures ? PRINT/REPORT/TABULATE/SUMMARY/UNIVARIATE/SGPLOT/SPC/GMAP, etc...?&amp;nbsp; ODS TEXT statements? DATA step ODSOUT component objects ? Proc ODSTEXT ?&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 15:46:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648888#M194468</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2020-05-19T15:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Row of Table Leading Periods?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648939#M194494</link>
      <description>&lt;P&gt;I'm using ODS PDF to output. My document contains PROC REPORT, PROC TABULATE and PROC SGRENDER. I tried dummying a row of ... into a PROC REPORT by defining a column called 'dots' where I said,&lt;/P&gt;&lt;PRE&gt;compute dots;
dots = repeat('.', 500);
endcomp;&lt;/PRE&gt;&lt;P&gt;But it didn't like this (threw an error and converted to numeric) and only printed a single dot.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 17:50:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648939#M194494</guid>
      <dc:creator>tburus</dc:creator>
      <dc:date>2020-05-19T17:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Filling Row of Table Leading Periods?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648999#M194514</link>
      <description>The REPORT documentation is your friend .&lt;BR /&gt;&lt;BR /&gt;COMPUTE Statement&lt;BR /&gt;&amp;lt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Computed character columns have a max length of 200.&lt;BR /&gt;&lt;BR /&gt;You want&lt;BR /&gt;&lt;BR /&gt;compute dots / character length=200&lt;BR /&gt;  dots=repeat('.',199);&lt;BR /&gt;endcomp;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 May 2020 19:30:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Filling-Row-of-Table-Leading-Periods/m-p/648999#M194514</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2020-05-19T19:30:26Z</dc:date>
    </item>
  </channel>
</rss>

