pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhujith Kariyapperuma <madhujit...@gmail.com>
Subject Re: Check the feasibility of event handling on form fields
Date Tue, 04 Mar 2014 10:15:56 GMT
Thank you very much for your attention,

But in Java Swing there are methods like "actionPerformed" that fires
when the action is performed according to the event. But I couldn't
find such methods in PDFBox to perform that kind of tasks. Could you
please give me any directions for that?

Thank you!

Regards,
Madhujith Kariyapperuma

On Tue, Mar 4, 2014 at 2:32 PM, Gilad Denneboom
<gilad.denneboom@gmail.com> wrote:
> 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 <
> madhujithac@gmail.com> 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
>>

Mime
View raw message