Bug 143123 - Port Java SDK examples to Python
Summary: Port Java SDK examples to Python
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: sdk (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.4.0 reviewed:2022 target:7.5...
Keywords: difficultyMedium, easyHack, skillJava, skillPython, skillUno, topicDebug
Depends on:
Blocks: Dev-related
  Show dependency treegraph
 
Reported: 2021-06-29 20:48 UTC by Hossein
Modified: 2024-06-04 23:45 UTC (History)
5 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 Hossein 2021-06-29 20:48:22 UTC
There are many Java examples for LibreOffice SDK that are listed here:

https://api.libreoffice.org/examples/examples.html#Java_examples

On the other hand, there is only 1 Python example. Port Java examples to Python. All the examples are listed here:

https://git.libreoffice.org/core/+/HEAD/odk/examples/
Comment 1 Commit Notification 2022-04-20 10:40:29 UTC
Hossein committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/c37d00a4f22a973c0905a9d8f409994763cb637a

tdf#143123 - Port Java examples to Python

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 2 Hossein 2022-06-16 13:48:57 UTC
Re-evaluating the EasyHack in 2022

This EasyHack is still relevant. There are many SDK examples that can be ported to Python, and can be also added to the DevGuide:

LibreOffice Developer's Guide
https://wiki.documentfoundation.org/Documentation/DevGuide
Comment 3 pedro.abreu2000 2022-09-28 22:16:11 UTC
1st one, i'll do my best
Comment 4 Mehdi Tizabi 2022-10-08 08:04:29 UTC
where is the python libraries list to import them?
specially, is there any one-to-one list that gives us the library python from the java library name?
Comment 5 Commit Notification 2022-10-13 13:42:01 UTC
Chenxiong Qi committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/665d1633c9e08da85fae179e62923211bc07c480

tdf#143123 port DocumentHandling examples to Python

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2022-12-03 01:49:22 UTC
Chenxiong Qi committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/8f34b0d40e149b7274a1aa4ce0b33ddbf825ee52

tdf#143123 Port Text Java examples to Python

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Commit Notification 2023-01-19 21:39:56 UTC
Chenxiong Qi committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/9753aa4a776af24c1bfb9cd41867ee2078438934

tdf#143123 Port some Spreadsheet Java examples to Python

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 8 Commit Notification 2023-04-18 12:33:49 UTC
Chenxiong Qi committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/10fac0f7f7cdc66d9d1ee5e5bffbeb82973b733a

tdf#143123 Port DevelopersGuide/FirstSteps/HelloTextTableShape to Python

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 9 Commit Notification 2023-09-08 08:16:30 UTC
Hossein committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/7dc3be651b050c7b4d383d8ee25b69728418acc7

tdf#143123 Port DevelopersGuide/FirstSteps/FirstLoadComponent to Python

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 10 Commit Notification 2023-12-21 09:03:30 UTC
Ricardo Donino committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/dac88850909eb337cfaf96963fa4bffa91470381

tdf#143123 Port SDraw Java SDK example to Python

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 11 Commit Notification 2024-04-19 20:19:09 UTC
zeph committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/55b0ddf119714ce1221ceb098a8329de2716c448

tdf#143123 Port ChartInDraw / ChartInWriter examples to Python

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 12 Commit Notification 2024-06-04 13:17:12 UTC
RMZeroFour committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/21d7936b320e084a08ef70211a3a51106503ab98

tdf#143123 Port Java PathSubstitution example to Python

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 13 Commit Notification 2024-06-04 23:45:59 UTC
RMZeroFour committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/32eaef8ddb7acbd8ab40c69acd9b8ca06a26b015

tdf#143123 Port Java clipboard examples to Python

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.