Hello Irné,

On Thursday 22 October 2009, 11:44, Irné Barnard wrote:
> I'm trying to create some custom number formats for calc. In particular
> to fix issue 5930. I've already created some add-on functions to
> "format" numbers by converting them to strings and back. I'd like to
> create an extra format type (instead of conversion functions) in the
> properties dialog so the user could select this, instead of modifying
> the formula.
> 
> Unfortunately this would be my first attempt at this level of extension
> to OOo. Going through the API documentation I'm a bit confused by the
> *Number Format**** services, interfaces & constant.

the API specification is that, an specification, and so abstract. But it you go 
to the specification for example 
http://api.openoffice.org/docs/common/ref/com/sun/star/util/NumberFormats.html 
you'll find links to the Developer's Guide

http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Number_Formats

where things are explained in detail (at least on this case)

> It appears to be
> impossible to add another number format type.

yes, it is possible (but at document level, as stated in the Dev's Guide).

Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to