Bug 143122 - Port Java SDK examples to C++
Summary: Port Java SDK examples to C++
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:24....
Keywords: difficultyMedium, easyHack, skillCpp, skillJava, skillUno, topicDebug
Depends on:
Blocks: Dev-related
  Show dependency treegraph
 
Reported: 2021-06-29 20:40 UTC by Hossein
Modified: 2026-03-12 08:06 UTC (History)
3 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:40:04 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 are few C++ examples. Port Java examples to C++. All the examples are listed here:

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

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

tdf#143122 - Port Java examples to C++

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:49:11 UTC
Re-evaluating the EasyHack in 2022

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

LibreOffice Developer's Guide
https://wiki.documentfoundation.org/Documentation/DevGuide
Comment 3 Commit Notification 2023-11-20 23:50:50 UTC
Hossein committed a patch related to this issue.
It has been pushed to "master":

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

tdf#143122 Port FirstLoadComponent example to C++

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 4 Commit Notification 2024-03-10 23:25:44 UTC
Hossein committed a patch related to this issue.
It has been pushed to "master":

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

tdf#143122 Port HelloTextTableShape example to C++

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 5 Commit Notification 2024-04-30 13:01:28 UTC
RMZeroFour committed a patch related to this issue.
It has been pushed to "master":

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

tdf#143122 Port Java TerminationTest example to C++

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 6 Commit Notification 2026-02-16 12:01:06 UTC
Daniel Lee committed a patch related to this issue.
It has been pushed to "master":

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

tdf#143122 Port the SWriter sdk example to cpp

It will be available in 26.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 7 Yaswant 2026-03-12 07:11:34 UTC
(In reply to Hossein from comment #0)
> 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 are few C++ examples. Port Java examples to C++.
> All the examples are listed here:
> 
> https://git.libreoffice.org/core/+/HEAD/odk/examples/

sir iam interested in solving the easy hack ,iam currently looking forward for the gsoc2026, can you please assign this bug to me.

yaswant
btech cse 3rd year
iit guwahati
INDIA
Comment 8 Yaswant 2026-03-12 07:12:45 UTC
(In reply to Yaswant from comment #7)
> (In reply to Hossein from comment #0)
> > 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 are few C++ examples. Port Java examples to C++.
> > All the examples are listed here:
> > 
> > https://git.libreoffice.org/core/+/HEAD/odk/examples/
> 
> sir iam interested in solving the easy hack ,iam currently looking forward
> for the gsoc2026, can you please assign this bug to me.
> 
> yaswant
> btech cse 3rd year
> iit guwahati
> INDIA

email:- yaswantpenapaka@gmail.com
Comment 9 Buovjaga 2026-03-12 08:06:16 UTC
(In reply to Yaswant from comment #7)
> sir iam interested in solving the easy hack ,iam currently looking forward
> for the gsoc2026, can you please assign this bug to me.

It's not so much solving as contributing towards it. Simply work on it. As we have discussed, multi-hacker tasks are not assigned to anyone.