Commit Graph
1360 Commits
Author SHA1 Message Date
Andrea Gelmini 6da6760ed1 Fix typo "then"->"than" + "its" -> "it's"
Change-Id: I824cee5fe1ad6596e99ab0423797cefa29c81139
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202915
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-03-29 09:47:37 +02:00
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
Xisco Fauli 9635351580 bump copyright year to 2026
Change-Id: If9b398d338f0a99b400b58c0f4d095a9b9ca5e4a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196417
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-01-02 19:28:56 +01:00
Hossein a6b38c4ce7 tdf#165608 Fix .NET examples bound to specific version
Previously, .NET SDK examples were bound specifically to .NET 8 target
version, or "net8.0". Now, the major/minor version of .NET SDK is
extracted from the output of invoking 'dotnet --version' command to
create the project file for .NET SDK examples.

For example:

$ dotnet --version
9.0.123

Then, the target will be 'net9.0', as is expected:

$ echo net$(dotnet --version | cut -d. -f1-2)
net9.0

Change-Id: Ibea3cfa0b9b68394dab6efdf4b5c0c34f7b4e882
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190774
Tested-by: Jenkins
Reviewed-by: Hossein   <hossein@libreoffice.org>
2025-09-10 21:25:22 +02:00
Samuel Mehrbrodt 7825e77751 Logo on api.libreoffice.org should link to itself
not to libreoffice.org

Change-Id: Ic6c66312720dc1921693015b6d904f5b12d19f03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181355
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2025-02-10 21:40:55 +01:00
Xisco Fauli 4852740395 bump copyright year to 2025
Change-Id: Id2d0597ed86a5f798eec22dde5b954c06442a2a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179610
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2025-01-02 12:31:22 +01:00
Stephan Bergmann 603e92c7d9 Some PRODUCTNAME parametrization in SDK .html files
(and some places need a lower case LCPRODUCTNAME; plus some more clean up)

Change-Id: I7e97fcbe2e59ef22dffa7c0b47f076446873d09e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176539
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-11-13 15:42:01 +01: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 c3c7b48fa9 .NET Bindings: Native bridge for .NET
This patch includes all marshalling and proxy handling code on the
.NET side as well as the native side needed for a fully functional
UNO bridge.

It also includes some changes and corrections to net_basetypes and
netmaker needed for the bridge to work properly.

It also includes the FirstUnoContact example in C# as demonstration.

Change-Id: I406932938a4415d24408fb41ddfa7d8eeb5d1f94
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170916
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-09-18 08:10:36 +02:00
Ilmari Lauhakangas 2c3bf9471d odk, oox, pyuno: fix issues found by Ruff linter
Change-Id: I79d56453877a10502768b522ca93da3990891c0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171098
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-07-27 18:52:48 +02:00
Ilmari Lauhakangas 558b20d1ac comphelper, msicreator, odk: fix issues found by Ruff linter
Change-Id: I5ef65baeb0100b9d70b5c59c1d5f6f43ab951a22
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171092
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-07-27 15:42:26 +02:00
Andrea Gelmini e91404b8b6 Fix typo
Change-Id: I4706e1f5a2de6f1a0e48bd5e297eb904ac66f581
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168458
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
Tested-by: Jenkins
2024-06-05 14:52:40 +02:00
Andrea Gelmini f32848500a Fix typo
Change-Id: Ice2853eb7a14bd614b9bb53ce13667602c6e07eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168457
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
Tested-by: Jenkins
2024-06-05 14:52:19 +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
Ilmari Lauhakangas aa4188b8a6 Remove remaining dynamic exception specifications in odk/examples
as begun in

commit ddcc98fa50
Author: Stephan Bergmann <sbergman@redhat.com>
Date:   Wed Jul 22 13:41:12 2020 +0200

    Remove obsolete dynamic exception specifications from SDK example C++ code

Change-Id: I70a799655f7633e255d80e829f12a88a27a3c2f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167289
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-05-26 14:31:10 +02:00
Hossein 12447b7c70 Fix odk examples build on 32 bit systems
It is required to cast integer literals to sal_Int32 when passing them
to Any().

Change-Id: I377f88fc3441d8e4bc7afdb2411c1fd140853134
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167739
Tested-by: Jenkins
Reviewed-by: René Engelhard <rene@debian.org>
Tested-by: René Engelhard <rene@debian.org>
2024-05-16 17:14:22 +02:00
Ilmari Lauhakangas 8a73c5725f odk: classes in java.lang package do not need to be fully qualified
Change-Id: Idcc8af34095496aa6e7f516d9b2b975f7e58799f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167555
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-05-13 14:44:47 +02:00
Ilmari Lauhakangas 3d1a96d85d odk/examples: grammar and comment fixes
Change-Id: I86174573d9f59135865496a4f3ee5efb86141ffb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167410
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
2024-05-10 07:17:35 +02:00
Ilmari Lauhakangas 971eb75813 odk/examples: grammar fixes
Also remove outdated comment related to RTL_CONSTASCII_STRINGPARAM
(only the first line was removed in the past)

Change-Id: Iebef1bf83ab049a96c846e714cb700df4dacd878
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167233
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-05-07 07:42:35 +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 55b0ddf119 tdf#143123 Port ChartInDraw / ChartInWriter examples to Python
Ported two more SDK examples ChartInDraw and ChartInWriter from Java to
Python.
ChartInCalc and helper classes which contain additional helper methods
were ported in a previous patch.

Change-Id: Idffa0c07282dfc2c0f09ec5a9959f1db34a1d9a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165088
Tested-by: Jenkins
Tested-by: Hossein <hossein@libreoffice.org>
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-04-19 22:18:25 +02:00
RMZeroFour e64a1dfc36 Fix typo in HelloTextTableShape makefile
The HelloTextTableShape example, which was recently ported to C++,
has a small typo in line #64 of the Makefile. It gives the user the
command to run the example, but it was missing an 'e' at the end.

Change-Id: I29af45f21ff78dbda42e5bd9e25e44f06536f7c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165915
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-04-09 22:21:44 +02:00
Noel Grandin 1e31403bc8 loplugin:unusedenumconstants
Change-Id: I889b4f63e098fecf22ffd4fb98937d62dbdd70b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165791
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-04-04 19:58:35 +02:00
Julien Nabet 94da114cd8 tdf#160180: bump copyright year to 2024
Change-Id: I466b8f86e8a53a238ed2ce2d2b053dc519ff8eed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164794
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-03-13 22:55:18 +01:00
Hossein a2265e8faa Use UNO_QUERY_THROW instead of UNO_QUERY
Previously, in SDK examples, de-referencing was done unconditionally
after obtaining a reference using UNO_QUERY. Now, we use UNO_QUERY_THROW
instead, to make sure cases where exceptions may occure can be handled
correctly.

Change-Id: Ic73ba3cfcad914dabb7ae3736ad1ae2bd6cc15bd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164682
Tested-by: Hossein <hossein@libreoffice.org>
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-03-13 00:57:06 +01:00
Hossein d30891d6ad tdf#143122 Port HelloTextTableShape example to C++
Port DevelopersGuide/FirstSteps/HelloTextTableShape Java SDK example to
C++ and add a GNU Makefile for the build.

Change-Id: I8798406c24ec6c566fb6494f7202f6a2a984a25c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164635
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-03-11 00:25:38 +01:00
Hossein 93c5a2513c Enable commented part in HelloTextTableShape.java
Commented code in the HelloTextTableShape.java example demonstrates the
use of bookmarks. This part is now enabled.

Change-Id: Iace525be0d53b01bed8b5a6a123384a678d1d761
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164636
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-03-11 00:14:32 +01:00
Andrea Gelmini 890a2f9a08 Fix typo
Change-Id: I1bfc868d2b00871887ea105cf968a676000bf67c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164472
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-03-06 17:26:46 +01:00
Noel Grandin 7150ce717f remove deprecated IsGermanPreReform property
deprecated in 2008 (and seemingly never even implemented)

Replace the use of this property in sample code and
in Java unit tests with another property (I arbitrarily
selected "IsIgnoreControlCharacters")

Change-Id: I2cb474f895ac221952b59e98bfdbc01012095519
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164355
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-06 07:56:50 +01:00
Noel Grandin ea4dfeb838 finish removing IsSpellCapitalisation property
which was partially removed in
    commit 9bb9ba6ae0
    Author: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
    Date:   Mon Oct 2 12:33:34 2023 +0200
    [API CHANGE] Remove deprecated IsSpellCapitalization

Change-Id: I861c8c484b77a041d91cb25ddeecb7027a2fd96c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164183
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-04 08:01:05 +01: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
Alain Romedenne 9fdf0913b6 SDK - 1st Steps example code enhancement
Python example extended in order to be equally callable from LibO client

Change-Id: Ib2d733809e960971b98c30cbd6368ebc755dd7ab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159767
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-02-22 09:10:33 +01:00
Bogdan B 6e67802648 tdf#158803 Remove unused imports from odk
Used pyflakes to find unused imports from odk module. Then, removed
those unused imports.

Change-Id: If1a160fa99f0c3581687faecb0c7051625c478c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158821
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2023-12-29 17:33:48 +01:00
Hossein 42edec63fb Cleanup make files for Java/C++ SDK examples
This fixes some minor issues with the make files for Java/C++ SDK
examples in DevelopersGuide/FirstSteps.

For Java examples, an exatra "-f Example_Java.mk" was a leftover from a
previous change.

For C++ examples, 'make clean' was not working correctly, because of a
leftover from a previous change.

Both should be fixed now.

Change-Id: Id936824675a9bfd43674ca526bc97a998ed9daf8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159777
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2023-11-21 13:31:36 +01:00
Hossein ae61f6aa2b tdf#143122 Port FirstLoadComponent example to C++
Port DevelopersGuide/FirstSteps/FirstLoadComponent Java SDK example to
C++ and add a GNU Makefile for the build.

Change-Id: I24da0422014e42f844cae21863d54301dd902f0e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159740
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2023-11-21 00:50:15 +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
Andrea Gelmini eded77b8e0 Fix typo
Change-Id: I064aa3c54650904671a312eadbe8e77b26ae141a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158913
Tested-by: Jenkins
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-11-04 04:59:53 +01:00
Noel Grandin 41d9584179 'new Double' is deprecated in Java
replace with Double.valueOf

Change-Id: If5be8e500e31ebf9d5fb20ea7dd474677d7c74ff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158785
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-02 12:00:34 +01:00
Noel Grandin cb982f1479 'new Float' is deprecated in Java
replace with Float.valueOf

Change-Id: Ib6408b24dac2953789d0ec67e73b8be8aefca252
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158784
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-02 12:00:24 +01:00
Stephan Bergmann 819f87faee Explicitly build the ODK examples against C++03
...similarly to how CppunitTest_odk_checkapi already builds with C++03 to detect
inadvertent uses of newer features in code that is meant to be still compatible
with C++03.  And fix any uses of newer features that had already crept in.

Change-Id: I9fb4013099c1dff2c1ad5fba8fc93d9aa4efbde8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158523
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-27 11:16:00 +02:00
apurvapriyadarshi 31ca96ff30 tdf#146150 Use dispatch cmd for the corresponding SID
Change-Id: I0d987a8b10f2c69192d080b534a1d6aa71a6cf4d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157105
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-09-25 13:04:27 +02:00
Hossein 930f0aa232 tdf#157273 Port DevelopersGuide/FirstSteps examples to BASIC
These 3 examples from the chapter 1 of the DevGuide are ported to BASIC:

1) FirstUnoContact
2) FirstLoadComponent
3) HelloTextTableShape

More details can be found in the LibreOffice DevGuide:

