Niklas Nebel escribió:
On 07/26/08 06:05, Ariel Constenla-Haile wrote:
* create a Calc doc and add apply your function to some cell/s. The best
way is not to use the user interface name of the function ("DisplayName"
in the CalcAddIns.xcu) but to use the fully qualified service/impl. name
+ function name, for example

=ar.com.arielconstenlahaile.addindemo.DocCellAccessAddIn.rgb(D1;A1;B1;C1;TRUE())

unfortunately this can't be done manually in the GUI, because OOo Calc
will convert all letters to small-case, and then your add-in will not be
instantiated (as there will be no such service named
ar.com.arielconstenlahaile.addindemo.doccellaccessaddin to instantiate).
So you have to use setFormula() on every cell you want [you can do this
faster with OOo Basic instead of using Java]

That doesn't make a difference. You can just create the document using the GUI and the display name. The fully qualified name will still be used when saving the file.

Well... the display name will be converted to the fully qualified name *only* if you *first* install the add-in; but here I'm suggesting *not* to install anything in the current OOo installation, but use instead the NB plug-in debugging feature that creates a temporal user dir. in the "build" folder. So this *does* make in fact a difference.



--
Ariel Constenla-Haile
La Plata, Argentina

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.ArielConstenlaHaile.com.ar/ooo/



"Aus der Kriegsschule des Lebens
                - Was mich nicht umbringt,
        macht mich härter."
                Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.


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

Reply via email to