<?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 : stack fails in html text</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 : stack fails in html text]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 19:52:28 +0000</pubDate>
  <lastBuildDate>Tue, 08 Nov 2011 03:37:25 +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=2032</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[stack fails in html text : As mentioned in another question...]]></title>
   <link>http://www.quickpdf.org/forum/stack-fails-in-html-text_topic2032_post8647.html#8647</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2032<br /><strong>Posted:</strong> 08 Nov 11 at 3:37AM<br /><br />As mentioned in another question I found that a &lt;p spacing="-2pt" tag will allow you to control line spacing.<div><br></div><div><div><div style="text-align: left; : rgb251, 251, 253; ">string text = "&lt;p spacing=\"-2pt\"&gt;begins to pay for covered services you use. Check your policy to see when the &nbsp;&lt;font color=\"#0775A8\"&gt;deductible&lt;/font&gt; starts over (usually, but not always, January 1st). See the chart starting on page 2 for how much you pay for covered services after you meet the &lt;font color=\"#0775A8\"&gt;deductible&lt;/font&gt;.&lt;/font&gt;";</div><div style="text-align: left; : rgb251, 251, 253; ">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.DrawHTMLTextBox(10 ,10, 300 , 200, text);</div><div style="text-align: left; : rgb251, 251, 253; "><br></div><div style="text-align: left; : rgb251, 251, 253; ">Andrew.</div></div></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 08 Nov 2011 03:37:25 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/stack-fails-in-html-text_topic2032_post8647.html#8647</guid>
  </item> 
  <item>
   <title><![CDATA[stack fails in html text : This error has finally been fixed...]]></title>
   <link>http://www.quickpdf.org/forum/stack-fails-in-html-text_topic2032_post8643.html#8643</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2032<br /><strong>Posted:</strong> 07 Nov 11 at 11:33PM<br /><br />This error has finally been fixed in the 8.13 beta 1 release which can be downloaded from<div><br></div><div>&nbsp;&nbsp;<a href="http://www.quickpdflibrary.com/blog/2011/11/quick-pdf-library-8-13-beta-1-released/" target="_blank">http://www.quickpdflibrary.com/blog/2011/11/quick-pdf-library-8-13-beta-1-released/</a></div><div><br></div><div>Andrew.</div>]]>
   </description>
   <pubDate>Mon, 07 Nov 2011 23:33:19 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/stack-fails-in-html-text_topic2032_post8643.html#8643</guid>
  </item> 
  <item>
   <title><![CDATA[stack fails in html text : Basically trying to create my...]]></title>
   <link>http://www.quickpdf.org/forum/stack-fails-in-html-text_topic2032_post8640.html#8640</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1743">greenley</a><br /><strong>Subject:</strong> 2032<br /><strong>Posted:</strong> 06 Nov 11 at 11:01PM<br /><br />Basically trying to create my own DrawHTMLTextBox that will space the lines to fit within a table, i.e. narrow the spacing between lines.<br><br>I am trying:<br><br>&nbsp; void TForm1::DrawSizedHTMLText(int tableID, int row, int col, AnsiString text)<br>&nbsp; {<br>&nbsp;&nbsp;&nbsp; int cellLeft = QP.GetTableCellDblProperty(tableID,row,col,101);<br>&nbsp;&nbsp;&nbsp; int cellTop = QP.GetTableCellDblProperty(tableID,row,col,102);<br>&nbsp;&nbsp;&nbsp; int cellWidth = QP.GetTableCellDblProperty(tableID,row,col,103);<br>&nbsp;&nbsp;&nbsp; int cellHeight = QP.GetTableCellDblProperty(tableID,row,col,104);<br>&nbsp;&nbsp;&nbsp; int leftPadding = 6;<br>&nbsp;&nbsp;&nbsp; int numLines = QP.GetHTMLTextLineCount(cellWidth-leftPadding,(const wstring &amp;)WideString(text));<br>&nbsp;&nbsp;&nbsp; double lineHeight = cellHeight/(double)numLines;<br>&nbsp;&nbsp;&nbsp; double linePos = 0;<br>&nbsp;&nbsp;&nbsp; AnsiString text1 = (AnsiString)QP.DrawHTMLTextBox(cellLeft-leftPadding,cellTop+linePos,cellWidth-leftPadding,lineHeight*1.5,(const wstring &amp;)WideString(text)).c_str();<br><br>&nbsp;&nbsp;&nbsp; //text1=L"&lt;stack&gt;&lt;!--0000000202A18E8000000010##000000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N0000000002A18E8000000012##000000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N00000000LN--&gt;&lt;/stack&gt;begins to pay for covered services you use. Check your policy to see when the&nbsp; &lt;font color=\"#0775A8\"&gt;deductible&lt;/font&gt; starts over (usually, but not always, January 1st). See the chart starting on page 2 for how much you pay for covered services after you meet the &lt;font color=\"#0775A8\"&gt;deductible&lt;/font&gt;.&lt;/font&gt;";<br>&nbsp;&nbsp;&nbsp; text1=L"begins to pay for covered services you use. Check your policy to see when the&nbsp; &lt;font color=\"#0775A8\"&gt;deductible&lt;/font&gt; starts over (usually, but not always, January 1st). See the chart starting on page 2 for how much you pay for covered services after you meet the &lt;font color=\"#0775A8\"&gt;deductible&lt;/font&gt;.&lt;/font&gt;";<br>&nbsp;&nbsp;&nbsp; linePos += lineHeight;<br>&nbsp;&nbsp;&nbsp; QP.DrawHTMLTextBox(cellLeft-leftPadding,cellTop+linePos,cellWidth-leftPadding,lineHeight*1.5,(const wstring &amp;)WideString(text1));<br>&nbsp; }<br><br>When I use text1 directly from the call to DrawHTMLTextBox, I get 'Access violation at address 026E6C00 in module 'QuickPDFDLL0812.dll'. Read of address A18E800C'. Process stopped.<br>Text1 at this point contain the stack as shown in the first commented out assignment to text1 which I got from the debugger, if I delete the stack code and use the second commented assignment, the code runs, but of course the interupted HTML tags are lost. To be clear, I get the error if I use text1 directly from the call to DrawHTMLTextBox or using the assigned value that is commented out in this example.<br><br>Suggestions?<br>]]>
   </description>
   <pubDate>Sun, 06 Nov 2011 23:01:53 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/stack-fails-in-html-text_topic2032_post8640.html#8640</guid>
  </item> 
 </channel>
</rss>