[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Print orientation - setting of print dialog
From:       David Faure <david () mandrakesoft ! com>
Date:       2002-04-30 6:34:24
[Download RAW message or body]

On Monday 29 April 2002 23:19, Philipp Müller wrote:
> Am Montag, 29. April 2002 10:20 schrieb Philipp Müller:
> > My problem now is, that I cannot get the settings of this user defined
> > printout option within view->print().

> "The quick fix is: create your QPainter
> before asking something to KPrinter object. Why? because it triggers a
> synchronization between the internal QPrinter, the current option set and
> the options set in the print dialog. I could trigger it when closing the
> print dialog, but it breaks khtml then. The correct use of KPrinter is:
> - set everything you want in KPrinter BEFORE calling the print dialog
> - get anything you want from KPrinter AFTER creating the QPainter (or
>   alternatively, call KPrinter::preparePrinting())."

Ah, ok. I think KWord & KPresenter do this correctly already.

> > Later I can include some code in KPresenter to react on the user settings.
> 
> Should I do this? KWord too?

If there's something that isn't done, yes, please ;)
I'm quite sure I saw code for landscape printing in KPresenter though
(is this about landscape?)

> Still open for discussion:
> > Just as a question in this area (style guide):
> > Should the user settings in the print dialog be temporary or have to be
> > applied to the document settings?
> > I'm for temporary, as all documents have the possibility to have different
> > orientations by page/chapter/sheet.

I agree.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KDE, Making The Future of Computing Available Today


_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic