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. It appears to be
impossible to add another number format type.
The one I want to add most is Engineering Format, which would be a
variant on Scientific Format = 32. Could someone please give me an
indication of how to go about this, or even if I'm on the right track.
I'd prefer to write the extension in Java / sBasic ... but if needs must
I can flip to C++, will just have to dust off that 10 year old part of
my brain :-D .
--
Regards Irné Barnard
- [api-dev] HowTo Customize Number Formats Irné Barnard
-