LibreOffice Developer's Guide: Chapter 1 - First Steps
https://wiki.documentfoundation.org/Documentation/DevGuide/First_Steps

Change-Id: I577ad81d76cec06102f00b2646b004caa5f7b401
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156976
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2023-09-16 15:08:31 +02:00
Hossein 7dc3be651b tdf#143123 Port DevelopersGuide/FirstSteps/FirstLoadComponent to Python
Porting FirstSteps/FirstLoadComponent.java to Python is done. More
information on this example can be found on LibreOffice DevGuide:

LibreOffice Developer's Guide: Chapter 1 - First Steps - First Contact
https://wiki.documentfoundation.org/Documentation/DevGuide/First_Steps

This is the last of the 3 examples in the first chapter which are ported
to Python.

Change-Id: Iac0682943d4286168bbdadf792423670f41bdee6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156686
Tested-by: Hossein <hossein@libreoffice.org>
Reviewed-by: Hossein <hossein@libreoffice.org>
2023-09-08 10:16:06 +02:00
Chenxiong Qi 10fac0f7f7 tdf#143123 Port DevelopersGuide/FirstSteps/HelloTextTableShape to Python
Signed-off-by: Chenxiong Qi <qcxhome@gmail.com>
Change-Id: Ifb5639369c4af1db27ccb5a93dfad093ce7403b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146819
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2023-04-18 14:33:09 +02:00
Stephan Bergmann 6c08211a2a Remove remaining STL_INCLUDES
...that 1628005298 "Trying to remove the stlport
mention from the code" didn't catch

Change-Id: I271d7760d2b2dd25c0fa27489a8ddf455963d970
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147213
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-02-17 14:29:42 +00:00
Adolfo Jayme Barrientos 56cc13e854 Bump copyright year to 2023
Change-Id: I699112a3e554013bab75b82d1eae00098216c886
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144893
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-01-01 10:12:56 +00:00
Stephan Bergmann dcded5774c Drop poor @attention paragraph
For one, Javadoc (unlike Doxygen) doesn't support @attention, so this caused a

> Generating workdir/CustomTarget/odk/docs/java/ref/help-doc.html...
> Note: Custom tags that could override future standard tags:  @attention. To avoid potential overrides, use at least one period character (.) in custom tag names.
> Note: Custom tags that were not seen:  @attention

warning during the build.  And for another, that paragraph was phrased in poor,
broken English and didn't add much value anyway.

Change-Id: I603170ec262d042e92bdff38ae415dda0bcc28bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137053
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-07-14 14:03:35 +02:00
Stephan Bergmann 5687eba49f Drop obsolete preprocessor directives from UNOIDL files
...which were used by ildc, which is gone since
a8485d558f "[API CHANGE] Remove deprecated idlc
and regmerge from the SDK", and have always been ignored as legacy by its
unoidl-write replacement.

This change has been carried out (making use of GNU sed extensions) with

> for i in $(git ls-files \*.idl); do sed -i -z -E -e 's/\n\n((#[^\n]*\n)+\n)*(#[^\n]*\n)+\n?/\n\n/g' -e 's/\n(#[^\n]*\n)+/\n/g' "$i"; done && git checkout extensions/source/activex/so_activex.idl odk/examples/OLE/activex/so_activex.idl

which apparently happened to do the work.  (The final two files are not UNOIDL
source files.)

Change-Id: Ic9369e05d46e8f7e8a304ab01740b171b92335cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135683
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-13 16:27:45 +02:00
Hossein b6e0ae1b1b Add Makefile for the FirstUnoContact C++ SDK example
Add Makefile for the DevelopersGuide/FirstUnoContact C++ SDK example.
The example now can be built using the same process for other C++
exmaples.

The DevelopersGuide examples will be categorized into several
directories, according to the language:

basic cxx java python

This requires that all examples ported to each of these languages.

Change-Id: I95c5c324fef66664836b5e07bf34c98117e6b478
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134596
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2022-05-25 09:02:29 +02:00