--------------Boundary-00=_8ICZ0L3TKBPR8T4KJEVS Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit On Tuesday 24 July 2001 00:49, David Faure wrote: > On Mon, Jul 23, 2001 at 09:11:44PM +0900, Toshitaka Fujioka wrote: > > Hello, > > > > These patches let "TK... icon" reflect current "Text Color", "Background > > Color". > > Thanks. Just one thing: in KWord there is a much simpler way. > Remove the KWCanvas stuff, and simply use m_doc->getFirstSelectedFrame() > (IIRC), and then you can call settingsFrame and getBackgroundColor > (no need for a loop either). Oh, works fine. Thank you for advice. I attached patch. Please review. > > There isn't "Border Color". Because cell or paragraph may include four > > different color. > > Yes, indeed. That's the problem. I don't have a good idea. :( Thank you. -- Toshitaka Fujioka http://www.kde.org The K Desktop Environment Project fujioka@kde.org http://www.kde.gr.jp Japan KDE User's Group toshitaka@kde.gr.jp -- We offer the best Desktop Environment to you. (This is my goal. ;-)) -- --------------Boundary-00=_8ICZ0L3TKBPR8T4KJEVS Content-Type: text/x-diff; charset="iso-8859-1"; name="koffice-kword-bugfix-reflectColorInToolBar-20010724.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="koffice-kword-bugfix-reflectColorInToolBar-20010724.diff" SW5kZXg6IGt3dmlldy5jYwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvaG9tZS9rZGUva29mZmljZS9r d29yZC9rd3ZpZXcuY2MsdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMzUxCmRpZmYgLXUgLTMgLWQg LXAgLXIxLjM1MSBrd3ZpZXcuY2MKLS0tIGt3dmlldy5jYwkyMDAxLzA3LzIxIDA4OjIyOjM2CTEu MzUxCisrKyBrd3ZpZXcuY2MJMjAwMS8wNy8yNCAxMzoyOTozNwpAQCAtMzI4Niw2ICszMjg2LDEw IEBAIHZvaWQgS1dWaWV3OjpmcmFtZVNlbGVjdGVkQ2hhbmdlZCgpCiAgICAgICAgIH0KICAgICB9 CiAgICAgYWN0aW9uQmFja2dyb3VuZENvbG9yLT5zZXRFbmFibGVkKCBmcmFtZURpZmZlcmVudE9m UGFydCApOworICAgIGlmICggZnJhbWVEaWZmZXJlbnRPZlBhcnQgKSB7CisgICAgICAgIEtXRnJh bWUgKmZyYW1lID0gbV9kb2MtPmdldEZpcnN0U2VsZWN0ZWRGcmFtZSgpOworICAgICAgICBhY3Rp b25CYWNrZ3JvdW5kQ29sb3ItPnNldEN1cnJlbnRDb2xvciggZnJhbWUtPmdldEJhY2tncm91bmRD b2xvcigpLmNvbG9yKCkgKTsKKyAgICB9CiAKICAgICBhY3Rpb25FZGl0Q29weS0+c2V0RW5hYmxl ZCggbmJGcmFtZSA+PSAxICk7CiAK --------------Boundary-00=_8ICZ0L3TKBPR8T4KJEVS-- _______________________________________________ Koffice-devel mailing list Koffice-devel@master.kde.org http://master.kde.org/mailman/listinfo/koffice-devel