Jump to content
We've recently updated our Privacy Statement, available here ×

Interactive Report Forms


olu_guy

Recommended Posts

Hi all,

 

I have designed forms (for filing e.g. application forms) with jasper reports and iReport in various formats PDFs and Excel and they all work fine. The forms will have to be printed for it to be filled in.

 

Now there is a slight change in requirements, the forms when exported must be interactive (i.e. they can be fillied in electronically), the WORD version comes out fine and can be filled (though not through normal interactive form fields but it provides text drawings that can be edited) but the PDF version comes uneditable.

 

I want to be able to produce these forms in interactive format, is this possible using jasper reports ? is there a way to specify the textFields in jasperreports to come out in some fashion when exported ?

 

Any ideas will be highly appreciated.

 

Cheers

 

Olu.

Link to comment
Share on other sites

  • 3 weeks later...
  • Replies 10
  • Created
  • Last Reply

Top Posters In This Topic

Hi,

 

I guess PDF files are also editable, but you need a special editor such as Acrobat Professional (not only Acrobat Reader).

PDF documents could also contain forms with editable text fields, but we don't support them in JasperReports.

A custom-made PDF exporter derived from our built-in one could be created though.

You could try it.

 

I hope this helps.

Teodor

Link to comment
Share on other sites

  • 2 years later...
  • 1 month later...

Hi,

 

It is about the JRPdfExporter class, which controls our document export process. But hold on for a moment. We recently enhanced this PDF exporter class so that it can leverage "exporter handlers". This means that you won't have to modify the exporter, but rather implement some "pdf export handlers" in order to determine the PDF exporter to do something you want.

You would write such handlers in order to create editable text fields in the generated PDF.

We plan to do this ourselves in the near future. We want to achieve this using generic elements in the JRXML report template.

Basically, you'd have the chance to put special markers in the JRXML report template (generic elements) in all those places where you want editable fields to appear in PDF. These generic elements or markers will be handled during PDF export by the "pdf export handlers" that we need to write.

 

To put it in short, we would need to achieve for PDF something similar to what we did in the /demo/samples/genericelement sample that we provided with the project. There, we've done it for HTML.

 

The PDF exporters enhancements I mentioned will be shipped with JR 3.5.1 in one or two weeks from now. But if you want to look ahead and try it, take the latest source from SVN.

 

I hope this helps.

Teodor

 

Link to comment
Share on other sites

  • 11 months later...

Is this capability available yet? Does is permit fillable fields in the generated PDF?

"Basically, you'd have the chance to put special markers in the JRXML report template (generic elements) in all those places where you want editable fields to appear in PDF. "

Thanks.

Link to comment
Share on other sites

  • 1 year later...
  • 3 years later...
  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...