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

List:       koffice-devel
Subject:    patch: hyperlink in kspread
From:       Ariya Hidayat <ariya () kde ! org>
Date:       2003-10-30 22:24:49
[Download RAW message or body]

Hyperlink in KSpread exhibits several problem, as it's based using the
rather-broken rich text implementation (see e.g bug #66214 and #65501).
This one-line patch will fix the overlapping cell problem.

As for the flicker problem, I'm still hunting the possible flicker by 
the QSimpleRichText::draw in Qt. Any hints would be appreciated.


Best regards,

Ariya Hidayat
http://ariya.pandu.org






["link.patch" (text/plain)]

--- kspread_cell.cc.orig	2003-10-31 07:21:00.000000000 +0100
+++ kspread_cell.cc	2003-10-31 07:22:35.000000000 +0100
@@ -830,7 +830,7 @@ void KSpreadCell::makeLayout( QPainter &
             m_dExtraWidth = max_width;
         }
         // Occupy the needed extra cells in vertical direction
-        double max_height = dblHeight( 0 );
+        double max_height = dblHeight( _row );
         int r = _row;
         ende = ( max_height >= h );
         for( r = _row + 1; !ende && r < _row + 500; ++r )





_______________________________________________
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