[dev] OpenOffice Writer events

2005-08-20 Thread Pam Z
 Hi,
I have to develop a java plugin linked to OpenOffice Writer that can monitor
high level events thrown by the writer, such as Save button clicked, File
menù clicked (or similar, I don't know the real high level sintax of the
event) and so on.
Could you tell me what should I do to make this java component?
Thanks!
Pam




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



Re: [dev] OpenOffice Writer events

2005-08-20 Thread CPHennessy
On Saturday 20 August 2005 14:43, Pam Z wrote:
  Hi,
 I have to develop a java plugin linked to OpenOffice Writer that can
 monitor high level events thrown by the writer, such as Save button
 clicked, File men� clicked (or similar, I don't know the real high
 level sintax of the event) and so on.
 Could you tell me what should I do to make this java component?
 Thanks!

Start by having a look at the documents available on 
http://api.openoffice.org.

Also note that there are several examples in java of what you are looking for. 
Please ask API usage questions on dev@api.openoffice.org
-- 
CPH : openoffice.org contributor

Maybe your question has been answered already?
http://user-faq.openoffice.org/#FAQ

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



Re: [dev] registration for developers

2005-08-20 Thread CPHennessy
On Monday 01 August 2005 17:18, Nebiyou Zecharias wrote:
 # Who you are;
 I am Nebiyou Zecharias from Ewan Technology Solutions in Eritrea, East
 Africa. I've been working on server-side linux for a long time now and am
 one of the advocators of open source in eritrea.
  A few words on your background;
 I studied in Electrical Engineering in the university of Asmara and
 currently i am working at Ewan as a systems Engineer, developing software
 and small application for small and medium sized businesses.
 #   Your interest in OpenOffice.org;
 I am really interested in OpenOffice as i think is the best tool we need in
 our country to substitute Propreitary software. The bigggest problem we
 have is that most of the things in this country is done using Microsoft
 Word and While trying to introduce OpenOffice in government offices, we
 found out that without our local language, nothing is possible.
 #   What you would like to see happen with OpenOffice.org.
 I'd like open office to have a language for Tigrigna(or Geez alphabets)or
 just for the word processing.
 Being a programmer i am working on it and would appreciate any help from
 anyone.

As you are not subscribed you may not have seen that:
On Thursday 04 August 2005 22:48, Mathias Bauer wrote:
 Hi,

 It's great that another language will join the growing OpenOffice.org
 family. I think you can get the best help if register to the
 Localization project:

 http://l10n.openoffice.org/

 You also can send a message to the

 dev@native-lang.openoffice.org

 mailing list to get in touch with the worldwide native language community.

Please reply to dev@openoffice.org only.


-- 
CPH : openoffice.org contributor

Maybe your question has been answered already?
http://user-faq.openoffice.org/#FAQ

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



Re: [dev] OpenOffice Writer events

2005-08-20 Thread Christian Junker
If you want to catch all possible events you can integrate a
DispatchInterceptor as a UNO component into the office (good if you
want to control *everything* that happens in the office).
If you are only interested in certain events, take a look at all
interfaces containing the substring handler or listener in the UNO
IDL reference.
The generic events of an object, in this case a textdocument (the
currently active document) can be received like this in SB (similiar
code in Java, you just need to write more lines because of querying
the correct interfaces):
code
Sub PossibleEvents( )
 Dim eventnames() as String
 Dim i as Integer
 
 events = thisComponent.getEvents()
 eventnames = events.getElementNames()
 For i = 0 to UBound(eventnames)
msgbox eventnames(i)
 Next i 
End Sub
/code

For all further things consult the Developer's Guide on
api.openoffice.org or write to the dev@api.openoffice.org mailinglist
as cphennesy suggested.

2005/8/20, Pam Z [EMAIL PROTECTED]:
  Hi,
 I have to develop a java plugin linked to OpenOffice Writer that can monitor
 high level events thrown by the writer, such as Save button clicked, File
 menù clicked (or similar, I don't know the real high level sintax of the
 event) and so on.
 Could you tell me what should I do to make this java component?
 Thanks!
 Pam
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
Best Regards
Christian Junker

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