https://bugs.documentfoundation.org/show_bug.cgi?id=146404

--- Comment #4 from Eike Rathke <er...@redhat.com> ---
(In reply to Laurent Balland from comment #3)
> - not preserved in ODS format on export (as it is not defined in ODF)
Yes it is:

    <number:number-style style:name="N117">
      <style:text-properties fo:color="#00a933"/>
      <number:number number:decimal-places="1" number:min-decimal-places="1"
number:min-integer-digits="1"/>
    </number:number-style>

But it's not mapped back (if that would be possible at all i.e. in the current
colour palette) to [COLOR23] when reading nor does the format code allow for
something like [00a933]. Only the 10 predefined [BLACK], [BLUE], ... colour
values are mapped.

Code pointers:
https://opengrok.libreoffice.org/xref/core/xmloff/source/style/xmlnumfi.cxx?r=46b7fd59#208
https://opengrok.libreoffice.org/xref/core/xmloff/source/style/xmlnumfi.cxx?r=46b7fd59#2082

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to