I have just commited code to enable the page setup dialog.  Currently the
printing code does not take any notice of those settings, but that won't
take long to fix.  The dialog uses gnome stock buttons if gnome support is
enabled (BTW, should the other dialogs use GnomeDialog if gnome support is
enabled?), and the apply button sensitivity changes when you would expect
it to.  The fit to page button will set the scaling factor to the
appropriate value to fit the whole diagram on a single page.

The settings in the page setup dialog are saved with the diagram as well.
This did not involve any changes to the DTD (it stores all the settings in
a composite attribute under the diagramdata section).

Now I have to get the print code to use these values, work out what
transformations are needed to do landscape printing and look at drawing
page breaks on the display.

Just a reminder for those people who don't want to use dia for stand alone
diagrams, none of this will affect the EPS files that the EPS renderer
produces -- it is mainly for printing support.

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/

Reply via email to