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

List:       koffice
Subject:    Patch for kspread
From:       montel laurent <montell () club-internet ! fr>
Date:       2000-09-21 5:38:57
[Download RAW message or body]

Hi,

I fixe a print bug :
-Before at the beginning of a new page, there were grid which are drawn

I added  :
-if( table()->getShowGrid() )
+if( table()->getShowGrid() && !_painter.device()->isExtDev())

So now you can never draw grid when you print.


Could you test it and apply it please.


Thanks 

bye


#If Torben:
How are you ?

I look at that there is a bug in QT when I try to print some pattern :
-Qt::Dense1Pattern draw a black area
-Qt::Dense7Pattern draw a grey area.

there is a problem in Qt::Dense1Pattern to Qt::Dense7Pattern

Other pattern is drawing very well with the good color.

PS: I used to look at postcript file ghostview 3.5.8

Could you look at or send a mail to the good personn please

thanks
bye 

#endif

["patch73.diff" (text/plain)]

? KSpreadCellIface_stub.h
? KSpreadCellIface_stub.cpp
cvs server: Diffing .
Index: kspread_cell.cc
===================================================================
RCS file: /home/kde/koffice/kspread/kspread_cell.cc,v
retrieving revision 1.205
diff -u -p -r1.205 kspread_cell.cc
--- kspread_cell.cc	2000/09/19 22:16:02	1.205
+++ kspread_cell.cc	2000/09/21 05:36:39
@@ -2367,7 +2367,7 @@ void KSpreadCell::paintCell( const QRect
     if ( left_pen.style() == Qt::NoPen &&
          ( !m_pObscuringCell || m_pObscuringCell->column() == _col ) )
     {
-        if( table()->getShowGrid() )
+        if( table()->getShowGrid() && !_painter.device()->isExtDev())
         {
             left_offset = 1;
 
@@ -2388,7 +2388,7 @@ void KSpreadCell::paintCell( const QRect
     if ( top_pen.style() == Qt::NoPen &&
          ( !m_pObscuringCell || m_pObscuringCell->row() == _row ) )
     {
-        if( table()->getShowGrid() )
+        if( table()->getShowGrid() && !_painter.device()->isExtDev())
         {
             top_offset = 1;
 
cvs server: Diffing dtd
cvs server: Diffing extensions
cvs server: Diffing pics
cvs server: Diffing plugins
cvs server: Diffing plugins/calculator
cvs server: Diffing plugins/calculator/pics
cvs server: Diffing scripts
cvs server: Diffing tablestyles
cvs server: Diffing toolbar
cvs server: Diffing toolbar/hicolor
cvs server: Diffing toolbar/locolor


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

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