OpenOffice.org OpenOffice - 3.2 Guía de inicio rápido Pagina 390

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 442
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 389
as you learn more. Learning to read generated macros is a good place
to start.
If you record Calc macros, and the recorder can correctly generate a
macro, there is an add-in created by Paolo Mantovani, which converts
Calc macros when they are recorded. The final code manipulates
OpenOffice.org objects rather than generating dispatches. This can be
very useful for learning the object model.
You can download the macro recorder from Paolo’s web site directly or
from the OOo Macros web site. You should check both places to see
which contains the latest version.
http://www.paolo-mantovani.org/downloads/ DispatchToApiRecorder/
http://www.ooomacros.org/user.php
Macro organization
In OpenOffice.org, macros are grouped in modules, modules are
grouped in libraries, and libraries are grouped in library containers. A
library is usually used as a major grouping for either an entire
category of macros, or for an entire application. Modules usually split
functionality, such as user interaction and calculations. Individual
macros are subroutines and functions.
Figure 303: Macro Library hierarchy
A computer scientist would use Figure 304 to precisely describe the
situation. The text “1..*” means one or more, and “0..*” means zero or
more. The black triangle means composed of or contains.
390 Getting Started with OpenOffice.org 3.x
Free eBook Edition
Vista de pagina 389
1 2 ... 385 386 387 388 389 390 391 392 393 394 395 ... 441 442

Comentarios a estos manuales

Sin comentarios