Version of Java configured in the LibreOffice Options

2025-04-20 Thread Pierre Vacher
Hi all, I'm looking for a way to get the Java version configured in LibreOffice options (ie: Tools -> Options -> LibreOffice -> Advanced -> Java Options) and this using the UNO IDL if any exists obviously. Thanks for your advice. Pierre

DriverManager and passive registration doesn't work

2025-04-03 Thread Pierre Vacher
Hi all, Well, I confirm that the css.sdbc.DriverManger service can't see or load drivers declared in passive mode. I have two extensions that differ only in the registration mode, i.e., the files: - package.components - META-INF/manifest.xml And in passive mode, the connection pool (i.e., Tools

Support for Java instrumentation

2025-03-17 Thread Pierre Vacher
Hi all, I am looking for a reviewer to validate PR#165774 . Thanks.

Re: Add Instrumentation to the LibreOffice JVM

2025-02-04 Thread Pierre Vacher
I can't find it, but I found this file: libreoffice/stoc/source/javavm/javavm.cxx It's not him who loads the JVM? Le mar. 4 févr. 2025 à 06:20, Noel Grandin a écrit : > > On Mon, 3 Feb 2025 at 22:16, Pierre Vacher wrote: > >> And I think I found where the JVM is lo

Re: Add Instrumentation to the LibreOffice JVM

2025-02-03 Thread Pierre Vacher
name of the archive and the name of the Java package? Thank you for your help. Pierre. Le lun. 3 févr. 2025 à 06:55, Noel Grandin a écrit : > Sounds quite reasonable to add this to the core product behind an option. > > On Sat, 01 Feb 2025 at 21:18, Pierre Vacher wrote: > >>

Add Instrumentation to the LibreOffice JVM

2025-02-01 Thread Pierre Vacher
Hi all, I would like to add the Java Instrumentation API to the extensions running under LibreOffice and written in Java. After some testing, I manage to load the Instrumentation

How LibreOffice load a service from a Java JAR

2025-01-28 Thread Pierre Vacher
Hi all, I would like to see the code that allows to load a UNO service that we added to the UNO API by a Java JAR file through for example an extension. The goal is to know how the Java JAR archive is loaded. I searched for *RegistrationHandler* in the source code but it does not give anything?

Python integration in LibreOffice 24.2 and 24.8

2025-01-20 Thread Pierre Vacher
Hi all, It seems that starting with LibreOffice for Linux version 24.2, Python is shipped with LibreOffice. - LibreOffice for Linux 24.2 offers Python 3.8. - LibreOffice for Linux 24.8 offers Python 3.9. If I go into the program folder of LibreOffice 24.8 for Linux and launch the Python interpre

LibreOffice 24.8 and python package with binary file

2025-01-15 Thread Pierre Vacher
Hi all, With LibreOffice 24.8 I am again faced with the problem that is referenced by issue #159988 and I can no longer load Python packages that have binary files. When installing the extension a message appears on the console: *Could

Re: idlc with LibreOffice SDK 24.8

2025-01-15 Thread Pierre Vacher
e tool compresses two steps into > one, so the Makefile editing is more than just dropping in the new tool. > > Adam > > On Wed, Jan 15, 2025 at 11:17 AM Stephan Bergmann < > stephan.bergm...@allotropia.de> wrote: > >> On 1/15/25 19:26, Ilmari Lauhakangas wrote: >

idlc with LibreOffice SDK 24.8

2025-01-15 Thread Pierre Vacher
Hi all, I try to use the LibreOffice SDK 24.8 with LOEclipse. When I try build the extension LOEclipse says it can't find the *idlc* file and indeed this file is not delivered with the SDK. Did I miss something? Thanks.

[LibreOffice/LOEclipse] Where is the code that manages the package.properties file?

2024-12-17 Thread Pierre Vacher
Hi all, Apparently an endless loop occurs when in LOEclipse you try to add or remove files from the *package.properties* file. This only happens for Python projects and works fine if the project is Java. Maybe someone knows where the code is that allows this? Thanks.

[LibreOffice/loeclipse] How to build

