I’m working on a Calc addin written in python and dealing with arrays of strings. This addin works fine under OpenOffice. It seems to work the same on LibreOffice, but when I test equality between the strings returned by the addin function, I get always “FALSE”, even when it is as obvious as
Code: Select all
=MYFUNCTION(“abc”) = MYFUNCTION(“abc”)
I’ve built a minimal addin for test, with a PYSTRINGTEST function that simply returns a string argument unmodified. The idl is
Code: Select all
#include <com/sun/star/uno/XInterface.idl>
module org { module pystrings { module pystringtest {
interface XPyStringTest
{
sequence< sequence< string > > pystringtest( [in] sequence< sequence< string > > teststring);
};
}; }; };
Code: Select all
def pystringtest(self, teststring):
s = teststring
return s
A big thanks for any help...