Hi Tabish, > 1. I need to package my java code (which bootstraps openoffice) as > professional application in a sense that I have an icon on the > Desktop/StartMenu through which that java code is executed and it opens up > ooimpress. In a sense it gives a feel that my own application is using > ooimpress within it. Currently I'm using the ant script to run my java > code.
Create a JAR package and make a desktop icon with a commandline like this: java -jar myjar.jar Or (in Windows) create a .bat file and write the commandline above in it. > 2. Is there a way that my UNO Component(Addon) is only activated/visible > when I run ooimpress through my java code and not activated/visible when > ooimpress is run normally without my java code ? I solved it this way: I have a menu that should only be visible if an OOo document is started by my application. So I say my application it should add the menu transient (if this document is closed, my menu is gone). Here is a snippet that does nearly the same: it removes a menu item: http://codesnippets.services.openoffice.org/Office/Office.RemoveIterativeAndTransientMenubarItems.snip If you like this idea, I can post you java code, how you add a menu / menu item to your menu. Greetings, Tobias --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
