<div><p>
Hi Meeks,</p>
<p>
<span id="result_box" lang="en"><span class="hps">Thank you very much</span> <span class="hps">to provide</span> <span class="hps">information that</span> <span class="hps">makes sense</span> <span class="hps">for</span> <span class="hps">our work</span></span>. <span id="result_box" lang="en"><span class="hps"> </span></span></p>
<p>
<span lang="en"><span class="hps"> I</span> <span class="hps">suspect that</span> <span class="hps">the</span> <span class="hps">browser</span> <span class="hps">may support</span> <span class="hps">IME,</span> <span class="hps">just</span> <span class="hps">after switching</span> <span class="hps">Chinese</span> <span lang="en"><span class="hps">input</span></span> <span class="hps">do not know</span> <span class="hps">how to obtain the</span> <span class="hps">return</span> <span class="hps">of the</span> <span class="hps">unicode</span> <span class="hps">code</span><span>.</span></span></p>
<p>
<span id="result_box" lang="en"><span class="hps"> I</span> <span class="hps">imagine</span> <span class="hps">"Map.Keyboard.js"</span><span> is the implementation of</span> <span class="hps">the event</span> for <span class="hps">the English</span>/Western char <span class="hps">input</span><span>.</span> </span></p>
<p>
<span lang="en"><span class="hps"> If I</span> <span class="hps">understand correctly,</span> <span class="hps">you mean</span> <span class="hps">unoKeyCode</span> <span class="hps">likely to receive</span> <span class="hps">Chinese</span> <span class="hps">input</span> <span class="hps">return code.</span> <span class="hps">In this section we</span> <span class="hps">want to hear your</span> <span class="hps">further guidance.</span></span></p>
<p>
<span lang="en"><span class="hps"> We hope our</span> <span class="hps">efforts</span> <span class="hps">can</span> <span class="hps">bring some</span> <span class="hps">convenience</span> <span class="hps">to people's lives.</span></span></p>
<p>
</p>
<div>
<p>
Best regards,</p>
<p>
Xipeng Song</p>
</div>
<p>
</p>
<p>
</p>
<p>
在 2016-03-09, Wed, 00:28:15 ,Michael Meeks 写到:</p>
<pre>
Hi there,
On Tue, 2016-03-01 at 15:57 +0800, xipeng wrote:
> I am the company's on going development of online office, selected
> Collabora Online open source framework, but does not support Chinese
> input in the source code, we want to achieve this part.
Ah - indeed =)
> We hope you can give some suggestions, such as implementation, what
> position in the original frame to add or code, etc.
Certainly; so the code is here:
https://gerrit.libreoffice.org/gitweb?p=online.git;a=summary
And I imagine this is a rather interesting problem; personally I'm no
export in IME support in browsers; but the key handling (just had a
quick skim and found: src/map/handler/Map.Keyboard.js) seems to be based
on UNO keycodes.
I imagine for an IME we will need at a minimum to expose an "insert
unicode string" method at the LOK / server side.
Does that make some sense ?
ATB,
Michael.
--
michael.meeks@collabora.com <><, Pseudo Engineer, itinerant idiot
</pre>
</div>