Commit Graph
13 Commits
Author SHA1 Message Date
Stephan Bergmann 05ba63c6fc Remove the Java OfficeBean example from the SDK
...now that java.applet (which it built upon) has been removed from Java 26

Change-Id: Idae7d231c2bfd249a1cdfa036e5eeacb71bd3050
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198677
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Tested-by: Jenkins
2026-02-04 16:55:39 +01:00
Manish 4eacc9dc0f tdf#162563 Remove remaining Java applet code and references
Change-Id: Icecb06ee056c3089e931f6fca8f0791ec67ccf8f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183740
Tested-by: Jenkins
Reviewed-by: Hossein   <hossein@libreoffice.org>
2025-04-07 23:36:29 +02:00
RMZeroFour b4289da0b4 .NET Bindings: Ported examples for Native bridge
This patch include the following SDK examples ported to .NET
to test the new Native bridge:
- FirstLoadComponent
- HelloTextTableShape
- PathSettings
- PathSubstitution
- TerminationTest
- WriterDemo

The examples include VB.NET and F# as well to test support for
non-C# .NET languages.

Change-Id: I044df4777c7c091241d5b4284f4b6ee6c5de74f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172778
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-09-18 08:11:26 +02:00
RMZeroFour 32eaef8ddb tdf#143123 Port Java clipboard examples to Python
This commit ports the Clipboard example from
odk/examples/DevelopersGuide/OfficeDev/ to Python.

The original Java example code was moved to a java/ subdirectory, and
the new Python code was added to the python/ subdirectory. Necessary
changes were made in the corresponding Makefiles.

Along with the sample code in Clipboard.java, the ClipboardListener,
ClipboardOwner and TextTransferable classes were ported.

Change-Id: Ic3a48023cfc78b770ae64adb2aee2b4d0bcefaff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165225
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-06-05 01:45:19 +02:00
RMZeroFour 21d7936b32 tdf#143123 Port Java PathSubstitution example to Python
This commit ports the PathSubstitution example in
odk/examples/DevelopersGuide/OfficeDev/ to Python.

The original Java example code was moved to a java/ subdirectory, and
the new Python code was added to the python/ subdirectory. Necessary
changes were made in the corresponding Makefiles.

The example can be run with: ./instdir/program/python \
./odk/examples/DevelopersGuide/OfficeDev/PathSubstitution/\
python/path_substitution_test.py

Change-Id: I6c7a8af86cee2dc9cb5384e42bd9644847f28767
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166264
Reviewed-by: Hossein <hossein@libreoffice.org>
Tested-by: Jenkins
2024-06-04 15:16:38 +02:00
RMZeroFour c299e54ce2 tdf#143122 Port Java TerminationTest example to C++
This patch ports odk/examples/DevelopersGuide/OfficeDev/TerminationTest
example to C++.

The original Java example code was moved to a java/ subdirectory, and
the new C++ code was added to the cxx/ subdirectory. Necessary changes
were made in the corresponding Makefiles.

Along with the code in TerminationTest.java, the TerminateListener
class was also ported and used in the same C++ file.

Change-Id: I889b8893740bc8f80cdd9aa9925e83cadcea9592
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165916
Tested-by: Jenkins
Tested-by: Hossein <hossein@libreoffice.org>
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-04-30 15:01:19 +02:00
zeph 7c78d2b29e Add python code for ChartInCalc
Change-Id: Ia7f4cbd539919e88f735c13bdd1dae3533b1163a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163037
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-02-27 23:41:18 +01:00
Hossein bc5c767e9a Separate folders for DevelopersGuide/FirstSteps
This patch creates separate folders for 3 different SDK examples in
DevelopersGuide/FirstSteps:

1. FirstUnoContact
2. FirstLoadComponent
3. HelloTextTableShape

Each one of these are ported to 4 languages: Java, C++, BASIC, Python.
The Java Makefile in the top folder is now separated into 3 different
Makefiles for Java programs.

Change-Id: Ifb2003be2aafb4caec4810eb21fbb4708b9a0628
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159591
Tested-by: Hossein <hossein@libreoffice.org>
Reviewed-by: Hossein <hossein@libreoffice.org>
2023-11-20 14:59:10 +01:00
Rene Engelhard fb0a81d04c add a second argument to the odk_build-examples_test "template"
... as two times my_example_dirs (probably) runs into the same
"global variable" issue like with testname=

Change-Id: I40dcff8e1e01c0cf557143432003bd9d8787bce1
Reviewed-on: https://gerrit.libreoffice.org/53553
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Tested-by: Jenkins <ci@libreoffice.org>
2018-04-27 18:06:44 +02:00
Rene Engelhard e514db9567 fix build
Change-Id: If2315987d2447b1a44f3e62384f03d2621be7106
Reviewed-on: https://gerrit.libreoffice.org/53455
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Rene Engelhard <rene@debian.org>
2018-04-25 20:57:47 +02:00
Rene Engelhard fcba22ef79 move $(eval $(call gb_CustomTarget_CustomTarget back to build_examples*.mk
... since otherwise gbuild doesn't understand it and (e.g.) make odk.clean fails

Change-Id: Ie6098bcf1ff99ee1a5df5fd5219d3b3c82075f71
2018-04-25 00:04:22 +02:00
Rene Engelhard 16eaf9d68d include build-examples_common.mk with full path
Change-Id: Ia8a541b3d1e1f27c493ba371d970bfff3a893ae2
2018-04-24 22:45:20 +02:00
Rene Engelhard d3fd9d0265 split odk/build-examples Java tests out into a build-examples_java test
... since archs with the "Zero VM" take loooong otherwise and eventually
gets killed after 150 minutes of "inactivity" (no output)

Change-Id: If421378920c791fdc5d165cc452bdd40e136c8d1
2018-04-24 22:29:07 +02:00