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

List:       koffice-devel
Subject:    Re: Patch for KIllustrator and KWord (XIM)
From:       Toshitaka Fujioka <toshitaka () kde ! gr ! jp>
Date:       2001-07-12 16:03:31
[Download RAW message or body]

On Thursday 12 July 2001 20:08, David Faure wrote:
> On Thursday 12 July 2001 13:11, Toshitaka Fujioka wrote:
> > Hello,
> >
> > These patches can let XIM work in KIllustrator and KWord . XIM completely
> > work. ;)
> > I hope that this patch is adopted for every XIM user using KIllustrator
> > and KWord.
> > Please review.
>
> Cool, it's very small in addition (especially the KWord one).
>
> By curiosity, why does it have to be the "GUI" widget (the one with the
> rulers). 

see http://www.kde.gr.jp/~toshitaka/Kde/KOffice/KWord/xim.png
Japanese put alphabet (a-z) together after letting XIM start and input
Japanese. (called the Roman alphabet input)
This special widget is necessary by all means to input Japanese.
Some thing of free license (e.g. kinput) and commercial license (e.g. ATOK X)
exist in XIM.

>Doesn't it work as well if you set it in KWCanvas ?

Hmm, Yes, it is possible. But, code increases and hard to understand.
It is the best to write in "KWTextFrameSet::drawCursor(...)".
Because, XIM must be always displayed by cursor position.

> What's the reason for the +30, +20 ? Would it be due to the rulers ?

Perhaps...  "cPoint.x()+30" and "cPoint.y()+20+h" is true cursor position
of x and y.

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. ;-)) --   
  

_______________________________________________
Koffice-devel mailing list
Koffice-devel@master.kde.org
http://master.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