--===============0270003537== Content-Type: multipart/signed; boundary="nextPart16680871.0yXtN2qxqQ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart16680871.0yXtN2qxqQ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 09 July 2007 19:35:08 Sebastian Sauer wrote: > On Monday 09 July 2007, Stefan Nikolaus wrote: > > On Monday 09 July 2007 09:05:05 Thomas Zander wrote: [...] > > > Hope that helps. > > > > Yes, except, that my motivation for this task is not very high. But > > that's not your fault. :) > > > > Any volunteer? Sebastian? :) > > So, we have Thomas who would help with the layout and me who would help > with kotext. Guess to get a start we now just need some basic code within > KSpread that shows how this should be integrated (since while I know > KSpread a bit I have no clue what would be the best way here). The text layout/painting is implemented in CellView. The per-character styl= e=20 (QTextFormat?) or whatever else is needed beside the already present text=20 style attributes (font, font size, etc.) should go into Style. Simply add a= =20 key, a getter/setter and extend the compare() method. As already mentioned= =20 the layouted text should be cached in CellView. The in-cell editor is called CellEditor. As we don't support everything the= =20 text shape plugin does, we need a QTextEdit here. Same for the editor above= =20 the canvas, EditWidget. Both are located in ui/Editors.{cpp|h}. > re layout; and I still guess we should move the layout-code or at least > parts of it to kotext since to have n different layouters that are doing > the same just does not sound wise for me. To me also not. However, the layouter seems not to be a big task. Regards, Stefan --nextPart16680871.0yXtN2qxqQ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBGk2jJpfDn2DABIpcRAuMbAKDCDPaw0XM1o87pgfGZrsPI+HCf3wCgqok8 RaICPfA4zoTr88QHryH0mzk= =LeKj -----END PGP SIGNATURE----- --nextPart16680871.0yXtN2qxqQ-- --===============0270003537== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --===============0270003537==--