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

List:       koffice-devel
Subject:    Re: KSpread bugs: Painting done, next is Printing
From:       David Faure <faure () kde ! org>
Date:       2005-04-27 21:42:07
Message-ID: 200504272342.08259.faure () kde ! org
[Download RAW message or body]

On Wednesday 27 April 2005 23:14, Inge Wallin wrote:
> Hi guys,
> 
> I just fixed the last one of the painting bugs in KSpread that I had marked as 
> important.  Could you please help me with the printing bugs?  We need to fix 
> those, and I am not that familiar with the printing stuff in KDE...
> 
> One thing that I would like to know is if there is a plugin for QPainter that 
> can act as a printer (KSpread does make some different painting to the 
> printer and to the screen), record the operations that are done with it, and 
> then print it in a human readable format. 

You could write a QPaintDevice which doesn't paint anything but simply
prints out debug output for each command. It will be a little bit tedious to
write though.

Another possibility is to just trigger the printer code when painting on screen,
to see what it looks like? :-)

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://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