Customizing Apache OpenOffice
This is Chapter 14 of Getting Started with OpenOffice.org 3.x, produced by the OOoAuthors group. A PDF of this chapter is available from this wiki page. The PDFs are up to date for the second edition of the book, but not all of the wiki pages for this chapter have been updated yet.
This Appendix describes some common customizations that you may wish to do.
You can customize menus, toolbars, and keyboard shortcuts in OpenOffice.org, add new menus and toolbars, and assign macros to events. However, you cannot customize context (right-click) menus.
Other customizations are made easy by extensions that you can install from the OpenOffice.org website or from other providers.
|Customizations to menus and toolbars can be saved in a template. To do so, first save them in a document and then save the document as a template as described in Chapter 3 (Styles and Templates).|
In addition to changing the menu font (described in Chapter 2), you can add and rearrange items on the menu bar, add items to menus, and make other changes.
To customize menus:
- Choose Tools > Customize.
- On the Customize dialog, pick the Menus page.
- In the Save In drop-down list, choose whether to save this changed menu for the application (for example, Writer) or for a selected document.
- In the section OpenOffice.org < name of the program (example: Writer) > Menus, select from the Menu drop-down list the menu that you want to customize. The list includes all the main menus as well as sub-menus, that is menus that are contained under another menu. For example, in addition to File, Edit, View, and so on, there is File | Send and File | Templates. The commands available for the selected menu are shown in the central part of the dialog.
- To customize the selected menu, click on the Menu or Modify buttons. You can also add commands to a menu by clicking on the Add button. These actions are described in the following sections. Use the up and down arrows next to the Entries list to move the selected menu item to a different position.
- When you have finished making all your changes, click OK to save them.
In the Customize dialog, click New to display the dialog shown below.
- Type a name for your new menu in the Menu name box.
- Use the up and down arrow buttons to move the new menu into the required position on the menu bar.
- Click OK to save.
The new menu now appears on the list of menus in the Customize dialog. (It will appear on the menu bar itself after you save your customizations.)
After creating a new menu, you need to add some commands to it, as described in Adding a command to a menu.
To modify an existing menu, select it in the Menu list and click the Menu button to drop down a list of modifications: Move, Rename, Delete. Not all of these modifications can be applied to all the entries in the Menu list. For example, Rename and Delete are not available for the supplied menus.
To move a menu (such as File), choose Menu > Move. A dialog similar to the one shown above (but without the Menu name box) opens. Use the up and down arrow buttons to move the menu into the required position.
To move submenus (such as File | Send), select the main menu (File) in the Menu list and then, in the Menu Content section of the dialog, select the submenu (Send) in the Entries list and use the arrow keys to move it up or down in the sequence. Submenus are easily identified in the Entries list by a small black triangle on the right hand side of the name.
In addition to renaming, you can specify a keyboard shortcut that allows you to select a menu command when you press Alt+ an underlined letter in a menu command.
- Select a menu or menu entry.
- Click the Menu button and select Rename.
- Add a tilde (~) in front of the letter that you want to use as an accelerator. For example, to select the Save All command by pressing Alt+V, enter Sa~ve All.
You can add commands to the supplied menus and to menus you have created. On the Customize dialog, select the menu in the Menu list and click the Add button in the Menu Content section of the dialog.
On the Add Commands dialog, select a category and then the command, and click Add. The dialog remains open, so you can select several commands. When you have finished adding commands, click Close. Back on the Customize dialog, you can use the up and down arrow buttons to arrange the commands in your preferred sequence.
In addition to changing the sequence of entries on a menu or submenu, you can add submenus, rename or delete the entries, and add group separators.
To begin, select the menu or submenu in the Menu list near the top of the Customize page, then select the entry in the Entries list under Menu Content. Click the Modify button and choose the required action from the drop-down list of actions.
Most of the actions should be self-explanatory. Begin a group adds a separator line after the highlighted entry.
|Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).|