Date: prev next · Thread: first prev next last


Hello,

I am writing a pyUNO calc addin with a function that receive two args: a
cell with a number and a cellrange with strings. After consulting the basic
documentation and some samples, I've implemented a draft without luck. When
I use my function in a sheet, a #VALUE! is what I get.

Here is the idl declarations (both failed):

string calcFunc ( [in] double number, [in] any strMatrix );
//string calcFunc ( [in] double number, [in] sequence< sequence< string >>
strMatrix );

Here is the pyUNO method:

def calcFunc (self, number, strMatrix):
    # ... very simple processing ...
    return ret

As other functions with basic types as parameters work as expected, I think
that my idl calcFunc() signature is wrong. But I have no idea on how to fix
it. Any help will be apreciated.

Thanks and sorry my english.

--
Noelson

-- 
Você está recebendo e-mails da lista dev@pt-br.libreoffice.org
# Informações sobre os comandos disponíveis (em inglês):
  mande e-mail vazio para dev+help@pt-br.libreoffice.org
# Cancelar sua assinatura: mande e-mail vazio para:
  dev+unsubscribe@pt-br.libreoffice.org
# Arquivo de mensagens: http://listarchives.libreoffice.org/pt-br/dev

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.