1

I need to parse checkboxes from a PDF. I'm using docksplit gem of ruby.The problem is that when a pdf is parsed only its text gets parsed and there is no sign of check-box existence.

Here is a screenshot of my PDF checkbox( box marked with cross(X) is checked).

enter image description here

Is there any way I can figure it out weather its checked or unchecked.May be through binary data?

Sachin Prasad
  • 5,365
  • 12
  • 54
  • 101
  • You can try gem pdf-reader, it has more functions and apis. In the document, the author mentions that AcroForm or other objects can be get from api. It's not be stored in text format. – Bigxiang Aug 21 '13 at 10:23
  • @Bigxiang I'm not sure weather it can parse those checkboxes but once I tried parsing simple text and it couldn't even parse simple texts from my pdf properly. – Sachin Prasad Aug 21 '13 at 10:41

0 Answers0