I've google a bit I came empty. A lot of bits and pieces but nothing detailed and to the point that explains everything from setup to the API and to the why. Most of it expect intimate knowledge of LibreOffice API.

I am not a programmer, I only dabble in this. Are there any resources out there that are not for helping people that don't need help?

Comments

You sure it must be Python? Ok, We may be near to the crest of the Python wave. We had a Java wave, too, which may have reach the beach meanwhile. Now and then there will be a version upgrade of Python. It seems an update of the uno-bridge may then also be needed. Will the Python people do it?
BASIC may be a rather outdated language and the StarBASIC IDE is not state of the art, there are less "nice tools" ...

@Lupp: IHMO youre wrong, its not about waves, hype's whatever...python still exist 25 Years -- that, with respect, is in terms of IT a very long time, and its importance results from stable and robust development* and not because of some kind being "the latest craze"...

*other reasons may be: Easy to learn, easy to test, ..to develop, excellent Documentation, lot of ready to use third party stuff....

@karolus Yes! Python seems to be matured - and I already confessed that I don't know more about it, except that I read and tried to understand a few code snippets published here and in the OpenOffice forum, some of them contributed by you. There I also made an observation: More than one times somebody (you again among them) suspected a Python upgrade to be the reason of a broken custom routine. I really don't like BASIC. For the very little programming I do in LibO I'll stick to it nonetheless.

5 Answers

Comments

Yes, this is by far the best tutorial on Python macros in LibreOffice, and it should be given more prominence in the official documentation. I can recommend it wholeheartedly to anyone who needs to start programming LibreOffice with Python macros. Thank you for writing this.

Comments

I do know Python loosely speaking. However, I have not found anything specific regarding Python used in conjunction to LibreOffice. Knowing Python can't make it read LibreOffice sheets in its particular format can it?

Comments

this is a good example and exemplifies my impression that the LibreOffice flavor of Python is fairly unPythonic dialect of Java. Would help to have a reference of what are the major objects/methods to invoke to get started, the equivalent in LO Basic of ThisComponentThisDatabaseDocument and dbg_methods, etc.