<?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 knowing how many rows before page break in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-knowing-how-many-rows-before-page-break/m-p/742567#M25009</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16835"&gt;@jerry898969&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I really appreciate jerry898969's question and ballardw's effort to solve the problems.&amp;nbsp; Like in ballardw's response the current implementation of RTF in PROC REPORT would not solve these problems. So, it's a matter of a different implementation of RTF that could potentially solve the problems.&amp;nbsp; &amp;nbsp;Attached is an example of such an implementation, it was created as an RTF file and it's saved as a Word document.&amp;nbsp; See it for yourselves.&amp;nbsp; There is no page break in this file. The Microsoft Word/RTF handles pagination very well, and you will never count lines on a page.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jianmin Long&lt;/P&gt;</description>
    <pubDate>Thu, 20 May 2021 01:00:03 GMT</pubDate>
    <dc:creator>Jianmin</dc:creator>
    <dc:date>2021-05-20T01:00:03Z</dc:date>
    <item>
      <title>ODS PDF knowing how many rows before page break</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-knowing-how-many-rows-before-page-break/m-p/741138#M24996</link>
      <description>&lt;P&gt;I have a task to create a pdf report.&amp;nbsp; I have the report generating but I have some table headings on the last line of one page and the data on the next page.&lt;/P&gt;
&lt;P&gt;Is there a way to check how many lines are left on a page and if it's not enough add a new page at that point?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 14:59:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-knowing-how-many-rows-before-page-break/m-p/741138#M24996</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2021-05-13T14:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF knowing how many rows before page break</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-knowing-how-many-rows-before-page-break/m-p/741157#M24997</link>
      <description>&lt;P&gt;It may help to show the code you use to generate the report including any options on the ODS PDF statement and system options like papersize, orientation and such.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The basic answer to "knowing rows" is "not likely to happen".&lt;/P&gt;
&lt;P&gt;Reasons: Font size affects amount of space used for each "row" of output. The amount of cellpadding top and bottom affects size of each row.&lt;/P&gt;
&lt;P&gt;Paper size affects the amount of space available.&lt;/P&gt;
&lt;P&gt;Options in styles or code for Titles, Footnotes affect the amount of space each takes. If one of the wraps due to page width then another complication.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The way you create a report may allow you to control where pages break nicer but there isn't going to be any simple magic bullet.&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 16:05:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-knowing-how-many-rows-before-page-break/m-p/741157#M24997</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-13T16:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF knowing how many rows before page break</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-knowing-how-many-rows-before-page-break/m-p/742567#M25009</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16835"&gt;@jerry898969&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I really appreciate jerry898969's question and ballardw's effort to solve the problems.&amp;nbsp; Like in ballardw's response the current implementation of RTF in PROC REPORT would not solve these problems. So, it's a matter of a different implementation of RTF that could potentially solve the problems.&amp;nbsp; &amp;nbsp;Attached is an example of such an implementation, it was created as an RTF file and it's saved as a Word document.&amp;nbsp; See it for yourselves.&amp;nbsp; There is no page break in this file. The Microsoft Word/RTF handles pagination very well, and you will never count lines on a page.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jianmin Long&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 01:00:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-knowing-how-many-rows-before-page-break/m-p/742567#M25009</guid>
      <dc:creator>Jianmin</dc:creator>
      <dc:date>2021-05-20T01:00:03Z</dc:date>
    </item>
  </channel>
</rss>

