LibreOffice 7.3 laguntza
LibreOffice 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 LibreOffice.
Figure: Macro Library hierarchy
The containers are accessible in all LibreOffice 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 LibreOffice user
LibreOffice Macros: system macros distributed with LibreOffice for every computer user
Document macros: every document can contain macro libraries available in that document for all users
Begiratu Saioaren informazioa eskuratzea Python scripten kokalekuak programazio bidez atzitzeko.
Kokaleku (edukiontzi) honetan dauden makroak instalazio-programak kopiatu zituen eta ordenagailuko edozein erabiltzailek erabil ditzake, eta edozein dokumentu irekik atzi ditzake edukiontzian biltegiratutako makroak. Administrazio-eskubideak behar dira horko makroak editatzeko edo berriak biltegiratzeko.
LibreOffice Macros edukiontziak fitxategi-sisteman duen kokapena sistema eragilearen araberakoa da:
Windows sistemetan: (Installation)\share\Scripts\python.
Linux eta macOS sistemetan: (Installation)/share/Scripts/python.
Edukiontzi hau LibreOffice erabiltzaileak soilik atzi dezake. Edozein dokumentu irekik atzi ditzake edukiontzian biltegiratutako makroak. Kokaleku honetako makroak LibreOffice erabiltzailearen profilean biltegiratzen dira.
'Nire makroak' edukiontziaren kokalekua erabiltzaile-espazioan dago eta sistema eragilearen araberakoa da:
Windowsen,
%APPDATA%\LibreOffice\4\user\Scripts\python.
Linuxen eta macOSen,
$HOME/.config/libreoffice/4/user/Scripts/python.
Dokumentu-makroak dokumentuan kapsulatuta daude eta hura irekitzen denean soilik daude erabilgarri.
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.