Mengorganisasikan Pustaka dan Modul

Mengorganisasikan Pustaka

Membuat Pustaka Baru

  1. 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.

  2. Klik tabulasi Pustaka.

  3. 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.

  4. Klik Baru dan masukkan sebuah nama untuk membuat pustaka yang baru.

Import a Library

  1. 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.

  2. Klik tabulasi Pustaka.

  3. 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.

  4. Klik Lampirkan dan pilih pustaka luar yang hendak dibubuhkan.

  5. Select all libraries to be imported in the Import Libraries dialog. The dialog displays all libraries that are contained in the selected file.

  6. If you want to insert the library as a reference only check the Insert as reference (read-only) box. Read-only libraries are fully functional but cannot be modified in the Basic IDE.

  7. Check the Replace existing libraries box if you want existing libraries of the same name to be overwritten.

  8. Klik Oke untuk membubuhkan pustaka.

Export a Library

  1. 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.

  2. Klik tabulasi Pustaka.

  3. 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.

  4. Click Export...

  5. Choose whether you want to export the library as an extension or as a basic library.

  6. Klik Buang.

  7. Select where you want your library exported.

  8. Klik Oke untuk membubuhkan pustaka.

Menghapus Pustaka

  1. 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.

  2. Klik tabulasi Pustaka.

  3. Memilih pustaka yang hendak dihapus dari daftar.

  4. Klik Hapus.

Mengorganisasikan Modul dan Dialog

Membuat Modul dan Dialog Baru

  1. 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.

  2. Klik tabulasi Modul atau tabulasi Dialog.

  3. Pilih pustaka yang hendak disisipkan oleh modul dan klik Baru.

  4. Masukkan sebuah nama untuk modul atau dialog dan klik Oke.

Mengubah nama Modul atau Dialog

  1. 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.

  2. Click the module to be renamed twice, with a pause between the clicks. Enter the new name.

    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.

  3. Tekan Enter untuk mengkonfirmasi hasil ubahan Anda

Menghapus Modul atau Dialog

  1. 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.

  2. Klik tabulasi Modul atau tabulasi Dialog.

  3. Select the module or dialog to be deleted from the list. Double-click an entry to reveal sub-entries, if required.

  4. Klik Hapus.

Ikon Peringatan

Menghapus modul secara permanen akan menghapus semua prosedur dan fungsi yang ada di dalam modul tersebut.


Mengorganisasikan Proyek dalam Dokumen atau Templates

Memindahkan dan menyalin modul di antara dokumen, dokumen mal, dan aplikasi.

  1. Open all documents or templates among which you want to move or copy the modules or dialogs.

  2. 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.

  3. 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 key while dragging to copy the object instead of moving it.