<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : Table with many rows - many pages</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : Table with many rows - many pages]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 10:27:01 +0000</pubDate>
  <lastBuildDate>Thu, 06 Aug 2009 15:31:40 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=1166</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[Table with many rows - many pages : Great job Slawek! Thanks for posting...]]></title>
   <link>http://www.quickpdf.org/forum/table-with-many-rows-many-pages_topic1166_post5395.html#5395</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1">Michel_K17</a><br /><strong>Subject:</strong> 1166<br /><strong>Posted:</strong> 06 Aug 09 at 3:31PM<br /><br />Great job Slawek! Thanks for posting an update.]]>
   </description>
   <pubDate>Thu, 06 Aug 2009 15:31:40 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/table-with-many-rows-many-pages_topic1166_post5395.html#5395</guid>
  </item> 
  <item>
   <title><![CDATA[Table with many rows - many pages : &amp;gt;QP.NewPage;&amp;gt;QP.SelectPage(aPageCount);&amp;gt;I...]]></title>
   <link>http://www.quickpdf.org/forum/table-with-many-rows-many-pages_topic1166_post5392.html#5392</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1134">Slawek</a><br /><strong>Subject:</strong> 1166<br /><strong>Posted:</strong> 06 Aug 09 at 6:22AM<br /><br />&gt;QP.NewPage;<br>&gt;QP.SelectPage(aPageCount);<br>&gt;<br><br>I don't do aPageCount := QP.NewPage<br>aPageCount - isn't a new page id, it should be aPrintedRecordCount, it's total row count from first page to current<br><br>SelectPage it's ok<br><br>I know what it's wrong: GetTableLastDrawnRow returns last printed row, not rowcount from last page.<br><br>It should be:<br>DrawTableRows(aTableId, 0.2, PageHeight - 0.2, PageHeight - 0.4, aPrintedRecordCount + 1, <b>0</b>);<br><b>aPrintedRecordCount := GetTableLastDrawnRow(aTableId);</b> //not Inc(aPrintedRecordCount ,GetTableLastDrawnRow(aTableId));<br>...<br><br>Thank you very much for help.<br><br><br><br>]]>
   </description>
   <pubDate>Thu, 06 Aug 2009 06:22:43 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/table-with-many-rows-many-pages_topic1166_post5392.html#5392</guid>
  </item> 
  <item>
   <title><![CDATA[Table with many rows - many pages : Hi!What&amp;#039;s the returning value...]]></title>
   <link>http://www.quickpdf.org/forum/table-with-many-rows-many-pages_topic1166_post5391.html#5391</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1166<br /><strong>Posted:</strong> 05 Aug 09 at 9:31PM<br /><br />Hi!<br><br>What's the returning value from "SelectPage(<b>NewPage</b>);"... error or okay?<br>In your loop you can try something like:<br>// ...<br>QP.NewPage;<br>QP.SelectPage(aPageCount);<br>// ... now your table<br>// ...<br><br>Cheers, Ingo<br><br>]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 21:31:38 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/table-with-many-rows-many-pages_topic1166_post5391.html#5391</guid>
  </item> 
  <item>
   <title><![CDATA[Table with many rows - many pages : I want print 1000 rows on X pages....]]></title>
   <link>http://www.quickpdf.org/forum/table-with-many-rows-many-pages_topic1166_post5389.html#5389</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1134">Slawek</a><br /><strong>Subject:</strong> 1166<br /><strong>Posted:</strong> 05 Aug 09 at 12:24PM<br /><br />I want print 1000 rows on X pages. On one page I can print about 50 rows (sometimes 40 or 60, GetTableLastDrawnRow result). <br><br>I create new page and select it  here:<br><br>if aPageCount &lt; 1000 then<br>&nbsp;&nbsp;&nbsp;&nbsp; SelectPage(<b>NewPage</b>);<br><br>aPageCount&nbsp; - it's total row count from first page to current:<br><br>page - aPageCount<br>1 - 50 rows (from 1 to 50)<br>2 - 100 (from 51 to 100)<br>3 - 150 (from 101 to 150)<br>...<br>when aPageCount &gt;=1000 I finish.<br>After that I have 20 pages but only first have table, other are clear.<br><br>I think when I do<br>DrawTableRows(TabId, 0.2, PageHeight - 0.2, PageHeight - 0.4, aPageCount + 1, GetTableLastDrawnRow(TabId));<br><br>table is draw on currently selected page. Is this true?<br><br><br>]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 12:24:08 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/table-with-many-rows-many-pages_topic1166_post5389.html#5389</guid>
  </item> 
  <item>
   <title><![CDATA[Table with many rows - many pages : Hi!I don&amp;#039;t see that &amp;#034;NewPage&amp;#034;...]]></title>
   <link>http://www.quickpdf.org/forum/table-with-many-rows-many-pages_topic1166_post5388.html#5388</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1166<br /><strong>Posted:</strong> 05 Aug 09 at 9:33AM<br /><br />Hi!<br>I don't see that "NewPage" is served?<br>SelectPage(aPageCount) should work.<br>If you want to create 1000 pages with a table and your document doesn't have these 1000 pages then you have to create them ... in this case have a look at "NewPage".<br>What you can do, too is creating the table one time and copy this single page on the other pages. Have a look in the page management functions of QuickPDF.<br><br>Cheers, Ingo<br><br>]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 09:33:51 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/table-with-many-rows-many-pages_topic1166_post5388.html#5388</guid>
  </item> 
  <item>
   <title><![CDATA[Table with many rows - many pages : HiI have table with 1000 rowsTabId:=...]]></title>
   <link>http://www.quickpdf.org/forum/table-with-many-rows-many-pages_topic1166_post5387.html#5387</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1134">Slawek</a><br /><strong>Subject:</strong> 1166<br /><strong>Posted:</strong> 05 Aug 09 at 8:19AM<br /><br />Hi<br><br>I have table with 1000 rows<br>TabId:= CreateTable(1000, 5);<br>SetTableRowHeight(TabId, 1, 1000, 0);<br>...<br><br>I need draw table on many pages so I do something like this:<br><br>aPageCount := 0;<br>&nbsp;repeat<br>&nbsp;&nbsp; DrawTableRows(TabId, 0.2, PageHeight - 0.2, PageHeight - 0.4, aPageCount + 1, FPDFApp.GetTableLastDrawnRow(TabId));<br>&nbsp;&nbsp; aRowPage := GetTableLastDrawnRow(TabId); //aRowPage = 50<br>&nbsp;&nbsp; Inc(aPageCount,aRowPage);<br>&nbsp;&nbsp; if aPageCount &lt; 1000 then<br>&nbsp;&nbsp;&nbsp;&nbsp; SelectPage(NewPage);<br>&nbsp;&nbsp; until aPageCount &gt;= 1000;<br><br>But it isn't working, I have many pages but table is only on first page with first 50 rows.<br>How I can draw table on next page?<br>]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 08:19:03 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/table-with-many-rows-many-pages_topic1166_post5387.html#5387</guid>
  </item> 
 </channel>
</rss>