Example: Assigning Styles to Shortcut Keys
From Apache OpenOffice Wiki
< Documentation | AOO4 User Guides/Writer Guide | Customizing Writer | Assigning Shortcut Keys
Revision as of 09:49, 12 October 2025 by DiGro (talk | contribs) (→Example: Assigning Styles to Shortcut Keys)
Example: Assigning Styles to Shortcut Keys
You can configure shortcut keys to quickly assign styles in your document. Some shortcuts are predefined, such as Ctrl + 0 for the Text body paragraph style, Ctrl + 1 for the Heading 1 style and Ctrl + 2 for Heading 2. You can modify these shortcuts and create your own.
- Click Tools → Customize → Keyboard. The Keyboard tab of the Customize dialog box (Figure 7) opens.
- To have the shortcut key assignment available only for Writer, select Writer in the upper right corner of the tab; otherwise select OpenOffice to make it available to every component.
- Choose the shortcut keys you want to assign a style to. In this example, we have selected Ctrl + 9 .
- In the Functions section at the bottom of the dialog box, scroll down in the Category list to Styles. Click the + sign to expand the list of styles.
- Choose the category of style. (This example uses a paragraph style, but you can also choose character styles and others.) The Function list will display the names of the available styles for the selected category. The example shows some predefined styles.
- To assign Ctrl + 9 to be the shortcut key combination for the List 1 style, select List 1 in the Function list, and then click Modify . Ctrl+9 now appears in the Keys list on the right, and List 1 appears next to Ctrl+9 in the Shortcut keys box at the top.
- Make any other required changes, and then click OK to save these settings and close the dialog box.