<?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 : checkbox values</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 : checkbox values]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 09 Jun 2026 15:28:07 +0000</pubDate>
  <lastBuildDate>Mon, 29 Apr 2013 02:19:51 +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=2559</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[checkbox values : The SubNames from QPL can be used...]]></title>
   <link>http://www.quickpdf.org/forum/checkbox-values_topic2559_post10776.html#10776</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2559<br /><strong>Posted:</strong> 29 Apr 13 at 2:19AM<br /><br />The SubNames from QPL can be used to determine the correct values. &nbsp;According to the PDF specification "Off" should always be the off state.<div><br></div><div>Here is some code that attempts to turn on all Checkboxes on a form. &nbsp;You can modify this code to meet your needs.</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.LoadFromFile("formfields.pdf", "");</div><div><br></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (int i = 1; i &lt; QP.FormFieldCount(); i++)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int fType = QP.GetFormFieldType(i);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string fName = QP.GetFormFieldTitle(i);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int sc;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; switch (fType)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 1: &nbsp; &nbsp; // Text</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetFormFieldValue(i, "ABDCEF");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 3:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 4:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 5:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sc = QP.GetFormFieldSubCount(i);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (int j = 1; j &lt;= QP.GetFormFieldSubCount(i); j++)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string value = QP.GetFormFieldSubName(i, j);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (value != "Off")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; QP.SetFormFieldValue(i, value);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 7: &nbsp; &nbsp; // Parent</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div></div><div><br></div>]]>
   </description>
   <pubDate>Mon, 29 Apr 2013 02:19:51 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/checkbox-values_topic2559_post10776.html#10776</guid>
  </item> 
  <item>
   <title><![CDATA[checkbox values : Hello, The PDF Spec seems to show...]]></title>
   <link>http://www.quickpdf.org/forum/checkbox-values_topic2559_post10775.html#10775</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2018">Chumly</a><br /><strong>Subject:</strong> 2559<br /><strong>Posted:</strong> 28 Apr 13 at 3:26PM<br /><br />Hello,<br />The PDF Spec seems to show that the output can be whatever the designer of the form wishes to use.<br />There is no set value.<br />You will need to either control the source pdf files, or code for each variant you find.<br />:(<br />]]>
   </description>
   <pubDate>Sun, 28 Apr 2013 15:26:38 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/checkbox-values_topic2559_post10775.html#10775</guid>
  </item> 
  <item>
   <title><![CDATA[checkbox values : I am processing pdf document from...]]></title>
   <link>http://www.quickpdf.org/forum/checkbox-values_topic2559_post10580.html#10580</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1865">toran</a><br /><strong>Subject:</strong> 2559<br /><strong>Posted:</strong> 09 Mar 13 at 1:38AM<br /><br />I am processing pdf document from different origins, programmatically filling out form field values. The problem I have is filling out checkboxes. &nbsp;Possible variants that I came across are "1/0", or "Off/On", or "Yes/No".&nbsp;<div><br></div><div>My question is:<div><br></div><div>how to find what values makes checkbox field being "check" and "uncheck"?</div><div><br></div><div>There is an API function GetFormFieldDefaultValue that in case of "Off/On" will return "Off", but it is unclear if "DefaultValue" for checkbox is a value for "unchecked" or "checked" checkbox?&nbsp;<div><br></div></div></div>]]>
   </description>
   <pubDate>Sat, 09 Mar 2013 01:38:21 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/checkbox-values_topic2559_post10580.html#10580</guid>
  </item> 
 </channel>
</rss>