<?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 : Textimport</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 : Textimport]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Jul 2026 21:43:31 +0000</pubDate>
  <lastBuildDate>Tue, 01 Jul 2008 12:00:41 +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=913</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[Textimport : I finally got mine working as...]]></title>
   <link>http://www.quickpdf.org/forum/textimport_topic913_post4356.html#4356</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=872">waynefulcher</a><br /><strong>Subject:</strong> 913<br /><strong>Posted:</strong> 01 Jul 08 at 12:00PM<br /><br />I finally got mine working as well so for the sake of other readers...<DIV>I found that the method FitTextBox will replace multiple spaces with a single space but the method DrawText does not. So as it turned out I had to Draw each line of each page separtely. </DIV><DIV>&nbsp;</DIV><DIV>Now I have another stange thing, one of my Text files works out to be around 3,500 pages. My logic was taking about 5 minutes to convert so I found what was taking so long and now I will post another message to try to get an answer. What I found was if I remove a single line of code which was PDF.SetPageSize('Letter') then it only took about 10 seconds to create the PDF. I call SetPageSize() right after each time I call SelectPage().</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 01 Jul 2008 12:00:41 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/textimport_topic913_post4356.html#4356</guid>
  </item> 
  <item>
   <title><![CDATA[Textimport : yes Wayne, &amp;#034;we sit in the...]]></title>
   <link>http://www.quickpdf.org/forum/textimport_topic913_post4354.html#4354</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=303">KHentschel</a><br /><strong>Subject:</strong> 913<br /><strong>Posted:</strong> 01 Jul 08 at 6:34AM<br /><br />yes Wayne, "we sit in the same boat" :-)<DIV>&nbsp;</DIV><DIV>as i told you i program with Visual Foxpro. I have to do the following also in my program:</DIV><DIV>&nbsp;</DIV><DIV>- take a plain Textfile with multiple pages (Textfiles have no PageBreak)</DIV><DIV>-&nbsp;make single Pages</DIV><DIV>- convert the whole dokument into PDF File</DIV><DIV>- convert the last Page into PDF File</DIV><DIV>&nbsp;</DIV><DIV>Ok, i have done it know completly in FoxPro. The Spaces are accurate and i have single Pages.</DIV><DIV>&nbsp;</DIV><DIV>Best regards</DIV><DIV>&nbsp;</DIV><DIV>Klaus</DIV>]]>
   </description>
   <pubDate>Tue, 01 Jul 2008 06:34:31 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/textimport_topic913_post4354.html#4354</guid>
  </item> 
  <item>
   <title><![CDATA[Textimport : Well one thing to consider if...]]></title>
   <link>http://www.quickpdf.org/forum/textimport_topic913_post4353.html#4353</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=872">waynefulcher</a><br /><strong>Subject:</strong> 913<br /><strong>Posted:</strong> 30 Jun 08 at 12:23PM<br /><br />Well one thing to consider if trying to use a horizonal tab character is "where do you specify how many spaces equals one HT?" Unless there is a property for that then I feel like you will need to manually convert the HT to spaces. This is more of a conceptual things for example. At my shop we have several programmers and our code editor used to insert HT into the code but we quickly realized that different programmers had configured their editor to translate a HT into different number of spaces so after one person wrote some code nothing would line up right for another programmer viewing it.<DIV>&nbsp;</DIV><DIV>Once you get around the HT -&gt; Spaces conversion, then you may experience what I am currently experiencing which is when I draw text to a page, if the text has more than one consecutive space it will remove all but one. So "abc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xyz" gets converted to "abc xyz". I know I encountered this same thing when converting text to XML and back using an XML DOM parser and determined that is the standard in xml conversion so I am assuming the draw text is being ran through some type of conversion and I wonder if I have to URL encode the text first? </DIV><DIV>I know this will not help much but I can see we are somewhat in the same boat which is trying to figure out how to simply draw text to a PDF and have it match our expectations.</DIV><DIV>&nbsp;</DIV><DIV>wayne</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 30 Jun 2008 12:23:24 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/textimport_topic913_post4353.html#4353</guid>
  </item> 
  <item>
   <title><![CDATA[Textimport : Hi Ingo, i change the FitTextBox...]]></title>
   <link>http://www.quickpdf.org/forum/textimport_topic913_post4349.html#4349</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=303">KHentschel</a><br /><strong>Subject:</strong> 913<br /><strong>Posted:</strong> 25 Jun 08 at 4:03AM<br /><br /><P>Hi Ingo,</P><DIV>i change the FitTextBox into DrawHTMLTextBox. Now i can not see any Text. What i want is to put plain Text into a PDF, not HTML Text.</DIV><DIV>&nbsp;</DIV><DIV>Best regards</DIV><DIV>&nbsp;</DIV><DIV>Klaus<B><FONT face=Arial color=#504fb4 size=4><FONT face=Arial color=#504fb4 size=4><FONT face=Arial color=#504fb4 size=4></B></FONT></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Wed, 25 Jun 2008 04:03:44 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/textimport_topic913_post4349.html#4349</guid>
  </item> 
  <item>
   <title><![CDATA[Textimport : Hello Wayne,  here is the example....]]></title>
   <link>http://www.quickpdf.org/forum/textimport_topic913_post4348.html#4348</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=303">KHentschel</a><br /><strong>Subject:</strong> 913<br /><strong>Posted:</strong> 25 Jun 08 at 3:35AM<br /><br />Hello Wayne,<DIV>&nbsp;</DIV><DIV>here is the example. I develop with MS Visual FoxPro</DIV><DIV>&nbsp;</DIV><DIV>lcText = FILETOSTR(GETFILE())</DIV><DIV>loPDF = CREATEOBJECT("iSED.QuickPDF")<BR>loPDF.UnlockKey('your Code')<BR>lnWidth = FLOOR(loPDF.PAGEWIDTH())<BR>lnHeight = FLOOR(loPDF.PAGEHEIGHT())<BR>loPDF.SetPageSize('A4 Landscape')<BR>lnFontID = loPDF.AddStandardFont(0)<BR>loPDF.SelectFont(lnFontID)<BR>loPDF.FitTextBox(10,lnHeight,lnWidth,lnHeight,lcText,0)<BR>loPDF.SaveToFile(PUTFILE())<BR>RELEASE loPDF<BR></DIV><DIV>Where is your Problem?</DIV><DIV>&nbsp;</DIV><DIV>Best regards</DIV><DIV>&nbsp;</DIV><DIV>Klaus</DIV>]]>
   </description>
   <pubDate>Wed, 25 Jun 2008 03:35:10 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/textimport_topic913_post4348.html#4348</guid>
  </item> 
  <item>
   <title><![CDATA[Textimport : You can set string (with positions)...]]></title>
   <link>http://www.quickpdf.org/forum/textimport_topic913_post4347.html#4347</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 913<br /><strong>Posted:</strong> 24 Jun 08 at 6:54PM<br /><br />You can set string (with positions) by string ...<br>But that's not really a fast way ;-)<br>DrawHTMLText or DrawHTMLTextBox can be worth to try ... I'm out of office - so only few tips ;-)<br><br>Good luck,<br>Ingo<br>]]>
   </description>
   <pubDate>Tue, 24 Jun 2008 18:54:05 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/textimport_topic913_post4347.html#4347</guid>
  </item> 
  <item>
   <title><![CDATA[Textimport : Klaus, I am trying to do the same...]]></title>
   <link>http://www.quickpdf.org/forum/textimport_topic913_post4346.html#4346</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=872">waynefulcher</a><br /><strong>Subject:</strong> 913<br /><strong>Posted:</strong> 24 Jun 08 at 12:24PM<br /><br />Klaus, I am trying to do the same thing. My program will look for text files in a folder and convert them to pdfs. I can't seem to get it to work. Could you post a code snipit showing how you convert the text file and save it?<DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>Wayne</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 24 Jun 2008 12:24:02 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/textimport_topic913_post4346.html#4346</guid>
  </item> 
  <item>
   <title><![CDATA[Textimport : Hi Ingo, i add the SelectFont...]]></title>
   <link>http://www.quickpdf.org/forum/textimport_topic913_post4344.html#4344</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=303">KHentschel</a><br /><strong>Subject:</strong> 913<br /><strong>Posted:</strong> 24 Jun 08 at 9:34AM<br /><br /><P>Hi Ingo,</P><P>i add the SelectFont into my Programm and also this do not keep the formating. The output was also before (without SelectFont) in Courier.</P><DIV>Thanks</DIV><DIV>&nbsp;</DIV><DIV>Klaus</DIV>]]>
   </description>
   <pubDate>Tue, 24 Jun 2008 09:34:12 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/textimport_topic913_post4344.html#4344</guid>
  </item> 
  <item>
   <title><![CDATA[Textimport : Hi!It&amp;#039;s the correct font...]]></title>
   <link>http://www.quickpdf.org/forum/textimport_topic913_post4343.html#4343</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 913<br /><strong>Posted:</strong> 24 Jun 08 at 9:22AM<br /><br />Hi!<br><br>It's the correct font (courier) but it's not enough to add the font.<br>SelectFont is needed i think.<br>Hope this helps.<br><br>Best regards,<br>Ingo<br>]]>
   </description>
   <pubDate>Tue, 24 Jun 2008 09:22:08 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/textimport_topic913_post4343.html#4343</guid>
  </item> 
  <item>
   <title><![CDATA[Textimport : Hello,  i try to convert a Textfile...]]></title>
   <link>http://www.quickpdf.org/forum/textimport_topic913_post4342.html#4342</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=303">KHentschel</a><br /><strong>Subject:</strong> 913<br /><strong>Posted:</strong> 24 Jun 08 at 8:21AM<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>i try to convert a Textfile to a PDF File. I do this with DrawTextBox or FitTextBox with a AddStandardFont(0). Everything runs fine, the PDF is created. But how can i keep the formating of Spaces and Tabs?</DIV><DIV>&nbsp;</DIV><DIV>The Textfile looks like this:</DIV><DIV>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono">|***********************************************|<BR>|&nbsp; Satzart&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<BR>|&nbsp; Versions-Nummer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs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; &nbsp;&nbsp;|<BR>*-----------------------------------------------*</FONT></DIV><DIV><FONT face="Courier New"></FONT>&nbsp;</DIV><DIV><FONT face="Arial, Helvetica, sans-serif">the created PDF File looks like this:</FONT></DIV><DIV><FONT face=Arial></FONT>&nbsp;</DIV><DIV><FONT face=Arial>|***********************************************|<BR>|&nbsp; Satzart&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<BR>|&nbsp; Versions-Nummer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<BR>|&nbsp; Kunden-Nummer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;|<BR>|&nbsp; Lieferanten-Nummer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; &nbsp;|<BR>|&nbsp; Übertragungs-Nummer ALT :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<BR>|&nbsp; Übertragungs-Nummer NEU : &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;|<BR>|&nbsp; Übertragungsdatum&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<BR>|&nbsp; Ust.IdNr. Empfänger&nbsp;&nbsp;&nbsp;&nbsp; : &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;|<BR>|&nbsp; Ust.IdNr. Lieferant&nbsp;&nbsp;&nbsp;&nbsp; : &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;|<BR>*-----------------------------------------------*</FONT></DIV><DIV><FONT face=Arial></FONT>&nbsp;</DIV><DIV><FONT face=Arial>i think the DrawText looses the Tabs?!</FONT></DIV><DIV><FONT face=Arial></FONT>&nbsp;</DIV><DIV><FONT face=Arial>Could anyone can help me in this? Is there a better Function than DrawTextBox or FitTextBox</FONT></DIV><DIV><FONT face=Arial></FONT>&nbsp;</DIV><DIV><FONT face=Arial>Best regards</FONT></DIV><DIV><FONT face=Arial></FONT>&nbsp;</DIV><DIV><FONT face=Arial>Klaus Hentschel</FONT></DIV>]]>
   </description>
   <pubDate>Tue, 24 Jun 2008 08:21:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/textimport_topic913_post4342.html#4342</guid>
  </item> 
 </channel>
</rss>