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

--- Comment #9 from Bartosz <[email protected]> ---
The source code responsible for exporting "numFmt":
        <numFmt numFmtId="165"
formatCode="[Red][&lt;=0.9]#.#%;[Blue][&gt;1.1]#.#%;#.#%"/>

is available at sc/source/filter/excel/xestyle.cxx:

    rStyleSheet->singleElement( XML_numFmt,
            XML_numFmtId,   OString::number( mnXclNumFmt ).getStr(),
            XML_formatCode, OUStringToOString(maNumFmtString,
RTL_TEXTENCODING_UTF8).getStr(),
            FSEND );

And the set of "maNumFmtString" string is in:
    pNumFormat.reset(new XclExpNumFmt( nScNumFmt, nXclNumFmt,
GetNumberFormatCode( *this, nScNumFmt, xFormatter.get(), mpKeywordTable.get()
)));

So the interesting method for check is:
SvNumberFormatter::GetFormatStringForExcel
in svl/source/numbers/zforlist.cxx file.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to