Lines Matching refs:nPos
492 xub_StrLen nPos = sString.Match(rColorWord); in GetColor() local
493 if (nPos > 0) in GetColor()
495 sStr.Erase(0, nPos); in GetColor()
506 sString.Erase(0, nPos); in GetColor()
536 short ImpSvNumberformatScan::GetKeyWord( const String& sSymbol, xub_StrLen nPos ) in GetKeyWord() argument
538 String sString = pFormatter->GetCharClass()->toUpper( sSymbol, nPos, sSymbol.Len() - nPos ); in GetKeyWord()
631 xub_StrLen& nPos, String& sSymbol ) in Next_Symbol() argument
637 const xub_StrLen nStart = nPos; in Next_Symbol()
641 while ( nPos < rStr.Len() && eState != SsStop ) in Next_Symbol()
643 sal_Unicode cToken = rStr.GetChar( nPos++ ); in Next_Symbol()
655 nPos-1 + sCurString.Len() <= rStr.Len() && in Next_Symbol()
656 !(nPos > 1 && rStr.GetChar( nPos-2 ) == '[') ) in Next_Symbol()
658 String aTest( rStr.Copy( nPos-1, sCurString.Len() ) ); in Next_Symbol()
662 sSymbol = rStr.Copy( --nPos, sCurString.Len() ); in Next_Symbol()
663 nPos = nPos + sSymbol.Len(); in Next_Symbol()
709 sSymbol.Append( rStr.GetBuffer() + (nPos-1), rStr.Len() - (nPos-1) ); in Next_Symbol()
710 nPos = rStr.Len(); in Next_Symbol()
744 else if ( pChrCls->isLetter( rStr, nPos-1 ) ) in Next_Symbol()
746 short nTmpType = GetKeyWord( rStr, nPos-1 ); in Next_Symbol()
753 nPos-1 + sCurString.Len() <= rStr.Len() && in Next_Symbol()
756 String aTest( rStr.Copy( nPos-1, sCurString.Len() ) ); in Next_Symbol()
770 sSymbol = rStr.Copy( nPos-1, nLen ); in Next_Symbol()
773 sal_Unicode cNext = rStr.GetChar(nPos); in Next_Symbol()
780 nPos++; in Next_Symbol()
788 nPos--; in Next_Symbol()
789 nPos = nPos + nLen; in Next_Symbol()
825 if ( pChrCls->isLetter( rStr, nPos-1 ) ) in Next_Symbol()
827 short nTmpType = GetKeyWord( rStr, nPos-1 ); in Next_Symbol()
832 nPos--; in Next_Symbol()
844 sal_Unicode cNext = rStr.GetChar(nPos); in Next_Symbol()
852 && (rStr.GetChar(nPos+1) == 'M' || rStr.GetChar(nPos+1) == 'm'))) ) in Next_Symbol()
865 nPos--; in Next_Symbol()
875 nRepPos = (nPos - nStart) - 1; // every time > 0!! in Next_Symbol()
927 xub_StrLen nPos = 0; in Symbol_Division() local
929 while (nPos < nLen && nAnzStrings < NF_MAX_FORMAT_SYMBOLS) in Symbol_Division()
931 nTypeArray[nAnzStrings] = Next_Symbol(rString, nPos, sStrArray[nAnzStrings]); in Symbol_Division()
935 return nPos; // Fehler: doppelter '*' in Symbol_Division()
945 void ImpSvNumberformatScan::SkipStrings(sal_uInt16& i, xub_StrLen& nPos) in SkipStrings() argument
951 nPos = nPos + sStrArray[i].Len(); in SkipStrings()
1103 xub_StrLen nPos = 0; in ScanType() local
1109 SkipStrings(i, nPos); in ScanType()
1202 return nPos; // Error in ScanType()
1241 return nPos; // Error in ScanType()
1280 return nPos; in ScanType()
1299 return nPos; in ScanType()
1319 return nPos; in ScanType()
1331 return nPos; in ScanType()
1342 return nPos; in ScanType()
1360 return nPos; in ScanType()
1371 return nPos; in ScanType()
1379 nPos = nPos + sStrArray[i].Len(); // Korrekturposition in ScanType()
1390 nPos = nPos + sStrArray[i].Len(); in ScanType()
1394 return nPos; // missing closing bracket at end of code in ScanType()
1396 SkipStrings(i, nPos); in ScanType()
1408 bool ImpSvNumberformatScan::InsertSymbol( sal_uInt16 & nPos, svt::NfSymbolType eType, const String&… in InsertSymbol() argument
1410 if (nAnzStrings >= NF_MAX_FORMAT_SYMBOLS || nPos > nAnzStrings) in InsertSymbol()
1413 if (nPos > 0 && nTypeArray[nPos-1] == NF_SYMBOLTYPE_EMPTY) in InsertSymbol()
1414 --nPos; // reuse position in InsertSymbol()
1418 for (size_t i = nAnzStrings; i > nPos; --i) in InsertSymbol()
1424 nTypeArray[nPos] = static_cast<short>(eType); in InsertSymbol()
1425 sStrArray[nPos] = rStr; in InsertSymbol()
1430 int ImpSvNumberformatScan::FinalScanGetCalendar( xub_StrLen& nPos, sal_uInt16& i, in FinalScanGetCalendar() argument
1439 nPos = nPos + sStrArray[i].Len(); // [ in FinalScanGetCalendar()
1441 nPos = nPos + sStrArray[++i].Len(); // ~ in FinalScanGetCalendar()
1447 nPos = nPos + sStrArray[i].Len(); // calendarID in FinalScanGetCalendar()
1454 nPos = nPos + sStrArray[i].Len(); in FinalScanGetCalendar()
1464 nPos = nPos + sStrArray[i].Len(); in FinalScanGetCalendar()
1508 xub_StrLen nPos = 0; // error correction position in FinalScan() local
1530 nPos = nPos + rStr.Len(); in FinalScan()
1547 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1583 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1593 return nPos; in FinalScan()
1609 return nPos; // Fehler in FinalScan()
1624 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1645 return nPos; // Fehler in FinalScan()
1647 return nPos; // 0 im Nenner in FinalScan()
1650 nPos = nPos + rStr.Len(); in FinalScan()
1660 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1673 nPos = nPos + rStr.Len(); in FinalScan()
1689 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1699 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1719 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1732 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1759 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1780 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1781 if ( (nPos <= nCurrPos && in FinalScan()
1782 nCurrPos < nPos + sStrArray[i+1].Len()) in FinalScan()
1815 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1826 nPos = nPos + rStr.Len(); in FinalScan()
1832 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1842 return nPos; // error in FinalScan()
1845 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1854 nPos = nPos + rStr.Len(); in FinalScan()
1860 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1868 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1888 return nPos; // error in FinalScan()
1895 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1901 nPos = nPos + rStr.Len(); in FinalScan()
1907 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1923 return nPos ? nPos : 1; // /? not allowed in FinalScan()
1930 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1934 return nPos; // Fehler in FinalScan()
1939 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1952 nPos = nPos + sStrArray[i].Len(); // [ in FinalScan()
1954 nPos = nPos + sStrArray[++i].Len(); // $ in FinalScan()
1959 return nPos; // Fehler in FinalScan()
1960 nPos = nPos + sStrArray[i].Len(); // DM in FinalScan()
1969 nPos = nPos + sStrArray[i].Len(); in FinalScan()
1997 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2001 return nPos; // Fehler in FinalScan()
2006 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2018 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2027 nPos = nPos + rStr.Len(); in FinalScan()
2037 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2095 return nPos; in FinalScan()
2137 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2143 nPos = nPos + rStr.Len(); in FinalScan()
2157 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2162 else if ( (nCalRet = FinalScanGetCalendar( nPos, i, nAnzResStrings )) != 0 ) in FinalScan()
2165 return nPos; // error in FinalScan()
2170 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2205 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2210 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2226 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2242 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2248 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2256 return nPos; in FinalScan()
2261 return nPos; in FinalScan()
2265 return nPos; in FinalScan()
2275 return nPos; in FinalScan()
2276 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2283 return nPos; in FinalScan()
2284 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2290 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2314 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2321 nPos = nPos + rStr.Len(); in FinalScan()
2334 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2349 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2356 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2377 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2383 nPos = nPos + rStr.Len(); in FinalScan()
2394 if ( (nCalRet = FinalScanGetCalendar( nPos, i, nAnzResStrings )) != 0 ) in FinalScan()
2397 return nPos; // error in FinalScan()
2411 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2417 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2425 return nPos; in FinalScan()
2430 return nPos; in FinalScan()
2433 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2475 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2487 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2518 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2524 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2529 nPos = nPos + sStrArray[i].Len(); in FinalScan()
2544 return nPos; in FinalScan()
2546 return nPos; in FinalScan()