<?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 : formatting a column of currency</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 : formatting a column of currency]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 00:20:08 +0000</pubDate>
  <lastBuildDate>Sat, 16 Feb 2013 23:54:11 +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=2488</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[formatting a column of currency : Following back on this. Turns...]]></title>
   <link>http://www.quickpdf.org/forum/formatting-a-column-of-currency_topic2488_post10487.html#10487</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2050">glennh</a><br /><strong>Subject:</strong> 2488<br /><strong>Posted:</strong> 16 Feb 13 at 11:54PM<br /><br />Following back on this. Turns out this wasn't that difficult at all. I just used right alignment with drawtext and the currency amounts lined up great.&nbsp;]]>
   </description>
   <pubDate>Sat, 16 Feb 2013 23:54:11 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/formatting-a-column-of-currency_topic2488_post10487.html#10487</guid>
  </item> 
  <item>
   <title><![CDATA[formatting a column of currency : Herzlichen Dank, Werner!I&amp;#039;ll...]]></title>
   <link>http://www.quickpdf.org/forum/formatting-a-column-of-currency_topic2488_post10407.html#10407</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2050">glennh</a><br /><strong>Subject:</strong> 2488<br /><strong>Posted:</strong> 16 Jan 13 at 9:59PM<br /><br /><span style="color: rgb51, 51, 51; font-family: arial, helvetica, clean, sans-serif; font-size: 13px;">Herzlichen Dank, Werner!</span><div><span style="color: rgb51, 51, 51; font-family: arial, helvetica, clean, sans-serif; font-size: 13px;"><br></span></div><div><span style="color: rgb51, 51, 51; font-family: arial, helvetica, clean, sans-serif; font-size: 13px;">I'll review that information, I appreciate it!</span></div>]]>
   </description>
   <pubDate>Wed, 16 Jan 2013 21:59:16 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/formatting-a-column-of-currency_topic2488_post10407.html#10407</guid>
  </item> 
  <item>
   <title><![CDATA[formatting a column of currency : Hi Gleen,you want a nice looking...]]></title>
   <link>http://www.quickpdf.org/forum/formatting-a-column-of-currency_topic2488_post10406.html#10406</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1569">edvoigt</a><br /><strong>Subject:</strong> 2488<br /><strong>Posted:</strong> 16 Jan 13 at 7:59PM<br /><br />Hi Gleen,<br><br>you want a nice looking solution. Everything has a price in coffee and time. For deeper knowledge look on my answer in this post:<br><a href="http://www.quickpdf.org/forum/tquickpdf0813drawtext_topic2074_post8841.html" target="_blank">http://www.quickpdf.org/forum/tquickpdf0813drawtext_topic2074_post8841.html</a><br><br>and something more here:<br><a href="http://www.quickpdf.org/forum/word-wrapping_topic2040_post8977.html" target="_blank">http://www.quickpdf.org/forum/word-wrapping_topic2040_post8977.html</a><br>This only to show you some background. The best idea is to look deeper in the reference guide. But now my idea.<br><br>There are different stages of accuracy. Lets start with the wished font (not Courier). We look only to realize one line correct, more later. We need the position of decimalseparator as given. Then we play with QP.SetTextAlign. With QP.SetTextAlign(1) we may draw the separator. If we know the width of the separator-sign (QP.Charwidth), it is easy to draw the both part of the string with SetTextAlign(0) respectivly SetTextAlign(2). If you know how much is the lineheight (see in my answers above). you may draw the next line in the same manner.<br><br>May it's good enough for your purposes. But you'll see, that the digits are not in columns, because the font ist of variable pitch. A 8 is bigger than a 1. With more work you may set every glyph step by step alone to simulate fixed pitch.<br><br><br>Cheers,<br><br>Werner<br>]]>
   </description>
   <pubDate>Wed, 16 Jan 2013 19:59:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/formatting-a-column-of-currency_topic2488_post10406.html#10406</guid>
  </item> 
  <item>
   <title><![CDATA[formatting a column of currency : I&amp;#039;m working on a table of...]]></title>
   <link>http://www.quickpdf.org/forum/formatting-a-column-of-currency_topic2488_post10401.html#10401</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2050">glennh</a><br /><strong>Subject:</strong> 2488<br /><strong>Posted:</strong> 13 Jan 13 at 12:52AM<br /><br />I'm working on a table of financial transactions. typical kind of format:<div><br></div><div>date &nbsp; description amount balance</div><div><br></div><div>In an attempt to keep things simple (maybe a bit of&nbsp;laziness), I'm making 4 strings with a CRLF delimiting each line then using the&nbsp;FitTextBox function to draw the data.&nbsp;</div><div><br></div><div>My biggest problem here is that I'm losing the white space at the beginning of my lines. Say my first two lines are like this:&nbsp;</div><div><br></div><div><font face="Courier New, Courier, mono">-$123.45</font></div><div><font face="Courier New, Courier, mono">&nbsp;$ 45.67</font></div><div><br></div><div>I'm losing the space before the dollar sign on the second line when using FitTextBox. Is there any way around this?&nbsp;</div><div><br></div><div>A secondary issue is that I'm using the helvetica font which is proportional. My numbers don't line up well, so I've been making my currency column use the Courier font, but I'm not crazy about the way that looks with two different fonts being used on one (pseudo) line.&nbsp;</div><div><br></div><div>Any help/advice on either of these issues would be appreciated.&nbsp;</div><div><br>Thanks!</div>]]>
   </description>
   <pubDate>Sun, 13 Jan 2013 00:52:15 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/formatting-a-column-of-currency_topic2488_post10401.html#10401</guid>
  </item> 
 </channel>
</rss>