From koffice-devel Thu Oct 30 22:24:49 2003 From: Ariya Hidayat Date: Thu, 30 Oct 2003 22:24:49 +0000 To: koffice-devel Subject: patch: hyperlink in kspread X-MARC-Message: https://marc.info/?l=koffice-devel&m=106755268913078 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------050808090009020400090608" This is a multi-part message in MIME format. --------------050808090009020400090608 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 --------------050808090009020400090608 Content-Type: text/plain; name="link.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="link.patch" --- 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 ) --------------050808090009020400090608 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/koffice-devel --------------050808090009020400090608--