Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to do rich, printable, dynamic forms
How to do rich, printable, dynamic forms [message #444572] Fri, 15 October 2004 08:29
Eclipse UserFriend
Originally posted by:

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
be great.

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

Previous Topic:Capturing the closing event of a window that has SWT components in it
Next Topic:StatusLineManager
Goto Forum:

Current Time: Thu Oct 22 15:50:35 GMT 2020

Powered by FUDForum. Page generated in 0.02080 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top