Re: [dev] selected text from the textdocument

2005-11-04 Thread S Sridhar

thanks Christoph and Andrew!!

  I am writing this in Java.. though i have little succcess after reading 
the documentation from andrew and samples ... But I am looking for some help 
on java.
Are there any help/open source tools to better understand the text 
documents.  Somehow UNO learning is taking longer time...  any help on this 
is greatly appreciated


thanks
Sridhar



From: Andrew Douglas Pitonyak <[EMAIL PROTECTED]>
Reply-To: dev@openoffice.org
To: dev@openoffice.org
Subject: Re: [dev] selected text from the textdocument
Date: Fri, 04 Nov 2005 09:02:28 -0500

S Sridhar wrote:


Hi,
How to get the selected text from the TextDocument.

Is there any way to get the selected text from all the components of the 
TextDocuments like TextTables Drawings and others?  also how to identify 
where the selected component is ? like is the selected text is in the 
texttable and drawing?


thanks
Sridhar


Download my free macro document and search for "selected text"

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.sxw
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info:  http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html


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





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



[dev] selected text from the textdocument

2005-11-03 Thread S Sridhar

Hi,
How to get the selected text from the TextDocument.

Is there any way to get the selected text from all the components of the 
TextDocuments like TextTables Drawings and others?  also how to identify 
where the selected component is ? like is the selected text is in the 
texttable and drawing?


thanks
Sridhar



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



[dev] enabling System.out

2005-11-03 Thread S Sridhar

Hi,
i am just trying to  develop an add-on component. how can i enable the 
system.out or system.err messages


please help
thanks
Sridhar



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



[dev] reference/handle to a currently opened document

2005-11-01 Thread S Sridhar

Hi,
   I am writing an Add-on Component which works on the selecyed text of a 
document. Could some one on this list please help me in
1)How to access the currently opened document. any code snippet will be of 
great help.


2) How to enable the System.out and System.err messages. Where should i set 
the options for enabling these streams...


thanks
Sridhar



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



[dev] new Bie Add-on question

2005-10-17 Thread S Sridhar
Hi, I am just started looking into open office to add some international 
text processing  capabilities.


Could you please let me know a tutorial or a small document on how to write 
the "hello World" add-on.



I looked into dev guide 
(DevelopersGuide/Components/Components.htm#1+7+3+Add-Ons) but it hasnt given 
the way to write the handlers for these menu and toolbar actions...



thanks in Advance
Sridhar



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