Difference between revisions of "Documentation/AOO4 User Guides/Writer Guide/Customizing Writer/Assigning Shortcut Keys/Example Assigning Styles to Shortcut Keys"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:Example: Assigning Styles to Shortcut Keys}} {{Documentation/WG4CustWriterTOC |ShowPrevNext=block |PrevPage=Documentation/AOO4_User_Guides/Writer Guide/Customiz...")
 
 
Line 13: Line 13:
 
# 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.
 
# 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.
 
# 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 {{key|Ctrl|9}} to be the shortcut key combination for the List 1 style, select List 1 in the Function list, and then click {{button|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.
+
# To assign {{key|Ctrl|9}} to be the shortcut key combination for the List 1 style, select List 1 in the Function list, and then click {{button|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 {{button|OK}} to save these settings and close the dialog box.
 
# Make any other required changes, and then click {{button|OK}} to save these settings and close the dialog box.
  
 
[[Image:AOO41WG16_007.png|400px|center]]
 
[[Image:AOO41WG16_007.png|400px|center]]
 
<center>''Figure 7: Defining keyboard shortcuts for applying styles''</center>
 
<center>''Figure 7: Defining keyboard shortcuts for applying styles''</center>

Latest revision as of 09:49, 12 October 2025



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.

  1. Click Tools → Customize → Keyboard. The Keyboard tab of the Customize dialog box (Figure 7) opens.
  2. 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.
  3. Choose the shortcut keys you want to assign a style to. In this example, we have selected  Ctrl  +  9 .
  4. 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.
  5. 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.
  6. 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.
  7. Make any other required changes, and then click  OK  to save these settings and close the dialog box.
AOO41WG16 007.png
Figure 7: Defining keyboard shortcuts for applying styles
Personal tools