Indeed, there isn't. But there is no guarantee that the "label" is to the right. It could be to the left.

Tilman

On 12.09.2022 19:16, Jacob MacWilliams wrote:
Hi,

The names of the various fields in my acroForm are all fairly unintuitive (Check Box1, Check Box2, etc.) so for the simple case of check boxes whose labels in the pdf document are contained to one line I am considering simply iterating through all of the fields with the FieldIterator, extracting the location of the checkboxes, and using PDFTextStripperByArea to extract the region immediately to the right of the checkbox location. I guess I just wanted to double check here that there's no functionality provided by PDFBox that I'm overlooking here that may help me with the task at hand (particularly anything that might allow me to generalize simple case I described above).

Jacob MacWilliams


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to