Joel Cordeiro wrote:
> does anyone could help me about how to get the selected text in the actual
> TextDocument (Writer)? How does we cast the returned object in the method
> getCurrentSelection() ? Or there is another way?
> If possible, a simple example would be really nice..
>   
You could look-up
<http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2008/200809_Frysak/200809_Frysak_Automating_OOo_ooRexx_Nutshells.pdf>,
page 95-98, which demonstrates this. It is based on one of Andrew
Pitonyaks great macros which are written in Basic.

Although in ooRexx, the syntax is easy, such that you probably can get
the gist of it and know how to proceed from skimming over the few lines
of code.

HTH,

---rony



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to