<?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: ODS PDF: dynamic column width in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-dynamic-column-width/m-p/359792#M18642</link>
    <description>&lt;P&gt;Thanks Cynthia, for quick reply. I wish ODS pdf &amp;amp; RTF were designed such that these options worked interchangeably in same way.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2017 19:54:53 GMT</pubDate>
    <dc:creator>vineet7878_gmail_com</dc:creator>
    <dc:date>2017-05-18T19:54:53Z</dc:date>
    <item>
      <title>ODS PDF: dynamic column width</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-dynamic-column-width/m-p/359771#M18640</link>
      <description>&lt;P&gt;I am&amp;nbsp;trying to replicate the functionality present in ods RTF for ODS PDF, where if style with width=100% is specified in proc template or in proc report statement, the columns spread to occupy 100% of space, without any gaps between the columns.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am unable to get the same functionality for pdf. E.g. for a landscape page, I am specifying 2 columns with widths 1 inch each along with width=100% in proc report statement. This creates big gap between two columns and after the end of last column. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can these gaps between the columns and after the last column be eliminated such that the columns widths automatically spreadout for ODF pdf. I am using SAS 9.3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vineet&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 19:25:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-dynamic-column-width/m-p/359771#M18640</guid>
      <dc:creator>vineet7878_gmail_com</dc:creator>
      <dc:date>2017-05-18T19:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF: dynamic column width</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-dynamic-column-width/m-p/359787#M18641</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt; I find it difficult in ODS PDF to "overcontrol" the widths. PDF will sometimes do what you want, but not always. My recommendation is to use WIDTH=100% and then NOT control the individual columns OR to control the individual columns, but not the width of the whole report. One or the other technique works best for me, but not both. &lt;BR /&gt;&lt;BR /&gt;cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, ODS PDF has the UNIFORM option, so that will cost you some overhead in pre-processing, but on a multipage report should serve to make the columns uniform across all pages without even fiddling with width.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, this works quite nicely for me without overcontrolling the individual column widths.&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options orientation=landscape topmargin=.25in bottommargin=.25in
        leftmargin=.25in rightmargin=.25in;

ods pdf file='c:\temp\test_uniform_with_width.pdf' notoc uniform;
title;
proc report data=sashelp.cars 
     style(report)={width=100%};
  column make model type origin cylinders enginesize msrp invoice;
run;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 May 2017 19:57:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-dynamic-column-width/m-p/359787#M18641</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-05-18T19:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF: dynamic column width</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-dynamic-column-width/m-p/359792#M18642</link>
      <description>&lt;P&gt;Thanks Cynthia, for quick reply. I wish ODS pdf &amp;amp; RTF were designed such that these options worked interchangeably in same way.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 19:54:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-dynamic-column-width/m-p/359792#M18642</guid>
      <dc:creator>vineet7878_gmail_com</dc:creator>
      <dc:date>2017-05-18T19:54:53Z</dc:date>
    </item>
  </channel>
</rss>

