Lines Matching refs:sStr
659 String sStr; in SvNumberformat() local
664 eSymbolType = ImpNextSymbol(rString, nPos, sStr); in SvNumberformat()
682 xub_StrLen nAnzChars = ImpGetNumber(rString, nPos, sStr); in SvNumberformat()
686 if (!pISc->IsNumberFormat(sStr,F_Type,fNumber) || in SvNumberformat()
729 Color* pColor = pSc->GetColor( sStr); in SvNumberformat()
730 NumFor[nIndex].SetColor( pColor, sStr); in SvNumberformat()
767 sStr.AssignAscii( RTL_CONSTASCII_STRINGPARAM( "NatNum" ) ); in SvNumberformat()
770 sStr += String::CreateFromInt32( nNum ); in SvNumberformat()
792 sStr.AssignAscii( RTL_CONSTASCII_STRINGPARAM( "DBNum" ) ); in SvNumberformat()
795 sStr += static_cast< sal_Unicode >('0' + nNum); in SvNumberformat()
810 LanguageType eLang = ImpGetLanguageType( sStr, nTmp ); in SvNumberformat()
818 sStr.AssignAscii( RTL_CONSTASCII_STRINGPARAM( "$-" ) ); in SvNumberformat()
819 … sStr += String::CreateFromInt32( sal_Int32( eLang ), 16 ).ToUpperAscii(); in SvNumberformat()
829 rString.Insert(sStr,nPosOld); in SvNumberformat()
830 nPos = nPosOld + sStr.Len(); in SvNumberformat()
848 if (sStr.Len() == 0) in SvNumberformat()
853 xub_StrLen nStrPos = pSc->ScanFormat( sStr, aComment ); in SvNumberformat()
865 sStr.Insert( aNat, 0); in SvNumberformat()
892 sStr.Insert( aLID, 0); in SvNumberformat()
896 rString.Insert(sStr,nPosOld); in SvNumberformat()
897 nPos = nPosOld + sStr.Len(); in SvNumberformat()
2226 String sStr, sFrac, sDiv; // Strings, Wert fuer in GetOutputString() local
2420 sStr.Erase(); in GetOutputString()
2423 sStr.Erase(); in GetOutputString()
2428 sStr.AssignAscii( aBuf ); in GetOutputString()
2429 ImpTransliterate( sStr, NumFor[nIx].GetNatNum() ); in GetOutputString()
2474 sStr.Erase(); in GetOutputString()
2477 k = sStr.Len(); // hinter letzter Ziffer in GetOutputString()
2478 bRes |= ImpNumberFillWithThousands(sStr, fNumber, k, j, nIx, in GetOutputString()
2483 OutString += sStr; in GetOutputString()
2497 String sStr( ::rtl::math::doubleToUString( fNumber, in GetOutputString() local
2503 xub_StrLen nExPos = sStr.Search('E'); in GetOutputString()
2508 switch ( sStr.GetChar( nExpStart ) ) in GetOutputString()
2517 ExpStr = sStr.Copy( nExpStart ); // part following the "E+" in GetOutputString()
2518 sStr.Erase( nExPos ); in GetOutputString()
2519 sStr.EraseAllChars('.'); // cut any decimal delimiter in GetOutputString()
2560 sStr.Erase(); in GetOutputString()
2563 k = sStr.Len(); // hinter letzter Ziffer in GetOutputString()
2564 bRes |= ImpNumberFillWithThousands(sStr,fNumber, k,j,nIx, in GetOutputString()
2569 sStr.Insert('-',0); in GetOutputString()
2570 OutString = sStr; in GetOutputString()
3473 String sStr; in ImpGetNumberOutput() local
3494 sStr = ::rtl::math::doubleToUString( fNumber, in ImpGetNumberOutput()
3497 sStr += '0'; in ImpGetNumberOutput()
3500 sStr = ::rtl::math::doubleToUString( fNumber, in ImpGetNumberOutput()
3502 sStr.EraseLeadingChars('0'); // fuehrende Nullen weg in ImpGetNumberOutput()
3511 sStr = ::rtl::math::doubleToUString( fNumber, in ImpGetNumberOutput()
3513 sStr.EraseLeadingChars('0'); // fuehrende Nullen weg in ImpGetNumberOutput()
3515 xub_StrLen nPoint = sStr.Search( '.' ); in ImpGetNumberOutput()
3518 register const sal_Unicode* p = sStr.GetBuffer() + nPoint; in ImpGetNumberOutput()
3523 sStr.Erase( nPoint, 1 ); // . herausnehmen in ImpGetNumberOutput()
3526 (sStr.Len() == 0 || sStr.GetTokenCount('0') == sStr.Len()+1)) // nur 00000 in ImpGetNumberOutput()
3532 k = sStr.Len(); // hinter letzter Ziffer in ImpGetNumberOutput()
3548 sStr.Insert( (sal_Unicode) 0x1B, k /*++*/ ); in ImpGetNumberOutput()
3549 sStr.Insert(rInfo.sStrArray[j].GetChar(1),k); in ImpGetNumberOutput()
3554 /*k = */ InsertBlanks( sStr,k,rInfo.sStrArray[j].GetChar(1) ); in ImpGetNumberOutput()
3559 sStr.Insert(rInfo.sStrArray[j],k); in ImpGetNumberOutput()
3563 sStr.Insert(rInfo.sStrArray[j],k); in ImpGetNumberOutput()
3574 if ( sStr.GetChar(k) != '0' ) in ImpGetNumberOutput()
3583 sStr.SetChar( k, '-' ); in ImpGetNumberOutput()
3588 sStr.SetChar( k, ' ' ); in ImpGetNumberOutput()
3592 sStr.Erase(k,1); in ImpGetNumberOutput()
3598 sStr.Insert(rScan.GetCurAbbrev(), k); in ImpGetNumberOutput()
3605 sStr.Insert(sNum, k); in ImpGetNumberOutput()
3615 bRes |= ImpNumberFillWithThousands(sStr, fNumber, k, j, nIx, // ggfs Auffuellen mit . in ImpGetNumberOutput()
3621 if ( sStr.Len() > nLen && sStr.Equals( rDecSep, sStr.Len() - nLen, nLen ) ) in ImpGetNumberOutput()
3622 sStr.Erase( sStr.Len() - nLen ); // no decimals => strip DecSep in ImpGetNumberOutput()
3625 sStr.Insert('-',0); in ImpGetNumberOutput()
3626 ImpTransliterate( sStr, NumFor[nIx].GetNatNum() ); in ImpGetNumberOutput()
3627 OutString = sStr; in ImpGetNumberOutput()
3632 String& sStr, // number string in ImpNumberFillWithThousands() argument
3660 sStr.Insert(rInfo.sStrArray[j],k); in ImpNumberFillWithThousands()
3668 sStr.Insert( (sal_Unicode) 0x1B, k/*++*/ ); in ImpNumberFillWithThousands()
3669 sStr.Insert(rInfo.sStrArray[j].GetChar(1),k); in ImpNumberFillWithThousands()
3674 /*k = */ InsertBlanks( sStr,k,rInfo.sStrArray[j].GetChar(1) ); in ImpNumberFillWithThousands()
3695 sStr.Insert(rInfo.sStrArray[j],k); in ImpNumberFillWithThousands()
3724 sStr.Insert(' ',k); in ImpNumberFillWithThousands()
3727 sStr.Insert(rInfo.sStrArray[j],k); in ImpNumberFillWithThousands()
3749 sStr.Insert('0',0); in ImpNumberFillWithThousands()
3752 sStr.Insert(' ',0); in ImpNumberFillWithThousands()
3758 ImpDigitFill(sStr, 0, k, nIx, nDigitCount, aGrouping); in ImpNumberFillWithThousands()
3764 sStr.Insert(rScan.GetCurAbbrev(), k); in ImpNumberFillWithThousands()
3771 sStr.Insert(sNum, k); in ImpNumberFillWithThousands()
3782 ImpDigitFill(sStr, nLeadingStringChars, k, nIx, nDigitCount, aGrouping); in ImpNumberFillWithThousands()
3787 String& sStr, // number string in ImpDigitFill() argument
3801 sStr.Insert( rThousandSep, k ); in ImpDigitFill()
3812 sal_Bool SvNumberformat::ImpNumberFill( String& sStr, // number string in ImpNumberFill() argument
3820 k = sStr.Len(); // behind last digit in ImpNumberFill()
3832 sStr.Insert( sal_Unicode(0x1B), k++ ); in ImpNumberFill()
3833 sStr.Insert(rInfo.sStrArray[j].GetChar(1),k); in ImpNumberFill()
3838 k = InsertBlanks( sStr,k,rInfo.sStrArray[j].GetChar(1) ); in ImpNumberFill()
3853 sStr.Insert(rInfo.sStrArray[j],k); in ImpNumberFill()
3871 sStr.Insert('0',0); in ImpNumberFill()
3874 sStr.Insert(' ',0); in ImpNumberFill()
3882 sStr.Insert(rScan.GetCurAbbrev(), k); in ImpNumberFill()
3889 sStr.Insert(sNum, k); in ImpNumberFill()
3894 sStr.Insert(rInfo.sStrArray[j],k); in ImpNumberFill()