Regina. I'm writing this email just to say "thank you" again. About the idea of rewriting math function using string. I may do it but just for fun, not for a serious use. ;-) Regards Alex Mitsio Sato On Fri, Jul 6, 2012 at 10:13 AM, Regina Henschel <rb.henschel@t-online.de>wrote:
But can you tell me how to call Calc functions inside the macro?I searched in docs and in the Google and don't found any clue.It is done with the service FunctionAccess, see http://api.libreoffice.org/docs/common/ref/com/sun/star/sheet/FunctionAccess.htmland the there linked section in the Developers guide. If you search for createUnoService("com.sun.**star.sheet.FunctionAccess") you will get a lot of relevant hits.By the way, just now I tought the possibility to rewrite math functions using "string" to encode the number to avoid error because I remembered BCD. :-)What is your goal? There is no silver bullet that fits all problems, but perhaps you can get a helpful tip or trick. Kind regards Regina -- For unsubscribe instructions e-mail to: users+help@global.libreoffice.** org <users%2Bhelp@global.libreoffice.org> Problems? http://www.libreoffice.org/**get-help/mailing-lists/how-to-** unsubscribe/<http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/> Posting guidelines + more: http://wiki.**documentfoundation.org/** Netiquette <http://wiki.documentfoundation.org/Netiquette> List archive: http://listarchives.**libreoffice.org/global/users/<http://listarchives.libreoffice.org/global/users/> All messages sent to this list will be publicly archived and cannot be deleted
-- For unsubscribe instructions e-mail to: users+help@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted