Hi, all, Now I'm working for the issue 72022, which deals with the string reconversion. The string reconversion is a specific feature to Japanese, but this is a quite basic for Japanese users. Many Japanese users hope that this feature will be supported by Writer as soon as possible.
This feature can be supported by implementing some codes that properly handles WM_IME_REQUEST message posted by Windows. I've already attached a patch receiving this message in the VCL layer at i72022. However, we have to ovreride GetSurroundingText() and GetSurroundingTextSelection() methods and add a handle of COMMAND_SELECTIONCHANGE in Command() method to process this message completely in every text related widget like Edit class. GetSurroundingText() should return the text of the sentence around the cursor, and GetSurroundingTextSelection() should return the current text selection range in the text returned by GetSurroundingText(). To make reconversion feature complete in Writer, the child class of Window coressponding to Writer application have to be added these two methods and handle of COMmAND_SELECTIONCHANGE. So I'd like to know what widget (a child class of Window) is the Writer application window. I couldn't find it due to the mass of sw project source. Does anyone have any idea or hint? Regards, -- Takashi Nakamoto <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
