Re: [Libreoffice] source Java

2011-05-06 Thread Michael Meeks
Hi Luiz,

On Tue, 2011-05-03 at 16:36 +0200, Jesús Corrius wrote:
 I am making a library of advanced engineeringcalculations (polynomial
 of degree greater thanseven (real and complex roots), theorem
 newtow, discards) among other functions

Cool :-)

 but the source codeis in java

Not so cool :-)

 and would provide the libreoffice make it possible for scientists
 and engineers use. So I would know how to do this integration and
 isallowed?.

If we're going to bundle this stuff, I would strongly prefer it to be
in C++ in this instance here are few reasons why:

* performance - marshalling each function call and arguments
  via UNO to Java is a disaster: so for heavy engineering
  function usage, this is not a good idea.

* dependencies - lots of (particularly Windows) users don't
  have Java, and things that require it create very annoying
  usability problems

* re-factoring #2 - I (for one) have plans to re-write the
  calc computation  storage engine to be substantially faster,
  this may require a chunk of re-work to functions themselves,
  across languages that is harder.

So - if you can write in C++, and are happy with the MPL/LGPLv3+
dual-license, I'd love to get your stuff included.

Do you have a build of LibreOffice ? I'd recommend getting one first -
that is easiest on Linux. Then poke around inside
sc/source/core/tool/interpr*.cxx to see how some existing functions work
I suppose :-)

HTH,

Michael.

-- 
 michael.me...@novell.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] source Java

2011-05-03 Thread Luiz Henrique Natalino
how to insert an encoded source libreoffice in JAVA?

-- 
Att. Luiz Henrique Natalino
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] source Java

2011-05-03 Thread Jesús Corrius
Hello Luiz,

On Tue, May 3, 2011 at 1:40 PM, Luiz Henrique Natalino
luizhenriquenatal...@gmail.com wrote:
 how to insert an encoded source libreoffice in JAVA?

Can you give us a more detailed example of what you want to do?

Thanks,

-- 
Jesús Corrius je...@softcatala.org
Document Foundation founding member
Mobile: +34 661 11 38 26
Skype: jcorrius | Twitter: @jcorrius
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice