Re: [ui-dev] Q: How to implement XAccessibleText interface in formula editor ?



I'd pretty much go with what Peter said --in addition to introducing a
separate API call that gets the symbolic name --

with respect to the MathML returning API:

You'd like to have the following characteristics:

0) ability to query for the MathML representation of the current
   cursor position (whatever that is:-)-- 

1) the ability to navigate the MathML tree from that position --

 the above is is specific to your question about subscript and
 superscript.
Consider the expression (written using TeX notation which is
 unambiguous  --rather than using ascii graphics--

x+y^\frac{k+1}{2}

when you're on the 'k' that appears in the numerator of the fraction
that is in the superscript, you'd want to be able to traverse the math
logical tree --rather than the 2d layout.

-- 
Best Regards,
--raman
------------------------------------------------------------
T. V. Raman:  PhD (Cornell University)
IBM Research: Human Language Technologies
Architect:    Conversational And Multimodal WWW Standards
Phone:        1 (408) 927 2608   T-Line 457-2608
Fax:        1 (408) 927 3012
Email:        tvraman us ibm com
WWW:      http://www.cs.cornell.edu/home/raman
AIM:      TVRaman
PGP:          http://emacspeak.sf.net/raman.asc
Snail:        IBM Almaden Research Center,
              650 Harry Road
              San Jose 95120



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]