Hi Tuomas, if you mean a macro as a programmable piece to attach to a document, then this is not possible in pure Java. Macros are usually written in a scripting language like Starbasic (JavaScript, Python etc. for 2.0 are also available). However, Java programs for OOo are usually distributed as UNO packages, please see the Developer's Guide on api.openoffice.org .
2006/3/4, Tuomas Räsänen <[EMAIL PROTECTED]>: > Is it possible to write macros with java? And is it possible to > programmatically disable commands and hide toolbars when > template-file(macro) is loaded? Thank you. > > --------------------------------------------------------------------- > 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]
