Posted: Fri Oct 06, 2006 2:50 am Post subject: customize neo office only be able to use Writer, Calc
Thank jakeOSX、jgd、Samwise for the response. Actually, you guys are great! And now,
new theme has arisen,,,,,,
Need to customize neo office only be able to use Writer, Calc and Impress.
If somebody could give me the tip to prevent other application to open from menu (neo office/text document ~ open document, file/new, file/wizard) and command line, I guess I should be able do the rest.
The reason why I am trying to do this is to prevent our workers from opening draw or other application while using Neo office. it is due to my client`s policy, which is to make the system as simple as possible to avoid complication. And also, I am very interested in customizing Neo office and open source stuff for my studying sake. I would appreciate for any tip about this matter. Give me a helping hand, world!!!!!!!!!
Joined: Apr 25, 2006 Posts: 2315 Location: Montpellier, France
Posted: Fri Oct 06, 2006 7:45 am Post subject:
I really doubt you can do this with the command line. You'll probably have to keep a separate build of NeoOffice, and figure out where to change the code (in OpenOffice.org) to hide these things. Considering that it takes 12 (Quad G5) to 36 (G4) hours for a full build/rebuild (required when the OOo codebase changes), and that neither of us know where OOo keeps these things, I really think it's not worth the hassle.
Your workers should be able to open a specific component with the blank templates, even if NeoOffice is already running. Since "NeoOffice Shortcuts" is simply a folder, you can delete the "drawing" template to prevent them from accidentally opening a draw document.
Joined: May 25, 2003 Posts: 4752 Location: Santa Barbara, CA
Posted: Fri Oct 06, 2006 9:44 am Post subject:
I think samwise is correct in that to do it right you'll need to keep a separate build and customize the interface. You might be able to get away with some things without this (e.g. edit the info.plist to remove document types for bindings to the other documents) but the File > New submenu, Dock tile menu, and Apple menu are all dynaically generated from the code and that's the only place where they can be edited. Sorry if that's not the news you were hoping to hear
Another thought might be to try to write some type of macro that runs on the opening of each document and then warning/closing the documents if they're the wrong type? While there would still be UI elements for the other components, they'd never be able to open the documents themselves. I'm not a macro expert so I'm not sure if that is even possible.
Surely the simplest way to achieve your employers' sense of Nirvana (?) might be to create a (very) limited set of stationery models (templates) and fire anyone who doesn't use them? _________________ Ray Saunders
World Scout Bureau
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum