Hi Christian,
Christian Junker schrieb:
Hi Peter,
actually I am not sure about your statement:
"""
I've written some global macros as calc functions, and calc functions
must be located in the standard library.
"""

Where did you get to hear that and what are the services and
interfaces you use? I have never heard that any kind of interface or
service needs to be in the Standard library to work correctly and I
was just reading the Developer's Guide out of curiosity about your
statement and there doesn't seem to be any hint that the Standard
library needs to be used. So probably it would be good to see some
code, I guess you work with css::sheet::FunctionAccess and/or
css::sheet::Addin and their related interfaces.

you can reproduce this simple.
Type a three line function MyFunction() in any module of the Standard library. Open a calc document and type the function in a cell. You will get as result the return of the function.
Now move the function to another (loaded) library and try again.

You can't specify the function call in the cell like =MyLibrary.MyModul.MyFunction()

There's no need for an addin for simple functions.

And btw, if you use such a document as template, the cells are not updated automatically nor with GUI. Doc.CalculateAll() will do it.


Regards

Peter

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

Reply via email to