<?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 Can I add a cover page with contents in the pds pdf in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Can-I-add-a-cover-page-with-contents-in-the-pds-pdf/m-p/298355#M10566</link>
    <description>&lt;P&gt;Hello SAS Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is ther is any way to add the cover page contents in the ods pdf.&lt;/P&gt;&lt;P&gt;The attached is the format how I wanted to get the contents in the cover page. Please help&lt;/P&gt;</description>
    <pubDate>Wed, 14 Sep 2016 15:55:07 GMT</pubDate>
    <dc:creator>sanjay1</dc:creator>
    <dc:date>2016-09-14T15:55:07Z</dc:date>
    <item>
      <title>Can I add a cover page with contents in the pds pdf</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Can-I-add-a-cover-page-with-contents-in-the-pds-pdf/m-p/298355#M10566</link>
      <description>&lt;P&gt;Hello SAS Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is ther is any way to add the cover page contents in the ods pdf.&lt;/P&gt;&lt;P&gt;The attached is the format how I wanted to get the contents in the cover page. Please help&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 15:55:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Can-I-add-a-cover-page-with-contents-in-the-pds-pdf/m-p/298355#M10566</guid>
      <dc:creator>sanjay1</dc:creator>
      <dc:date>2016-09-14T15:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a cover page with contents in the pds pdf</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Can-I-add-a-cover-page-with-contents-in-the-pds-pdf/m-p/298368#M10567</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt; You can use contents=yes with ODS PDF to get a separate contents page, but the format of the contents page cannot be formatted as you show.&lt;BR /&gt;&lt;BR /&gt; That would be the simplest way to get a Table of Contents. Otherwise, if you need a highly customized cover page, you would have to use techniques similar to those shown in the answer to your previous post:&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/How-to-list-and-use-all-the-colors-in-sas-graphs/m-p/295499#U295499" target="_blank"&gt;https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/How-to-list-and-use-all-the-colors-in-sas-graphs/m-p/295499#U295499&lt;/A&gt; which shows a PROC REPORT solution.&lt;BR /&gt;&lt;BR /&gt; Also, this is probably not the correct forum in which to post your question. I don't see any graph code in your previous examples, so this might be better posted in the ODS and Reporting Forum.&lt;BR /&gt;&lt;BR /&gt; Please try this code to see how contents=yes works with ODS PDF.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;cynthia.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options pageno=1 nodate number;
   
ods pdf file='c:\temp\withcontents.pdf' contents=yes;
 
ods proclabel 'Show Students';
proc print data=sashelp.class contents='Print Names';
run;

ods proclabel 'Descriptive Statistics';
proc means data=sashelp.class;
class age;
var height;
run;

ods proclabel 'Counts for AGE and SEX';
proc freq data=sashelp.class;
  tables age sex;
run;

ods proclabel 'Percentiles';
ods select percentiles;
proc univariate data=sashelp.class;
var height;
run;

ods proclabel 'CrossTab Report';
proc tabulate data=sashelp.class contents='SASHELP.CLASS';
  class age sex;
  var height;
  table sex*age all,
        height*(min mean median max)/ contents='Sex and Age Table';
run;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note how ODS PROCLABEL and the procedure level CONTENTS= option alters the text that is shown in the Contents page:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4923i73F583185FF47906/image-size/original?v=v2&amp;amp;px=-1" alt="show_contents.png" title="show_contents.png" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 16:39:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Can-I-add-a-cover-page-with-contents-in-the-pds-pdf/m-p/298368#M10567</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-09-14T16:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a cover page with contents in the pds pdf</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Can-I-add-a-cover-page-with-contents-in-the-pds-pdf/m-p/299236#M10574</link>
      <description>&lt;P&gt;Thank you cynthia&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 10:46:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Can-I-add-a-cover-page-with-contents-in-the-pds-pdf/m-p/299236#M10574</guid>
      <dc:creator>sanjay1</dc:creator>
      <dc:date>2016-09-19T10:46:09Z</dc:date>
    </item>
  </channel>
</rss>

