OpenOffice.org OpenOffice - 3.0 Quick Start Guide Page 387

  • Download
  • Add to my manuals
  • Print
  • Page
    / 433
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 386
Toolbar
Macros can be added to toolbars. For more about modifying toolbars,
see Chapter 14 (Customizing OpenOffice.org).
Menu item
Use Tools > Customize to open the Customize dialog, and select the
Menus tab. You can modify an existing menu, or create new menus that
call macros. For more about modifying menus, see Chapter 14.
Keyboard shortcuts
Use Tools > Customize to open the Customize dialog, and select the
Keyboard tab. Assigning keyboard shortcuts is discussed in Chapter 14.
Event
In OpenOffice.org, when something happens, we say that an event
occurred. For example, a document was opened, a key was pressed, or
the mouse moved. OpenOffice.org allows events to cause a macro to be
called; the macro is then called an event handler. Full coverage of
event handlers is well beyond the scope of this document, but a little
knowledge can accomplish much.
Caution
Be careful when you configure an event handler. For
example, assume that you write an event handler that is
called every time that a key is pressed, but you make a
mistake so the event is not properly handled. One possible
result is that your event handler will consume all key
presses, forcing you to forcibly terminate OpenOffice.org.
Use Tools > Customize to open the Customize dialog, and select the
Events tab (see Figure 325). The events in the Customize dialog are
related to the entire application and specific documents. Use the Save
In box to choose OpenOffice.org, or a specific document.
Chapter 13 Getting Started with Macros 387
Page view 386
1 2 ... 382 383 384 385 386 387 388 389 390 391 392 ... 432 433

Comments to this Manuals

No comments