Organizar bibliotecas e módulos
Organizar bibliotecas
Crear unha nova biblioteca
-
Choose Tools - Macros - Organize Macros - LibreOffice Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.
-
Prema a lapela Bibliotecas.
-
Select to where you want to attach the library in the Location list. If you select LibreOffice Macros & Dialogs, the library will belong to the LibreOffice application and will be available for all documents. If you select a document the library will be attached to this document and only available from there.
-
Prema Novo e introduza un nome para crear unha biblioteca nova.
Importar unha biblioteca
-
Choose Tools - Macros - Organize Macros - LibreOffice Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.
-
Prema a lapela Bibliotecas.
-
Select to where you want to import the library in the Location list. If you select LibreOffice Macros & Dialogs, the library will belong to the LibreOffice application and will be available for all documents. If you select a document the library will be imported to this document and only available from there.
-
Prema en Importar... e seleccione a biblioteca externa que desexe importar.
-
Escolla todas as bibliotecas que queira importar no diálogo Importar bibliotecas. O diálogo mostra todas as bibliotecas contidas no ficheiro escollido.
-
Se desexa inserir a biblioteca só como referencia, marque a opción Inserir como referencia (só para ler). As bibliotecas só de lectura son completamente funcionais, mais non poden ser modificadas no IDE do Basic.
-
Check the Replace existing libraries box if you want existing libraries of the same name to be overwritten.
-
Prema en Pechar para pechar a caixa de diálogo.
Exportar unha biblioteca
-
Choose Tools - Macros - Organize Macros - LibreOffice Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.
-
Prema na lapela Bibliotecas.
-
In the Location list you specify where your library is stored. Select the library that you want to export. Note that you cannot export the Standard library.
-
Prema en Exportar...
-
Escolla se desexa exportar a biblioteca como extensión ou como biblioteca básica.
-
Prema en Aceptar.
-
Seleccione onde desexa exportar a biblioteca.
-
Prema en Pechar para pechar a caixa de diálogo.
Eliminar unha biblioteca
-
Choose Tools - Macros - Organize Macros - LibreOffice Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.
-
Prema a lapela Bibliotecas.
-
Seleccione na lista a biblioteca que desexa eliminar.
-
Prema Eliminar.
-
Se elimina permanentemente unha biblioteca, elimina tamén os módulos existentes e os seus procedementos e funcións correspondentes.
-
Non é posíbel eliminar a biblioteca predefinida chamada «Estándar».
-
Eliminar unha biblioteca inserida só como referencia, non elimina a biblioteca en si.
Organización de módulos e caixas de diálogo
Creación dun módulo ou caixa de diálogo
-
Choose Tools - Macros - Organize Macros - LibreOffice Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.
-
Prema na lapela Módulos ou na lapela Diálogos.
-
Select the library where the module will be inserted and click New.
-
Introduza un nome para o módulo ou diálogo e prema en Aceptar.
Renomear un módulo ou caixa de diálogo
-
Choose Tools - Macros - Organize Macros - LibreOffice Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.
-
Prema dúas veces no módulo que desexa renomear, facendo unha pausa entre cada prema. Introduza o novo nome.
In the Basic IDE, right-click the name of the module or dialog in the tabs at the bottom of the screen, choose Rename and type in the new name.
-
Prema en Intro para confirmar os cambios.
Eliminar un módulo ou caixa de diálogo
-
Choose Tools - Macros - Organize Macros - LibreOffice Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.
-
Prema na lapela Módulos ou na lapela Diálogos.
-
Seleccione o módulo ou caixa de diálogo que desexa eliminar da lista. Prema dúas veces nunha entrada para mostrar as subentradas, se é necesario.
-
Prema Eliminar.
Se elimina un módulo permanentemente, elimina tamén os procedementos e funcións que conteña.
Organización de proxectos en documentos ou modelos
Mover ou copiar módulos entre documentos, modelos e o aplicativo.
-
Abra os documentos ou modelos entre os que desexa mover ou copiar os módulos ou caixas de diálogo.
-
Choose Tools - Macros - Organize Macros - LibreOffice Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.
-
To move a module or dialog to another document, click the corresponding object in the list and drag it to the desired position. A horizontal line indicates the target position of the current object while dragging. Hold the CommandCtrl key while dragging to copy the object instead of moving it.