There's a built-in Keystroke event for fields that you can use... It's not something specific to PDFBox, it's a feature of the PDF specification, but you can certainly apply it using PDFBox.
On Tue, Mar 4, 2014 at 6:06 AM, Madhujith Kariyapperuma < [email protected]> wrote: > Hi all, > > I want to check the feasibility of handling events in a editable > existing PDF file using Apache PDFBox. In that case, I need to handle > keyboard events (specially "press enter key" event). For an example, > if user type his name in a text field and press enter key in key > board, this event should be tracked. > > Are there any methods to support this task in PDFbox API?. If yes, is > there any example resource (code) for that task? > > Thank you! > > Regards, > Madhujith Kariyapperuma > University of Colombo >

