You can't invent your own events. You can only use those specified in the
PDF specs and implemented in PDFBox...


On Tue, Mar 4, 2014 at 7:29 PM, Madhujith Kariyapperuma <
[email protected]> wrote:

> Actually, what I want to point out is that I want to perform event
> handling in PDF form fields just like we do in GUI form.
>
> Then what I want to know is that how I perform it using java and PDFBox?
>
> On Tue, Mar 4, 2014 at 6:11 PM, Gilad Denneboom
> <[email protected]> wrote:
> > What does Java Swing has to do with PDF files? The two technologies are
> > very different.
> >
> >
> > On Tue, Mar 4, 2014 at 12:15 PM, Madhujith Kariyapperuma <
> > [email protected]> wrote:
> >
> >> 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
> >> <[email protected]> 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 <
> >> > [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
> >> >>
> >>
>

Reply via email to