<?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 : &#070;orm Field Border Line (Visible)</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 : &#070;orm Field Border Line (Visible)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 09:55:27 +0000</pubDate>
  <lastBuildDate>Mon, 19 Jun 2006 08:27:27 +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=434</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[&#070;orm Field Border Line (Visible) : Hello Chicks  Once more, thank...]]></title>
   <link>http://www.quickpdf.org/forum/form-field-border-line-visible_topic434_post1973.html#1973</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=153">jabaltie</a><br /><strong>Subject:</strong> 434<br /><strong>Posted:</strong> 19 Jun 06 at 8:27AM<br /><br />Hello Chicks<br /><br />Once more, thank you for your attention.<br /><br />Sorry but I thought what you suggested too complicated. My field merging process is very well settled down and I dont wanna mess around with it. Just for you to have an idea : data comes as a XML file and is stuffed into the PDF. Data comes from web or even from a Unisys mainframe - after all, it is a simple XML file.<br /><br />Anyway, I solved the problem another way : for this specific case, I cant use the Open Office embeded conversion button (it has a button to export to PDF directly inside).<br /><br />Then, I used Adobe Professional. Using it, everything works fine.<br /><br />The problem it creates for me is that Open Office is free and I can use anywhere. Adobe PRO is not. I have only a single license. So I have to convert it THERE , on the machine where I have it installed.<br /><br />Anyway, for other 99% situations, I can use Open Office directly.]]>
   </description>
   <pubDate>Mon, 19 Jun 2006 08:27:27 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/form-field-border-line-visible_topic434_post1973.html#1973</guid>
  </item> 
  <item>
   <title><![CDATA[&#070;orm Field Border Line (Visible) : OK, here&amp;#039;s a simplified version...]]></title>
   <link>http://www.quickpdf.org/forum/form-field-border-line-visible_topic434_post1933.html#1933</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=115">chicks</a><br /><strong>Subject:</strong> 434<br /><strong>Posted:</strong> 08 Jun 06 at 4:52PM<br /><br />OK, here's a simplified version of option 1 above.  It will loop through the fields, get the applicable attributes of the fields, delete the fields, and write text where the field was, using the attributes.  Just change the array to read from a file, and you should be good to go...<br /><br />(vbscript)<br /><br />Option Explicit<br /><br />Dim QP, i<br />Dim inFileName, outFileName<br />Dim x, y, w, h<br />Dim red, green, blue<br />Dim Value, FontName, FontSize, FontColor, Alignment, MaxLength<br />Dim QuickPDFKey<br />Dim fontID(14)<br />Dim a<br /><br />'-- Init iSedQuickPDF<br />Set QP = CreateObject("iSED.QuickPDF")<br /><br />'-- Set file names<br />QuickPDFKey = WScript.Arguments(0)<br />inFileName  = "nitro.pdf"  'WScript.Arguments(1) <br />outFileName = "filled.pdf" 'WScript.Arguments(2) <br /><br />'-- Unlock the PDF library<br />Call QP.UnlockKey(QuickPDFKey)<br /><br />'-- Load the input PDF<br />If QP.LoadFromFile(inFileName) = 0 Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WScript.Echo("Could Not Load PDF File: " + inFileName)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WScript.Quit(Err)<br />End If<br /><br />a = Array("ADRIANO", "Lecture - BioDiesel and Sugar Cane Engines" & vbCrLf & "Another line" & vbCrLf & "Another line")<br /><br />WScript.Echo "Creating " & outFileName<br /><br />'-- Loop through PDF Form fields<br />For i = QP.FormFieldCount To 1 Step -1<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;'-- Get the field attributes<br />&nbsp;&nbsp;&nbsp;&nbsp;x = QP.GetFormFieldBound(i, 0)<br />&nbsp;&nbsp;&nbsp;&nbsp;y = QP.GetFormFieldBound(i, 1)<br />&nbsp;&nbsp;&nbsp;&nbsp;w = QP.GetFormFieldBound(i, 2)<br />&nbsp;&nbsp;&nbsp;&nbsp;h = QP.GetFormFieldBound(i, 3)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;FontName = QP.GetFormFieldFontName(i)<br />&nbsp;&nbsp;&nbsp;&nbsp;FontSize = QP.GetFormFieldTextSize(i)<br />&nbsp;&nbsp;&nbsp;&nbsp;Call QP.SetTextSize(FontSize)<br />&nbsp;&nbsp;&nbsp;&nbsp;setFont(FontName)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;red&nbsp;&nbsp;&nbsp;= QP.GetFormFieldColor(i,1)<br />&nbsp;&nbsp;&nbsp;&nbsp;green = QP.GetFormFieldColor(i,2)<br />&nbsp;&nbsp;&nbsp;&nbsp;blue  = QP.GetFormFieldColor(i,3)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;Call QP.SetTextColor(red,green,blue)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;Alignment = QP.GetFormFieldAlignment(i)<br />&nbsp;&nbsp;&nbsp;&nbsp;Call QP.SetTextAlign(Alignment)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;'-- Make sure textbox is high enough for font<br />&nbsp;&nbsp;&nbsp;&nbsp;If h &lt;= FontSize Then h = FontSize + 2<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;'-- Delete the form field<br />&nbsp;&nbsp;&nbsp;&nbsp;Call QP.DeleteFormField(i)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;'-- Draw the text where form field was<br />&nbsp;&nbsp;&nbsp;&nbsp;Value = a(i-1)<br />&nbsp;&nbsp;&nbsp;&nbsp;Call QP.DrawTextBox(x, y, w, h, Value, 0)<br />Next<br /><br />Call QP.CompressContent()<br /><br />'-- Save document to PDF File<br />Call QP.SaveToFile(outFileName)<br /><br />'-- Clean up<br />Set QP = Nothing<br /><br />'-- We're Done!<br />WScript.Quit(Err)<br /><br />Sub setFont(FontName)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Select Case FontName<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "Courier"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SelectFont(0)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "Courier-Bold"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SelectFont(1)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "Courier-BoldOblique"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SelectFont(2)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "Courier-Oblique"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SelectFont(3)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "Helvetica"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SelectFont(4)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "Helvetica-Bold"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SelectFont(5)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "Helvetica-BoldOblique"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SelectFont(6)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "Helvetica-Oblique"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SelectFont(7)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "Times-Roman"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SelectFont(8)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "Times-Bold"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SelectFont(9)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "Times-Italic"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SelectFont(10)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "Times-BoldItalic"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SelectFont(11)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "Symbol"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SelectFont(12)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "ZapfDingbats"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SelectFont(13)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SelectFont(0)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End Select<br /><br />End Sub<br /><br />Sub SelectFont (fontNumber)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If fontID(fontNumber) = "" Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fontID(fontNumber) = QP.AddStandardFont(fontNumber)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End If<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Call QP.SelectFont(fontID(fontNumber))<br /><br />End Sub<br /><br />]]>
   </description>
   <pubDate>Thu, 08 Jun 2006 16:52:30 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/form-field-border-line-visible_topic434_post1933.html#1933</guid>
  </item> 
  <item>
   <title><![CDATA[&#070;orm Field Border Line (Visible) : Looks like I&amp;#039;ve found a bug...]]></title>
   <link>http://www.quickpdf.org/forum/form-field-border-line-visible_topic434_post1932.html#1932</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=153">jabaltie</a><br /><strong>Subject:</strong> 434<br /><strong>Posted:</strong> 08 Jun 06 at 1:57PM<br /><br />Looks like I've found a bug on iSedQuickPDF...<br /><br />Have a look at the very, very simple script below :<br /><br />============================<br />OPTION EXPLICIT<br />DIM objQPDF<br />Set objQPDF = WScript.CreateObject("ISED.QUICKPDF")<br />WScript.Echo "UnlockKey ",objQPDF.unlockkey("put-your-key-here")<br />WScript.Echo "Load File ",objQPDF.LoadFromFile("C:\TEST\WSH\NITRO.PDF")<br />WScript.Echo "set form f",objQPDF.SetFormFieldValue(2,"Lecture - BioDiesel and Sugar Cane Engines")<br />WScript.Echo "set form f",objQPDF.FlattenFormfield(2)<br />WScript.Echo "set form f",objQPDF.SetFormFieldValue(1,"ADRIANO")<br />WScript.Echo "set form f",objQPDF.FlattenFormfield(1)<br />WScript.Echo "save&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;",objQPDF.SaveToFile("C:\TEMP\NITRO.PDF")<br />================================================<br /><br />You can grab a copy of NITRO.PDF from here :<br /><br />http://www.DES.online.unimep.br/au/pub/nitro.pdf<br /><br />What's up anyway ?<br /><br />Try to play around with Flattening. If you DO NOT flatten, it will work. <br /><br />If you Flatten however, the border will come up.<br /><br />Is it a problem on IsedQuickPDF or not ?]]>
   </description>
   <pubDate>Thu, 08 Jun 2006 13:57:23 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/form-field-border-line-visible_topic434_post1932.html#1932</guid>
  </item> 
  <item>
   <title><![CDATA[&#070;orm Field Border Line (Visible) : Well, you can probably simplify...]]></title>
   <link>http://www.quickpdf.org/forum/form-field-border-line-visible_topic434_post1931.html#1931</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=115">chicks</a><br /><strong>Subject:</strong> 434<br /><strong>Posted:</strong> 08 Jun 06 at 1:08PM<br /><br />Well, you can probably simplify the "hard" way above, which uses iSEDQuickPDF.  You can probably do it dynamically - loop through all the form fields, save their attributes into some sort of array.  Then delete the form fields completely.  Then use the saved attributes to write your data onto the PDF where the form fields were.<br /><br />]]>
   </description>
   <pubDate>Thu, 08 Jun 2006 13:08:44 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/form-field-border-line-visible_topic434_post1931.html#1931</guid>
  </item> 
  <item>
   <title><![CDATA[&#070;orm Field Border Line (Visible) :   chicks wrote:Dang!  Looks like...]]></title>
   <link>http://www.quickpdf.org/forum/form-field-border-line-visible_topic434_post1930.html#1930</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=153">jabaltie</a><br /><strong>Subject:</strong> 434<br /><strong>Posted:</strong> 08 Jun 06 at 1:03PM<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by chicks" alt="Originally posted by chicks" style="vertical-align: text-bottom;" /> <strong>chicks wrote:</strong><br /><br />Dang!  Looks like iSEQuickPDF simply doesn't support borderless fields, unless I'm overlooking something.<br /></td></tr></table><br /><br />Yes, it DOES support. Because I usually build my templates using Open Office version 2.0. And it has a button to export directly to PDF, without printer drivers or any other accessories.<br /><br />When I draw templates at Open Office, I can make the form fields without borders and the PDF will respect this, as well as iSEDQuickPDF.<br /><br />And, OO is free !<br /><br />However, the "Oh Oh" problem with OO is that when I add a background image, the form fields will create a white hole over the backround image.<br /><br />I mean, I have not figured out a way to make "transparent" form fields, is NitroPDF does !<br /><br />As for the suggestions purposed, the data filling process is pretty well settled down with iSedQuickPDF. I dont wanna mess around with it.<br /><br />So, guess we're back with two (or three) questions :<br /><br />1) Using NitroPDF (that respects the background), how to remove the borders around the fields ?<br /><br />or<br /><br />2) Using OO, how to make form fields that respect the background image ?<br /><br />or<br /><br />3) A simple, cheap way to create sophisticated PDF templates...<br /><br /><br />Thanks again 4 your support !]]>
   </description>
   <pubDate>Thu, 08 Jun 2006 13:03:08 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/form-field-border-line-visible_topic434_post1930.html#1930</guid>
  </item> 
  <item>
   <title><![CDATA[&#070;orm Field Border Line (Visible) : Dang!  Looks like iSEQuickPDF...]]></title>
   <link>http://www.quickpdf.org/forum/form-field-border-line-visible_topic434_post1929.html#1929</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=115">chicks</a><br /><strong>Subject:</strong> 434<br /><strong>Posted:</strong> 08 Jun 06 at 12:49PM<br /><br />Dang!  Looks like iSEQuickPDF simply doesn't support borderless fields, unless I'm overlooking something.<br /><br />There are a couple of ways to fix this:<br /><br />1. (the hard way) Save the form field attributes (position, font, colors, etc.) to a file, delete the form fields, then write the text using the saved information.  See this example: <br /><br />http://forum.planetpdf.com/webboard/wbpx.dll/read?104606,3e<br /><br />2. (the easy way) Create a .fdf with your data in it, and use pdftk to fill and flatten the fields.  There will be no borders.  See this example:<br /><br />http://www.savefile.com/files.php?fid=5838135<br /><br />I have a DLL that uses the same techniques as pdftk (gcj-compiled iText java lib), if you would prefer to integrate the flattening, instead of using a command-line tool.  See these links:<br /><br />http://www.savefile.com/files.php?fid=9411235<br />http://www.savefile.com/files.php?fid=5312447<br /><span style="font-size:10px"><br /><br />Edited by chicks</span>]]>
   </description>
   <pubDate>Thu, 08 Jun 2006 12:49:56 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/form-field-border-line-visible_topic434_post1929.html#1929</guid>
  </item> 
  <item>
   <title><![CDATA[&#070;orm Field Border Line (Visible) : I used NitroPDF (as Chicks suggested)...]]></title>
   <link>http://www.quickpdf.org/forum/form-field-border-line-visible_topic434_post1928.html#1928</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=153">jabaltie</a><br /><strong>Subject:</strong> 434<br /><strong>Posted:</strong> 08 Jun 06 at 8:48AM<br /><br />I used NitroPDF (as Chicks suggested) to create PDF with form fields. I have only to text form fields on my PDF.<br /><br />When I open the PDF on Acrobat, border lines are not visible. This is what I want. I can fill in the form field contents. It's OK.<br /><br />However, when I stuff data into the PDF using QuickPDF, the resulting PDF opens up with visible border lines.<br /><br />Would it be because I'm flattening form fields ?<br /><br />Any hints ?<br /><br />This is the original PDF template :<br /><br />http://www.DES.online.unimep.br/au/pub/nitro.pdf<br /><br />And here's a copy of a PDF after QuickPDF :<br /><br />http://www.DES.online.unimep.br/au/pub/quick.pdf<br /><br />]]>
   </description>
   <pubDate>Thu, 08 Jun 2006 08:48:28 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/form-field-border-line-visible_topic434_post1928.html#1928</guid>
  </item> 
 </channel>
</rss>