[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-ui-dev] Print Preview / Page Setup dialogs
|
Randy,
SWT provides PrinterDialog, which is the standard OS dialog for choosing a
printer and setting its options, including orientation . Some
applications add application-specific pages to this dialog, but this is
not currently supported in SWT. This does not address
application-specific page layout settings as usually shown in a Page
Setup... dialog. Nor does it address what typically goes into a Print
Preview dialog. I agree that there are common elements to both of these,
and it would be nice if Eclipse provided such support (whether at the SWT
level or the Workbench level).
However, the Eclipse team does not have any planned work in this area (see
the R3.0 plan at
http://www.eclipse.org/eclipse/development/eclipse_project_plan_3_0.html),
nor do we have the resources to address this without impacting on other
planned items.
If you would like to contribute something in this area to Eclipse, we can
work together to define its requirements. Otherwise, please enter feature
requests in Bugzilla.
Regards,
Nick
Randy Hudson/Raleigh/IBM@IBMUS
Sent by: platform-ui-dev-admin@xxxxxxxxxxx
06/16/2003 01:18 PM
Please respond to platform-ui-dev
To: platform-ui-dev@xxxxxxxxxxx
cc:
Subject: [platform-ui-dev] Print Preview / Page Setup
dialogs
We have a requirement to provide a print preview dialog. This dialog
would show you a representation of a piece of paper with a thumbnail of
the printed contents on it. The thumbnail portion is application
specific, but I was wondering if options such as print margin, page
orientation, etc., could be provided by JFace or SWT?
How is it possible to do things like change the print orientation
(landscape/portrait), duplex printing, etc. One way is just to have a
button labeled "properties", which invokes the native Printer properties
dialog. But I think this dialog is missing from SWT.
Many applications have two separate actions from the File menu: Print, and
Page Setup. Setup would allow you to change orientation and print margins,
and maybe other options such as printing source code using 2 columns ala
enscript on Unix. I'm thinking that the Page Setup dialog would be
non-native, and that maybe the workbench could provide a framework for
this.
If you want to volley your response to the SWT mailing list, I'm
subscribed.