Problem in the Getting Index possition in JAVA



Dear Friends

This is the bottleneck i am facing in the program which is not possible
to solve according to my developers.

In the program the user is selecting the TEXT. According to My
developers it is only possilbe in java to get the INDEX for the
selection of TEXT where it start but not for the particular word before
the selection.

Example:

This is Paragraph for testing of the index of selection. Accoding to
the [PARA] developers when i SELECT THE WORD i can [PARA} not get the
possition of the selected word in java in the paragraph.

HERE THE SELECT THE WORD IS SELECTED/ HIGHLIGHTED and i want to know
what is the index for the word [PARA] which is comming just before the
selection of the words

Is it possible .. if yes please send me your valuable remarks.

Your earlier reply would be a great help.

Thanks and best regards
Shal

.



Relevant Pages

  • Re: For Each paragraph in selection when selection discontinuous
    ... funky to the selected text, then process the funky text and while processing ... For Each para In ActiveDocument.Paragraphs ... In a block of three paragraphs, select the first and last paragraph ... the two paragraphs in your selection indent. ...
    (microsoft.public.word.vba.general)
  • Re: Outline level auto-select custom style
    ... I never directly indent the para. ... > click in some place in the paragraph and select the new style. ... If you have selected a whole para with triple click or the selection goes ... "Short" bits of font formatting are preserved, ...
    (microsoft.public.word.formatting.longdocs)
  • Playing with ranges **REPOST**
    ... I'm selecting the text in the paragraph manually....say the paragraph ... the selected text the anchor and inserts text before the anchor which is ... So I can't select the whole para at the start as I'll lose my selection ...
    (microsoft.public.word.vba.general)
  • Re: About Demo Man swear roms?
    ... H-5 has the selection of developers ... This is not the vulgar speech on off selection. ...
    (rec.games.pinball)
  • For Each paragraph in selection when selection discontinuous
    ... In a block of three paragraphs, select the first and last paragraph (do ... the two paragraphs in your selection indent. ... For Each para In Selection.Paragraphs ...
    (microsoft.public.word.vba.general)