Bug 64900 - Write a PyUNO tutorial/walktrough
Summary: Write a PyUNO tutorial/walktrough
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: difficultyMedium, easyHack, skillPython
Depends on:
Blocks:
 
Reported: 2013-05-23 08:54 UTC by Björn Michaelsen
Modified: 2022-01-12 13:38 UTC (History)
12 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Michaelsen 2013-05-23 08:54:05 UTC
We could use some good documentation on how to work with Python and LibreOffice. This could be done with a wide range of means:
- add examples to https://gerrit.libreoffice.org/gitweb?p=sdk-examples.git;a=tree
- write accompanying prosa on https://wiki.documentfoundation.org/Macros
- create Youtube Videos a la http://www.youtube.com/watch?v=2gIqOOajdYQ&hd=1

Get creative!
Comment 1 Björn Michaelsen 2013-10-04 18:46:24 UTC
adding LibreOffice developer list as CC to unresolved EasyHacks for better visibility.

see e.g. http://nabble.documentfoundation.org/minutes-of-ESC-call-td4076214.html for details
Comment 2 Alexandre Vicenzi 2014-02-06 16:54:27 UTC
Björn,

I will take this bug, and write some examples using PyUNO.

Is there something else that I can do with Python?
Comment 3 bfoman (inactive) 2014-02-06 17:00:16 UTC
(In reply to comment #2)
> I will take this bug, and write some examples using PyUNO.

Could you change the status to ASSIGNED as you're owner of this bug now? Thanks.
Comment 4 Alexandre Vicenzi 2014-02-06 17:06:08 UTC
OK.
Comment 5 Alexandre Vicenzi 2014-02-25 01:42:42 UTC
Björn,

I've made a patch. How can I push to the sdk-examples repo?
Comment 6 Alexandre Vicenzi 2014-02-25 02:16:17 UTC
(In reply to comment #5)
> Björn,
> 
> I've made a patch. How can I push to the sdk-examples repo?

Forget. :)
Comment 7 Björn Michaelsen 2014-05-12 12:27:28 UTC
Putting this back to new -- there ~never can be enough documentation and multiple people can work on this.
Comment 9 Robinson Tryon (qubit) 2015-12-14 06:47:59 UTC Comment hidden (obsolete)
Comment 10 Robinson Tryon (qubit) 2016-02-18 14:52:10 UTC Comment hidden (obsolete)
Comment 11 Andrei 2016-02-26 21:41:56 UTC
Is there someone who can work on this bug/missing_feature ?
If not, maybe, I can do some contributions to this.

I'm not sure where to start because I've recently found out about LibreOffice.

Some of my background, I've been working in VBA for some time now and now I've recently discovered Apache OpenOffice. At the beggining I didn't understood why this OpenOffice uses this obsolete, hard to write, VBA stuff, because other languages have major advantages over this. I've been just scratch the surface with python in OpenOffice. After that some of my work coleagues use LibreOffice and showed me that LibreOffice vs Apache OpenOffice seems more up-to-date with what end-users need. Also Apache OpenOffice is <3 where LibreOffice is >3.

The fact that there not easy-to-use documentation of how to use python with LibreOffice make people not so easy to get involved this stuff.

Maybe I can help, with some documentation, maybe some examples.

( I've only recently findout how to embed python scripts inside the actual .odt document, but you have the edit the manifest.xml, and thats not very user friendly, also in order to edit a python script inside the .odf file, you need to have some tricks in place, because LibreOffice does not support editing files except basic ? )
Comment 12 jani 2016-02-28 09:12:43 UTC
It is. not assigned, so feel free to assign it and work on it,
Comment 13 abdulghzain 2016-12-15 00:32:12 UTC
Assigning to myself. Any tips on where to start as this is my first open source contribution.
Comment 14 jani 2016-12-15 09:49:44 UTC
(In reply to abdulghzain from comment #13)
> Assigning to myself. Any tips on where to start as this is my first open
> source contribution.

In order to write a pyUNO tutorial, you need to play with the API, and look in our wiki for information:
https://wiki.documentfoundation.org/Development/PyUno
(most of this documentation is from the good old OO days).
Comment 15 jani 2017-01-23 08:21:59 UTC
A polite ping still working on this issue ?
Comment 16 Fakabbir amin 2017-01-26 13:55:11 UTC
Hi JanI,
I am assigning this bug to myself and would be working parallel without changing the Assignee.
Comment 17 jani 2017-05-14 07:43:15 UTC Comment hidden (obsolete)
Comment 18 Xisco Faulí 2017-06-14 02:22:53 UTC Comment hidden (obsolete)
Comment 19 Xisco Faulí 2017-07-15 02:31:26 UTC Comment hidden (obsolete)
Comment 20 Xisco Faulí 2017-08-15 02:23:59 UTC Comment hidden (obsolete)
Comment 21 Xisco Faulí 2017-09-15 15:27:52 UTC Comment hidden (obsolete)
Comment 22 Xisco Faulí 2017-09-16 02:04:42 UTC Comment hidden (obsolete)
Comment 23 Xisco Faulí 2017-09-17 02:05:04 UTC Comment hidden (obsolete)
Comment 24 Xisco Faulí 2017-11-03 03:39:23 UTC Comment hidden (obsolete)
Comment 25 Xisco Faulí 2017-12-07 10:48:26 UTC Comment hidden (obsolete)
Comment 26 Xisco Faulí 2018-01-07 03:29:32 UTC Comment hidden (obsolete)
Comment 27 Xisco Faulí 2018-02-07 03:31:50 UTC Comment hidden (obsolete)
Comment 28 Xisco Faulí 2018-03-10 03:43:25 UTC Comment hidden (obsolete)
Comment 29 Xisco Faulí 2018-04-12 02:33:55 UTC Comment hidden (obsolete)
Comment 30 Xisco Faulí 2018-05-13 02:29:05 UTC Comment hidden (obsolete)
Comment 31 Xisco Faulí 2018-06-13 02:34:22 UTC Comment hidden (obsolete)
Comment 32 Xisco Faulí 2018-07-14 02:43:16 UTC Comment hidden (obsolete)
Comment 33 Xisco Faulí 2018-08-14 02:30:36 UTC Comment hidden (obsolete)
Comment 34 Xisco Faulí 2018-09-14 02:44:12 UTC Comment hidden (obsolete)
Comment 35 Xisco Faulí 2018-10-15 02:48:38 UTC Comment hidden (obsolete)
Comment 36 Xisco Faulí 2018-11-15 03:41:26 UTC Comment hidden (obsolete)
Comment 37 Xisco Faulí 2018-12-16 03:48:50 UTC Comment hidden (obsolete)
Comment 39 Olivier Hallot 2022-01-12 13:38:08 UTC
Closing since PyUNO documentation has been greatly improved in the Help (Thanks to LibreOfficiant)