https://bugs.freedesktop.org/show_bug.cgi?id=42005
Bug #: 42005
Summary: Calc Add-In functions can not handle parameters of
"hyper" type.
Classification: Unclassified
Product: LibreOffice
Version: LibO 3.4.3 release
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Extensions
AssignedTo: [email protected]
ReportedBy: [email protected]
Create Java Calc Add-In project in NetBeans. Create a Java function with a
parameter of type "long". Map this parameter in IDL file using "hyper" type.
Create and install an extension. Function doesn't work and parameter is not
visible in Function Wizard:
Java function:
==============
public int fName2(long p1) {
return 42;
}
IDL map:
=========
Java <=> IDL
"int" <=> "long"
"long" <=> "hyper"
long fName2([in] hyper p1);
Workaround:
============
Use "Object"
public int fName2(Object p1) {
return 42;
}
and it map as "any":
long fName2([in] any p1);
It's not perfect because "any" type is visible as "optional" parameter in
Function Wizard.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs