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

List:       kde-pim
Subject:    Re: [Kde-pim] Printing Code in kaddressbook
From:       Anders Lund <anders () alweb ! dk>
Date:       2002-05-18 14:36:58
[Download RAW message or body]

On Saturday 18 May 2002 15:47, Mirko Boehm wrote:
> On Saturday 18 May 2002 08:57, Anders Lund wrote:
> > On Sunday 19 May 2002 03:04, Mirko Boehm wrote:
> > As the new printing code does not compile, I can't see it in action.
>
> It does, ..., read my other mail.
>
> > However, I think that printing should be implemented by the views, so
> > that I can get a print of what I am viewing in the window. When I create
> > a view, I select the style, fields and eventually filters that I want to
> > see, and for example the card view implements the nice option of hiding
> > empty fields
>
> This is not a hundred percent logical. Who knows that when I have the
> business card view selected I also want to print in business card style?

That is of cause right, but in general, hitting a Print action should print 
the main contents of the window. I absolutely don't disagree to the idear of 
making that changable, I just stress that printing the current view should be 
the default choice.

Often, I guess the font size and possibly background will have to be different 
for printing.

> That is why there is a distinction between view styles and print styles.
>
> This does not mean that views may not provide a print style. See, for
> example, the detailled view stuff. It uses a painting method for displaying
> the view that is also used for printing. So, in some way, the view does
> provide it's own printing style, too. This way it is easy to create both, a
> view style and a print style, based on the same painting code.
>
> Creating a print style from some existing painting code is a matter of an
> hour, I think.

Well, there are different problems with printing, for example the need to 
ensure that no data is obscured (using elipsis like 
"email add...: john.doe@ho..." is not nice for printing. Mikes style s an 
example, as it obscures strings. For table style views, this often results in 
prints spreading horizintally over more pages. So it is not that easy, 
unfortunately.

Anyway, just addressing the printing situation is a step forwards, so great:)

-anders


_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

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