I programmed PDF form fields into Fop-0.20.1. PDF form fields have an annotation representation in PDF files with the subtype "widget". So I patched the external-link within the renderer code to process form fields. Additionally a PDF fields object had to be added to the PDF stream and a reference to it into the PDF document catalog. So far quite easy.