<?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 : Set&#070;ormFieldValue and text width</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 : General Discussion : Set&#070;ormFieldValue and text width]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 09:28:25 +0000</pubDate>
  <lastBuildDate>Fri, 10 Mar 2006 08:39:58 +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=353</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[Set&#070;ormFieldValue and text width : Because the data is going into...]]></title>
   <link>http://www.quickpdf.org/forum/setformfieldvalue-and-text-width_topic353_post1521.html#1521</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=170">bogey</a><br /><strong>Subject:</strong> 353<br /><strong>Posted:</strong> 10 Mar 06 at 8:39AM<br /><br /><P>Because the data is going into the field, only getting truncated visually. Reading it back would bring back the full value. </P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 10 Mar 2006 08:39:58 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/setformfieldvalue-and-text-width_topic353_post1521.html#1521</guid>
  </item> 
  <item>
   <title><![CDATA[Set&#070;ormFieldValue and text width : Why not read back the value after...]]></title>
   <link>http://www.quickpdf.org/forum/setformfieldvalue-and-text-width_topic353_post1520.html#1520</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=168">PDFman</a><br /><strong>Subject:</strong> 353<br /><strong>Posted:</strong> 10 Mar 06 at 7:55AM<br /><br /><P class=Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><FONT size=3><FONT face=Garam&#111;nd>Why not read back the value after writing it. Then compare the strings and give a message to the user if they do not compare.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><o:p><FONT face=Garam&#111;nd size=3>&nbsp;</FONT></o:p></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><FONT size=3><FONT face=Garam&#111;nd>Best regards,<o:p></o:p></FONT></FONT></SPAN></P><P class=Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><FONT size=3><FONT face=Garam&#111;nd>/Stefan<o:p></o:p></FONT></FONT></SPAN></P>]]>
   </description>
   <pubDate>Fri, 10 Mar 2006 07:55:52 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/setformfieldvalue-and-text-width_topic353_post1520.html#1520</guid>
  </item> 
  <item>
   <title><![CDATA[Set&#070;ormFieldValue and text width : The &amp;#034;auto&amp;#034; text size...]]></title>
   <link>http://www.quickpdf.org/forum/setformfieldvalue-and-text-width_topic353_post1499.html#1499</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=170">bogey</a><br /><strong>Subject:</strong> 353<br /><strong>Posted:</strong> 09 Mar 06 at 10:20AM<br /><br /><P>The "auto" text size will reduce the text to fit the existing field. Not expanding the box.</P>]]>
   </description>
   <pubDate>Thu, 09 Mar 2006 10:20:25 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/setformfieldvalue-and-text-width_topic353_post1499.html#1499</guid>
  </item> 
  <item>
   <title><![CDATA[Set&#070;ormFieldValue and text width : Not always the Auto is a good...]]></title>
   <link>http://www.quickpdf.org/forum/setformfieldvalue-and-text-width_topic353_post1497.html#1497</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=153">jabaltie</a><br /><strong>Subject:</strong> 353<br /><strong>Posted:</strong> 09 Mar 06 at 8:42AM<br /><br />Not always the Auto is a good aproach cause it is very common that the user designs a box around the field, that is, a framing box.<br /><br />In any case however, this box will step over the adjoining fields.<br /><br />So, I really need QuickPDF to monitor when a form field is stepping over someone else's toes !]]>
   </description>
   <pubDate>Thu, 09 Mar 2006 08:42:55 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/setformfieldvalue-and-text-width_topic353_post1497.html#1497</guid>
  </item> 
  <item>
   <title><![CDATA[Set&#070;ormFieldValue and text width : I fully agree the issue need to...]]></title>
   <link>http://www.quickpdf.org/forum/setformfieldvalue-and-text-width_topic353_post1496.html#1496</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=170">bogey</a><br /><strong>Subject:</strong> 353<br /><strong>Posted:</strong> 09 Mar 06 at 8:18AM<br /><br /><P>I fully agree the issue need to go back to the form designer. Either&nbsp;show them how to set the fontsize to "auto", or tell them that overflows cannot be controlled. I don't think there is an "overflow" function to detect the problem. </P><P>You could make an estimate if it is a fixed-pitch font. For example, if you know it is a courier 10 font in the field, you could calulate the characted that could be displayed by dividing the size by the character pitch. But this would only be an approximation for most fonts.</P>]]>
   </description>
   <pubDate>Thu, 09 Mar 2006 08:18:32 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/setformfieldvalue-and-text-width_topic353_post1496.html#1496</guid>
  </item> 
  <item>
   <title><![CDATA[Set&#070;ormFieldValue and text width : I&amp;#039;m afraid I should not change...]]></title>
   <link>http://www.quickpdf.org/forum/setformfieldvalue-and-text-width_topic353_post1493.html#1493</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=153">jabaltie</a><br /><strong>Subject:</strong> 353<br /><strong>Posted:</strong> 09 Mar 06 at 8:09AM<br /><br />I'm afraid I should not change any text properties.<br /><br />My principle here is that my client, that is, my final user, designs the template. He/she chooses the lay out by drawing the form using Open Office and then exporting it to PDF.<br /><br />So, the principle is to respect this design.<br /><br />What I want is to detect problems while I'm stuffing data into this design or template.<br /><br />So, the approach is to tell the final user that the field that he/she designed for "NAME" is not large enough.<br /><br />He/She should fix the template.<br /><br />Got it ?<br />]]>
   </description>
   <pubDate>Thu, 09 Mar 2006 08:09:22 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/setformfieldvalue-and-text-width_topic353_post1493.html#1493</guid>
  </item> 
  <item>
   <title><![CDATA[Set&#070;ormFieldValue and text width : I don&amp;#039;t know that you could...]]></title>
   <link>http://www.quickpdf.org/forum/setformfieldvalue-and-text-width_topic353_post1492.html#1492</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=170">bogey</a><br /><strong>Subject:</strong> 353<br /><strong>Posted:</strong> 09 Mar 06 at 7:36AM<br /><br /><P>I don't know that you could determine exactly how many characters can fit a form field based on the size and the getFormFieldTextSize, but you can override the font to "auto" which will scale long text down till it fits in the blank. </P><P>Set the font using SetFormFieldTextSize(index,0).</P><P>Of course you may also run into potential problems with the design department or law department if you adjust font sizes without their knowledge. </P>]]>
   </description>
   <pubDate>Thu, 09 Mar 2006 07:36:08 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/setformfieldvalue-and-text-width_topic353_post1492.html#1492</guid>
  </item> 
  <item>
   <title><![CDATA[Set&#070;ormFieldValue and text width : I&amp;#039;m using QuickPDF to stuff...]]></title>
   <link>http://www.quickpdf.org/forum/setformfieldvalue-and-text-width_topic353_post1490.html#1490</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=153">jabaltie</a><br /><strong>Subject:</strong> 353<br /><strong>Posted:</strong> 09 Mar 06 at 7:22AM<br /><br />I'm using QuickPDF to stuff data into empty form fields of template PDFs. So, for instance, I have on my VBScript :<br /><br />obj.SetFormFieldValueByTitle("NAME","JOSE ADRIANO BALTIERI")<br /><br />The problem is :<br /><br />Sometimes the field content is larger than the designed form field. So, data is truncated when the PDF is printed. If I load the PDF, I can "see" the data by scrolling within the field. But I need it to be printed OK, because my main goal is to print the PDF.<br /><br />Finally , my question is :<br /><br />Is it possible to detect when data may be truncated, that is, to detect this size error ?<br /><br />Something like :<br /><br />obj.SetFormFieldValueByTitle("NAME","JOSE ADRIANO ALTIERI")<br />if  DATATRUNCATED<br />&nbsp;&nbsp;&nbsp;&nbsp;do something to warn <br />endif<br /><br />Thanks in advance for your support !]]>
   </description>
   <pubDate>Thu, 09 Mar 2006 07:22:43 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/setformfieldvalue-and-text-width_topic353_post1490.html#1490</guid>
  </item> 
 </channel>
</rss>