Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Marcin, hope you don't mind I bring this back to the public mailing list. I'm no expert with Calc add-ins, so we should make sure I'm not telling nonsense:

On 10/21/2011 05:42 PM, MarcinGutman wrote:
Sorry, not sure what you want to tell me with the above.


If you create Java Calc Add-In you have a Java function.
There is also an IDL file that reflects definition of Java function.
Parameters types are mapped from Java to IDL
If Java parameter is "int" in IDL you put "long".
If Java parameter is "long" in IDL you put "hyper" or "unsigned hyper".
If you put "hyper" there is a mentioned problem.
If you put "unsigned hyper" there is no problem.

So there are three cases:
1) A comedy: it's only my box.
2) A drama: bug in SDK i.e. "only" new Calc Add-Ins are affected.
3) A horror: bug in LOo i.e. all existing Calc Add-Ins are affected.

Due to 3) somebody should check it.

As I wrote at <https://bugs.freedesktop.org/show_bug.cgi?id=42005#c1>, Calc add-ins do not support functions that take or return UNO type hyper.

So I think that explains why an add-in using hyper in the .idl file does not work.

Why, however, it should work if the .idl file instead uses unsigned hyper I do not know.

-Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.