|How to do rich, printable, dynamic forms [message #444572]
||Fri, 15 October 2004 08:29
Originally posted by: yuraukar.hotmail.com|
I am trying to create an application that has rich, printable, dynamic
(or user-customizable) forms.
Rich, because forms should contain edit boxes, combo-boxes and perhaps
other controls, text with different fonts, images and a flexible layout.
Printable, which means that the content should be printable with proper
page breaks, headers and footers. If possible, conversion to pdf would
Dynamic/customizable, as the user might want to change the layout of the
form (add fields, change fonts, colors, ...).
I was unable to find a suitable solution, so here are my ideas. Probably
someone can comment on them:
(a) forms are HTML pages, to display embed internet explorer (or browser
Pro: rich forms would be possible
Con: printing html with proper page breaks is extremly difficult. Adding
header/footer as well. I looked into transforming the HTML to XSLFO and
then use fop, but fop actually isn't very good at page breaks.
Con: little control over the form while displayed in the browser (e.g.
input validation on edit boxes)
(b) forms are HTML pages, to display render them myself with SWT/GEF
Pro: better control over form
Con: can turn out to be very difficult
Con: doesn't solve the printing problem, or I would need to render it
for printing myself as well...
(c) there is XUL for SWT, not sure how rich these forms can get. My
impression is that as the XUL/SWT version didn't change much, this is
not a viable road. Anyone using it?
Con: doesn't solve the priting problem
(d) ... any other ideas ...?
Thanks for feedback
Powered by FUDForum
. Page generated in 0.02080 seconds