Collabora Office 24.04 Bantuan
Collabora Office macros are grouped in module files, modules are usually grouped in library folders, and libraries are grouped in library containers although containers can contain modules too.
A library is 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. The Figure below shows an example of the hierarchical structure of macro libraries in Collabora Office.
Figure: Macro Library hierarchy
The containers are accessible in all Collabora Office programs through the user interface. Go to
, to open the Python Macros dialog.Three library containers are shown in the Macro From list:
My Macros: personal macros available for the Collabora Office user
Application Macros: system macros distributed with Collabora Office for every computer user
Document macros: every document can contain macro libraries available in that document for all users
Refer to Getting Session Information in order to get programmatic access to Python script locations.
Makro yang ada di lokasi ini (wadah) disalin oleh program instalasi dan tersedia untuk setiap pengguna komputer, dan setiap dokumen terbuka dapat mengakses makro yang disimpan wadah. Anda memerlukan hak administratif untuk menyimpan atau mengedit makro di sini.
Collabora Office. .Lokasi wadah makro dalam sistem file tergantung pada sistem operasi:
For Windows: {Installation}\share\Scripts\python.
For Linux and macOS: {Installation}/share/Scripts/python.
Wadah ini hanya dapat diakses oleh pengguna Collabora Office. Setiap dokumen terbuka dapat mengakses makro yang disimpan oleh wadah. Makro dalam lokasi ini disimpan dalam profil pengguna Collabora Office.
Lokasi wadah makro saya ada di ruang pengguna dan bergantung pada sistem operasi:
Untuk Windows,
%APPDATA%\LibreOffice\4\user\Scripts\python.
Untuk Linux dan macOS,
$HOME/.config/libreoffice/4/user/Scripts/python.
makro dokumen tertanam di dalam dokumen dan hanya dapat diakses ketika dokumen terbuka
Python macros can be organized in libraries, modules and macros. Use the Macro Library hierarchy as a guide when creating or installing new macros in module files, new module files in library folders or new library folders in containers.