2024-12-16 Thread Pierre Vacher
Hi all, I'm trying to build *loeclipse* and I get errors when I run the command in the build folder: ant -Dlibreoffice.home=/lib/libreoffice -Declipse.home=/home/prrvchr/eclipse/commiter-2024-12/eclipse The message I get: Buildfile: /home/prrvchr/github/loeclipse/build/build.xml > Trying to ov

LOEclipse cannot build oxt with filenames containing spaces

2024-12-14 Thread Pierre Vacher
Hi all, I am facing a problem in LOEclipse that does not allow to build the oxt file using *ant* if there are files whose name includes spaces. See issue#117 for more details. I found a trick to take care of this problem and I propose the pull

Looking for reviewers

2024-11-25 Thread Pierre Vacher
Hi all, I try to fix bug#164040 with the pull request: tdf#164040 add XGridDataListener type to SortableGridDataModel service . Could someone please take the time to review this patch? Th

SortableGridDataModel cannot be notified for changes

2024-11-23 Thread Pierre Vacher
Hi all, I try to use the SortableGridDataModel service with the help of my own XMutableGridDataModel i

Re: Table copy wizard in Libreoffice Base

2024-09-27 Thread Pierre Vacher
Page.cxx Yes, that's exactly it. Thank you very much. Le ven. 27 sept. 2024 à 17:36, Caolán McNamara < caolan.mcnam...@collabora.com> a écrit : > On Fri, 2024-09-27 at 14:45 +0200, Pierre Vacher wrote: > ... > > When pasting into Base, LibreOffice opens a wizard that c

Table copy wizard in Libreoffice Base

2024-09-27 Thread Pierre Vacher
Hi all, I have problems copying a range of Calc cells into Base with my JDBCDriverOOo driver and this only under Windows. When pasting into Base, LibreOffice opens a wizard that can eventually create a table and copy the Calc data. I can't explain why this wizard works well under Linux but not u

Re: Which GUI toolkit should I learn so that I can "Hack the UI"

2024-05-06 Thread Pierre Vacher
I have extensions which display dialog windows in LibreOffice and which use neither GTK nor QT but only the UNO API. see: https://prrvchr.github.io/ One of the advantages is that the UNO API allows me to manage all my dialogs in Python... Le lundi 6 mai 2024, Michael Weghorn a écrit : > On 2024

Fix 165948

2024-04-15 Thread Pierre Vacher
Hi all, I need your help. I would like cherry pick tdf#156471 to 7.6.7 So I created Fix#165948 , however there are only a few days left to validate it. Thank you if you can validate it.

Re: ERROR: Published UNO API must not be changed incompatibly! tdf#51779

2024-04-13 Thread Pierre Vacher
I manage DateTimeWithTimezone in jdbcDriverOOo . I haven't touched the idl but I use the getter and setter getObject()

Re: copy part of text from api

2024-04-13 Thread Pierre Vacher
Otherwise, to insert data into a Writer document, merge fields are used. It is independent of the content (odt, html) however you need XRowSet or XResultSet as input... Le sam. 13 avr. 2024 à 19:29, Andrew Pitonyak a écrit : > I will not have access to check (probably only my phone for a week or

Base relationships management fix

2024-04-13 Thread Pierre Vacher
Hi all, I am looking for a reviewer to correct the fact that Base cannot create foreign keys on tables that are not in the default catalog and/or schema. see: *Bug 160375* - Base does not manage relationships outside the default catalog

Reviewers for Bug 160375 - Base does not manage relationships outside the default catalog/schema

2024-03-28 Thread Pierre Vacher
Hi all, I would like to fix bug 160375 . I propose PR 165367 , I am looking for reviewers to validate it. Thanks.

Re: Adding an implemented UNO interface

2023-09-05 Thread Pierre Vacher
If I modify TConnection.hxx to derive from XConnection2 instead of Xconnection, and implement the new XConnection2 methods in all connection objects relying on TConnection.hxx then the compilation passes but fails in testing... I have access in Base to the default schema (ie: XConnection2.getSchem

Pierre Vacher license statement

2023-07-28 Thread Pierre Vacher
All of my past & future contributions to LibreOffice may be licensed under the MPLv2/LGPLv3+ dual license. Pierre Vacher