<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FILESAVE XLSX, One of the cell changes its textcolor to blue for no apparent reason."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122110#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FILESAVE XLSX, One of the cell changes its textcolor to blue for no apparent reason."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122110">bug 122110</a>
              from <span class="vcard"><a class="email" href="mailto:gang65@poczta.onet.pl" title="Bartosz <gang65@poczta.onet.pl>"> <span class="fn">Bartosz</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>