Hey Everybody,
I want to start with python Scripting for LibreOffice using PyCharm for developing and debugging.
I installed all the following steps:
- Installed LibreOffice (was already installed)
- Installed Pycharm (was already installed)
- Installed Unotools via PyCharm Python Packages
- Installed ooouno via PyCharm Python Packages
- Installed APSO Extensions from extensions.libreoffice. org /en/extensions/show/apso-alternative-script-organizer-for-python
- Installed MRI Extension
- Installed XRay via the Macro inside the document found on this page
- Checked for Updates in Extension-Manager of Libre Office
- Restarted Libre Office
All looks good, I can Manage Python Scripts with APSO and also if I first opend a Python script it asked in which IDE it shall open the code
I saw the Code in PyCharm and even IntelliSense looks like it is working.
I´m so far not able to debug Python Scripts in PyCharm and need some advice.
Also if I miss something else which might be helpfull i would love to get your feedback here.
Me second question is where to save the python Script?
My Target for the next task is to create a odt-File (Calc) which Contains a description and some Variables in the first sheet and also should contain the Macro - so that way I can simply distribute that File with macros to other members of my ngo. Is this the right way or should I aim for another option sharing a closed functionality like described?
Thanks for all your input and best regards, Richarde