Summary: | Interactive-type macros | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | r.a.scarfe |
Component: | framework | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | 79045_79045, heiko.tietze, himajin100000, LibreOfficiant |
Priority: | medium | ||
Version: | 6.3.5.2 release | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 127593 |
Description
r.a.scarfe
2020-04-20 01:24:18 UTC
Not really a question for UX but the macro team. Alain, what do you think? Hi While I'm not certain I completely understand r.a.'s requirements, let me try to answer some aspects of these statements. First and foremost, and for what relates to document, note the following links detail how to script Python macros in LibreOffice: - https://help.libreoffice.org/latest/en-US/text/sbasic/python/main0000.html - https://wiki.documentfoundation.org/Macros/Python_Design_Guide * as for your first comment, please note that you can customize LibreOffice menus in order to start LibO Python interactive console, incorporating LibO bindings in the process. Thus, saving your session is only a matter of copying/pasting the command history. * I imagine that Conda/Jupyter can be configured in such a way that libO Python shell can be chosen as a preferred Python runtime. Such a facility exists in Geany, PyCharm , Pyzo and are described in the above wiki link. However Python native shell and LibO interactive console do not extend the exact same way. So be prepared for experiments and adaptation efforts. I hope I clarified some points, and would gladly to read elaborated descriptions of r.a's current achievements using Conda/Jupyter, Anaconda Navigator or anything alike. You should have a glance at APSO extension which provides a remarkable assistance when scripting Python macros: - https://extensions.libreoffice.org/en/extensions/show/apso-alternative-script-organizer-for-python |