<?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 : DLL DPLCreateTable 2 - Bug ?</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 : DLL DPLCreateTable 2 - Bug ?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 19:57:14 +0000</pubDate>
  <lastBuildDate>Wed, 27 Feb 2013 21:06:48 +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=2539</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[DLL DPLCreateTable 2 - Bug ? :   If I don&amp;#039;t use CreateTable...]]></title>
   <link>http://www.quickpdf.org/forum/dll-dplcreatetable-2-bug_topic2539_post10531.html#10531</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2203">dragon</a><br /><strong>Subject:</strong> 2539<br /><strong>Posted:</strong> 27 Feb 13 at 9:06PM<br /><br />If I don't use CreateTable related functions, there is no issue at all. If use CreateTable, I need to add NewPage first.<div>&nbsp;</div><div>Please advise.</div><div>Thanks.</div>]]>
   </description>
   <pubDate>Wed, 27 Feb 2013 21:06:48 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dll-dplcreatetable-2-bug_topic2539_post10531.html#10531</guid>
  </item> 
  <item>
   <title><![CDATA[DLL DPLCreateTable 2 - Bug ? :   1. I try to Delete the empty...]]></title>
   <link>http://www.quickpdf.org/forum/dll-dplcreatetable-2-bug_topic2539_post10521.html#10521</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2203">dragon</a><br /><strong>Subject:</strong> 2539<br /><strong>Posted:</strong> 26 Feb 13 at 8:58AM<br /><br />1. I try to Delete the empty page 1. Error 110 occurs again !<div></div><div>2. I Select Page 1 and draw the table. No problem, Table appears in Page 1 and empty page in Page 2.</div><div>&nbsp;&nbsp;&nbsp; But, once I delete the empty page 2. Error 110 again !</div><div>&nbsp;</div><div>3. If I just Draw text, box, rotated text, etcs. With New Page added, No problem at all !</div><div>&nbsp;</div><div>Very weird and&nbsp;really abnormal, is there a bug in the DLL&nbsp;?</div><div>&nbsp;</div><div>Please advise.</div><div>&nbsp;</div><div>Thanks in advance.</div><div>&nbsp;</div><div>Best regards<br>Dragon</div>]]>
   </description>
   <pubDate>Tue, 26 Feb 2013 08:58:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dll-dplcreatetable-2-bug_topic2539_post10521.html#10521</guid>
  </item> 
  <item>
   <title><![CDATA[DLL DPLCreateTable 2 - Bug ? :    I have read all the scripts...]]></title>
   <link>http://www.quickpdf.org/forum/dll-dplcreatetable-2-bug_topic2539_post10513.html#10513</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2203">dragon</a><br /><strong>Subject:</strong> 2539<br /><strong>Posted:</strong> 25 Feb 13 at 5:30AM<br /><br />I have read all the scripts from the Debenu Quick PDF Library 9.13 Demo (2.70)&nbsp;application and successfully converted the sample code taken from&nbsp;to&nbsp;VS2008 Visual C++ non-mfc MBCS ( non-unicode hence use xxxxA functions), using dynamic DLL linking method&nbsp;:<div></div>&#091;Scripts Tab&#093;-&gt;&#091;Document Management&#093;-&gt;Create PDF-A Document.<div>&nbsp;</div><div>It works and open perfectly (CreateTable,etcs) &nbsp;in Adobe Reader without error !</div><div>&nbsp;</div><div>Now, back to my previous problem with CreateTable function.</div><div>I deleted the unnecessary codes, only left with the CreateTable related codes.</div><div>Error 110 encounters again !</div><div>&nbsp;</div><div>I try to figure out what is the problem. The only difference is NewPage is called from the working</div><div>first sample code.&nbsp; Once I add in the NewPage function, it works and open perfectly again ! However,&nbsp;there will be 2 pages, page 1 empty and&nbsp;the table will appear in page 2 !</div><div>&nbsp;</div><div>Is this a bug ?</div><div>&nbsp;</div><div>Please advise. Thanks in advance !</div><div>&nbsp;</div><div>Best regards</div><div>Dragon</div><div>&nbsp;</div><div>Below is my source code :</div><div>&nbsp;</div><div>void CreatePDFTable(void)<br>{<br>int result;</div><div>&nbsp;// CreateLibrary<br>&nbsp;InstanceID=pDPLCreateLibrary();<br>&nbsp;if (!InstanceID) return;</div><div>&nbsp;// Unlock library<br>&nbsp;result=pDPLUnlockKey(InstanceID,"xxxxxxxxxxxxxxx");<br>&nbsp;if (!result) return;</div><div>&nbsp;result = pDPLSetPDFAMode(InstanceID, 2);</div><div>&nbsp;result = pDPLSetOrigin(InstanceID, 1);<br>&nbsp;if (!result) return;</div><div>// Now lets add a bunch of different objects to the PDF which<br>// are supported by the PDF/A specification.</div><div>// Add some document properties to the PDF</div><div>&nbsp;result=pDPLSetInformation(InstanceID,0, "1.9");<br>&nbsp;result=pDPLSetInformation(InstanceID,1, "John Smith");<br>&nbsp;result=pDPLSetInformation(InstanceID,2, "The Life and Times of John Smith");<br>&nbsp;result=pDPLSetInformation(InstanceID,3, "A very special book");<br>&nbsp;result=pDPLSetInformation(InstanceID,4, "book, paperback, ebook");<br>&nbsp;result=pDPLSetInformation(InstanceID,5, "Mother Earth");<br>&nbsp;result=pDPLSetInformation(InstanceID,6, "Humanity");</div><div>// Add some custom information to the PDF</div><div>&nbsp;result=pDPLSetCustomInformation(InstanceID,"FirstName", "John");<br>&nbsp;result=pDPLSetCustomInformation(InstanceID,"LastName", "Smith");<br>&nbsp;result=pDPLSetCustomInformation(InstanceID,"Coolness Level", "Very Cool");</div><div>&nbsp;</div><div>&nbsp;// ********* Without This Function, Error 110 occurs !&nbsp;******** //<br>&nbsp;</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; result=pDPLNewPage(InstanceID); </div><div>&nbsp;</div><div>//&nbsp;^^^^^^^ Without This Function, Error 110 occurs ! ^^^^^^^//</div><div>&nbsp;</div><div>// Create a table and draw it on a PDF<br>&nbsp;int fontID2 = pDPLAddTrueTypeFont(InstanceID,"Stencil Std &#091;Bold&#093;", 1);<br>&nbsp;result=pDPLSetHTMLBoldFont(InstanceID,"Default", fontID2);</div><div>&nbsp;int fontID3 = pDPLAddTrueTypeFont(InstanceID,"Palatino Linotype &#091;Italic&#093;", 1);<br>&nbsp;result=pDPLSetHTMLItalicFont(InstanceID,"Default", fontID3);</div><div>&nbsp;int fontID4 = pDPLAddTrueTypeFont(InstanceID,"Lucida Fax", 1);<br>&nbsp;result=pDPLSetHTMLNormalFont(InstanceID,"Default", fontID4);</div><div>&nbsp;tableID = pDPLCreateTable(InstanceID, 5, 5);</div><div>&nbsp;// Specify color and width of borders&nbsp;&nbsp; <br>&nbsp;result = pDPLSetTableBorderColor(InstanceID, tableID, 0, 0.3, 0.204, 0);<br>&nbsp;result = pDPLSetTableBorderWidth(InstanceID, tableID, 0, 0.2);</div><div>&nbsp;// Specify table row height and table column width<br>&nbsp;result = pDPLSetTableRowHeight(InstanceID, tableID, 1, 5, 0);<br>&nbsp;result = pDPLSetTableColumnWidth(InstanceID, tableID, 1, 5, 100);</div><div>&nbsp;result = pDPLSetTableCellBackgroundColor(InstanceID, tableID, 1, 1, 1, 5, 0.3, 0.7, 1.0);<br>&nbsp;result = pDPLSetTableCellAlignment(InstanceID, tableID, 1, 1, 1, 5, 4);</div><div>// Setup the column headers and content for the first row</div><div>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 1, 1, "&lt;b&gt;This Week&lt;/b&gt;");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 1, 2, "&lt;b&gt;Last Week&lt;/b&gt;");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 1, 3, "&lt;b&gt;Artist Name&lt;/b&gt;");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 1, 4, "&lt;b&gt;Peak&lt;/b&gt;");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 1, 5, "&lt;b&gt;Weeks On&lt;/b&gt;");</div><div>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 2, 1, "1");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 2, 2, "1");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 2, 3, "&lt;b&gt;The Black Eyed Peas&lt;/b&gt;&lt;br&gt;Boom Boom Pow");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 2, 4, "&lt;b&gt;1&lt;/b&gt;");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 2, 5, "&lt;b&gt;11&lt;/b&gt;");</div><div>// Insert the content for the third row<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 3, 1, "2");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 3, 2, "3");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 3, 3, "&lt;b&gt;Missy Higgins&lt;/b&gt;&lt;br&gt;Life is a rainbow");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 3, 4, "&lt;b&gt;2&lt;/b&gt;");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 3, 5, "&lt;b&gt;8&lt;/b&gt;");</div><div>// Insert the content for the fourth row</div><div>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 4, 1, "3");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 4, 2, "2");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 4, 3, "&lt;b&gt;Silverchair&lt;/b&gt;&lt;br&gt;The Door");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 4, 4, "&lt;b&gt;3&lt;/b&gt;");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 4, 5, "&lt;b&gt;7&lt;/b&gt;");</div><div>// Insert the content for the fourth row</div><div>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 5, 1, "4");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 5, 2, "4");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 5, 3, "&lt;b&gt;Rolling Stones&lt;/b&gt;&lt;br&gt;Sweet Virginia");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 5, 4, "&lt;b&gt;4&lt;/b&gt;");<br>&nbsp;result = pDPLSetTableCellContent(InstanceID, tableID, 5, 5, "&lt;b&gt;19&lt;/b&gt;");</div><div>&nbsp;result = pDPLDrawTableRows(InstanceID, tableID, 50, 50, 400, 1, 0);</div><div>&nbsp;result=pDPLSaveToFile(InstanceID,"HelloFromDLL.pdf");<br>&nbsp;if (!result) return;</div><div>&nbsp;// Release Library<br>&nbsp;result = pDPLReleaseLibrary(InstanceID);<br>&nbsp;if (!result) return;</div><div>}</div><div>&nbsp;</div><div>&nbsp;</div><span style="font-size:10px"><br /><br />Edited by dragon - 25 Feb 13 at 6:25AM</span>]]>
   </description>
   <pubDate>Mon, 25 Feb 2013 05:30:06 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dll-dplcreatetable-2-bug_topic2539_post10513.html#10513</guid>
  </item> 
 </channel>
</rss>