File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Macros in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Macros in Java" Watch "Macros in Java" New topic

Macros in Java

Rajesh Jha

Joined: Sep 12, 2006
Posts: 5

I have an urgent requirement of writing 'Macros' for the 'Open Office' that we are using. And as far as my knowledge goes, 'Open Office' supports only Java Script, VB Script or Java. We are required to write the Macros in Java. Can any one please help me. Any site with relevant information would be very useful.

Thanks in advance
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Welcome to the JavaRanch.

We're a friendly group, but we do require members to have valid display names.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with display names get deleted, often without warning

Originally your display name was valid, now it is not. Please change it back.

Srinivas Kalvala
Ranch Hand

Joined: Oct 20, 2005
Posts: 257


There is nothing like Macro in java. From your requirement, I understood that , you require one program, to kick off an particular action like macro.

With Java one can write:

1) Applications
2) Applets
3) Server Side Listeners ( servlets)
4) EJB ( runs in Ejb container with in App.Server).
5) Stand alone JMS clients
6) Custom Written Servers ( Using Sockets).

you require one bootstrap which will invoke a particular java program, which will act as macro.

More inputs are welcome.
I agree. Here's the link:
subject: Macros in Java
It's not a secret anymore!