Extension in Java

Cedric Bosdonnat cbosdonnat at suse.com
Thu Mar 27 01:05:03 PDT 2014


Hello Adriam,

You at least miss the manifest file in your sources: this will tell
LibreOffice, what the jar file is a UNO component. And in that JAR file
IIRC, you need to define a registration class. You can have a look at
how it's implemented in the Eclipse extension:

http://bosdonnat.fr/pages/libreoffice-eclipse.html

Here you have an example of manifest file:
https://github.com/cbosdo/coooder/blob/master/ant/manifest.xml

You JAR manifest file needs to contain a special entry. See how it is
set in Coooder:
https://github.com/cbosdo/coooder/blob/master/ant/build.xml#L133

I hope it will help you.
--
Cedric

On Wed, 2014-03-26 at 11:07 -0400, Adriam Delgado Rivero wrote:
>  Hello, here you have the extension and the code in java, (OtraMas.java is onli for test the code in netbeans).
>  Thanks.
> ________________________________________________________________________________________________
> I Conferencia Científica Internacional UCIENCIA 2014 en la UCI del 24 al 26 de abril de 2014, La Habana, Cuba. Ver http://uciencia.uci.cu




More information about the LibreOffice mailing list