Andrea wrote:
> Steffen Grund wrote:
>>> Especially getDisplayArgumentName() and getArgumentDescription()
>>> require some table to map the
>>> function name (aProgrammaticName) and the argument id (nArgument) to
>>> the argument name and description.
>> No, you do not have to implement XAddIn. As far as I know, the AddIn
>> service is an older concept for providing the information that is now
>> stored in the CalcAddIns.xcu file. As Jürgen stated in a previous mail,
>> this has the advantage of not having to load the whole component for
>> accessing simple text information.
>> I do not have a link to an example for this, I am afraid. Perhaps
>> someone else can help here?
>> If you have used
>> http://wiki.services.openoffice.org/wiki/Calc/Add-In/CompleteAddIn
>> as a template, I fear that example should be updated.
> 
> That is new to me. I mush have missed the point where XAddIn is optional and, 
> yes, I have followed
> that template + the SimpleCalcAddin (where the is an other subtle error to do 
> with the linker).
> Things should get easier without this interface.
> I will try to remove it and report what happens.
> 
> 
> Andrea

I have removed

 interface com::sun::star::sheet::XAddIn;

from my IDL, which now looks like

        service Service
        {
            interface XMaths; <<<<<<<<<<<<<< This is my interface 
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
            interface com::sun::star::lang::XInitialization;
            interface com::sun::star::lang::XServiceName;
            //      interface com::sun::star::sheet::XAddIn;
        };

but now in OOCalc all my formulae appear as

=org.asi.Service.black()

instead of =BLACK()

and the result is #NAME?

I see you don't have an example, maybe there exists some documentation. What 
are the xcu files?
I want to use C++, but an example in Java could work as well.

Andrea


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to