From craig at tobyhouse.com Mon Mar 24 18:31:21 2008 From: craig at tobyhouse.com (Craig White) Date: Mon, 24 Mar 2008 15:31:21 -0700 Subject: [Pdf-stamper-devel] checkboxes Message-ID: <1206397881.2790.25.camel@cube.tobyhouse.com> checkboxes...I can't get them to check pdf.text :responsenotes, @cn.response_note No problem with text fields...I can do anything I want but a checkbox remains unchecked no matter... pdf.text :additionalcomments, 'TRUE' pdf.text :additionalcomments, 'true' pdf.text :additionalcomments, '1' pdf.text :additionalcomments, TRUE pdf.text :additionalcomments, 1 Looking at lib/pdf/pdf-stamper.rb it appears that everything must be a string but heck, I'm starting to get desparate. How does one get a 'checked' checkbox? Craig From jaywhy at gmail.com Mon Mar 24 18:38:53 2008 From: jaywhy at gmail.com (Jason Yates) Date: Mon, 24 Mar 2008 18:38:53 -0400 Subject: [Pdf-stamper-devel] checkboxes In-Reply-To: <1206397881.2790.25.camel@cube.tobyhouse.com> References: <1206397881.2790.25.camel@cube.tobyhouse.com> Message-ID: <4cbfccd70803241538n3915b39cl61b8c5193d15138c@mail.gmail.com> > Looking at lib/pdf/pdf-stamper.rb it appears that everything must be a > string but heck, I'm starting to get desparate. > > How does one get a 'checked' checkbox? By sending me a patch adding that feature to PDF-Stamper ;). -- Jason Yates jaywhy at gmail.com From jaywhy at gmail.com Mon Mar 24 18:45:54 2008 From: jaywhy at gmail.com (Jason Yates) Date: Mon, 24 Mar 2008 18:45:54 -0400 Subject: [Pdf-stamper-devel] checkboxes In-Reply-To: <1206398447.2790.27.camel@cube.tobyhouse.com> References: <1206397881.2790.25.camel@cube.tobyhouse.com> <4cbfccd70803241538n3915b39cl61b8c5193d15138c@mail.gmail.com> <1206398447.2790.27.camel@cube.tobyhouse.com> Message-ID: <4cbfccd70803241545q1fb887a1w6b6bf576dae6cf1f@mail.gmail.com> > I wouldn't know where to begin to look, I don't know a thing about java, > itext or PDF I'm not sure how this would work either. I don't even know if iText supports this. -- Jason Yates jaywhy at gmail.com From craig at tobyhouse.com Mon Mar 24 18:51:14 2008 From: craig at tobyhouse.com (Craig White) Date: Mon, 24 Mar 2008 15:51:14 -0700 Subject: [Pdf-stamper-devel] checkboxes In-Reply-To: <4cbfccd70803241545q1fb887a1w6b6bf576dae6cf1f@mail.gmail.com> References: <1206397881.2790.25.camel@cube.tobyhouse.com> <4cbfccd70803241538n3915b39cl61b8c5193d15138c@mail.gmail.com> <1206398447.2790.27.camel@cube.tobyhouse.com> <4cbfccd70803241545q1fb887a1w6b6bf576dae6cf1f@mail.gmail.com> Message-ID: <1206399074.2790.30.camel@cube.tobyhouse.com> On Mon, 2008-03-24 at 18:45 -0400, Jason Yates wrote: > > I wouldn't know where to begin to look, I don't know a thing about java, > > itext or PDF > > I'm not sure how this would work either. I don't even know if iText > supports this. ---- puts me in a world of hurt, I didn't realize the limitation of this... Is this where I might have a picture of a checkbox that is checked and replace the button with an image? Craig