Mengorganisasikan Pustaka dan Modul
Mengorganisasikan Pustaka
Membuat Pustaka Baru
-
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.
-
Klik tabulasi Pustaka.
-
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.
-
Klik Baru dan masukkan sebuah nama untuk membuat pustaka yang baru.
Import a Library
-
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.
-
Klik tabulasi Pustaka.
-
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.
-
Klik Lampirkan dan pilih pustaka luar yang hendak dibubuhkan.
-
Select all libraries to be imported in the Import Libraries dialog. The dialog displays all libraries that are contained in the selected file.
-
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.
-
Check the Replace existing libraries box if you want existing libraries of the same name to be overwritten.
-
Klik Oke untuk membubuhkan pustaka.
Export a Library
-
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.
-
Klik tabulasi Pustaka.
-
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.
-
Click Export...
-
Choose whether you want to export the library as an extension or as a basic library.
-
Klik Buang.
-
Select where you want your library exported.
-
Klik Oke untuk membubuhkan pustaka.
Menghapus Pustaka
-
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.
-
Klik tabulasi Pustaka.
-
Memilih pustaka yang hendak dihapus dari daftar.
-
Klik Hapus.
-
Menghapus secara permanen pada pustaka turut menghapus semua modul yang ada, begitu pula pada prosedur dan fungsi yang berkorespondensi terhadapnya.
-
Anda tidak bisa menghapus/membuang pustaka utama yang bernama "Standar".
-
Apabila Anda menghapus pustaka yang disisipkan sebagai referensi, maka hanya referensi tersebut yang akan dihupus (sementara pustaka itu sendiri tidak turut terhapus).
Mengorganisasikan Modul dan Dialog
Membuat Modul dan Dialog Baru
-
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.
-
Klik tabulasi Modul atau tabulasi Dialog.
-
Pilih pustaka yang hendak disisipkan oleh modul dan klik Baru.
-
Masukkan sebuah nama untuk modul atau dialog dan klik Oke.
Mengubah nama Modul atau Dialog
-
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.
-
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.
-
Tekan Enter untuk mengkonfirmasi hasil ubahan Anda
Menghapus Modul atau Dialog
-
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.
-
Klik tabulasi Modul atau tabulasi Dialog.
-
Select the module or dialog to be deleted from the list. Double-click an entry to reveal sub-entries, if required.
-
Klik Hapus.

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.
-
Open all documents or templates among which you want to move or copy the modules or dialogs.
-
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.