|
NeoOffice Launch Shortcuts
From NeoWiki
There are several methods which allow you to launch NeoOffice into a particular application rather than into Writer.
Contents |
Launch Shortcuts
made a template file for each of the components that make up NeoOffice and OpenOffice.org. By selecting the template, you'll launch NeoOffice into that component (provided NeoOffice is default application for those filetypes; if not, just make NeoOffice the default for each of these files). You can stick them in your Dock for one-click launching of the desired component.
The files can be found here:
http://neo-downloads.sixthcrusade.com/neoofficeshortcuts_en.zip
http://neo-downloads.sixthcrusade.com/neoofficeshortcuts_de.zip
This is especially helpful for NeoOffice 1.2 and above, which open to a blank Writer document.
You can also create your own template that has all of your normal document settings and use that file in the same manner as these launch shortcuts.
More information:
http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=445
Stub Applications:
You can also download a set of stub applications for each of the different components from http://www.toonetown.com/projects/downloads/NeoOfficeApps.zip. These stubs only work with the 2.0+ releases of NeoOffice for PPC.
Once unzipped, you need to place the applications from the NeoOfficeApps folder inside your /Applications folder (or wherever NeoOffice is installed).
You can then use those applications as if they were stand-alone applications (put them in the Dock, drop files onto them, etc.).
They use the OpenOffice.org icon set because corresponding icons for NeoOffice do not exist.
N.B. There are some limitations to what the stub applications can do; see the discussion in this and following posts on trinity.
Macros
NeoOffice macro and database wizard fabrizio offered the following macro to launch NeoOffice into a particular application.
You can easily change which application is loaded on launch with a macro. For example my NeoOffice 1.2 starts opening the database forms using this macro:
sub apri_documento dim oFrame as object dim Doc as Object dim Url as String oFrame = ThisComponent.getCurrentController().getFrame() dim leggo(0) as New com.sun.star.beans.PropertyValue url="file:///Users/fabrizio/Desktop/Archivio/form database/eventi.sdw" leggo(0).Name="ReadOnly" leggo(0).Value=TRUE Doc = oFrame.loadComponentFromUrl(Url, "", 2, leggo()) end sub
You can change the macro, and after you have everything configured, choose Customize (Configure in NeoOffice 1.2) from the Tools menu; then go to the "Events" tab and link the macro to the "Start Application" event.
References
Thread on trinity discussing this macro.