Lines Matching refs:nPos

710                     xub_StrLen nPos = nEndPos - 1;  in FnAddNonBrkSpace()  local
713 if ( nPos == 0 ) break; in FnAddNonBrkSpace()
714 nPos--; in FnAddNonBrkSpace()
715 cPrevChar = rTxt.GetChar( nPos ); in FnAddNonBrkSpace()
718 if ( nPos != 0 ) in FnAddNonBrkSpace()
720 nPos++; in FnAddNonBrkSpace()
721 if ( nEndPos - nPos > 0 ) in FnAddNonBrkSpace()
722 rDoc.Delete( nPos, nEndPos ); in FnAddNonBrkSpace()
726 rDoc.Insert( nPos, CHAR_HARDBLANK ); in FnAddNonBrkSpace()
780 xub_StrLen nPos = nEndPos, nFndPos = STRING_NOTFOUND; in FnChgWeightUnderl() local
783 while( nPos ) in FnChgWeightUnderl()
785 switch( c = rTxt.GetChar( --nPos ) ) in FnChgWeightUnderl()
791 if( bAlphaNum && nPos+1 < nEndPos && ( !nPos || in FnChgWeightUnderl()
792 IsWordDelim( rTxt.GetChar( nPos-1 ))) && in FnChgWeightUnderl()
793 !IsWordDelim( rTxt.GetChar( nPos+1 ))) in FnChgWeightUnderl()
794 nFndPos = nPos; in FnChgWeightUnderl()
798 nPos = 0; in FnChgWeightUnderl()
803 bAlphaNum = rCC.isLetterNumeric( rTxt, nPos ); in FnChgWeightUnderl()
1281 xub_StrLen nPos = nInsPos - 1; in AutoCorrect() local
1285 const sal_Unicode cTmpChar = rTxt.GetChar( nPos ); in AutoCorrect()
1288 rDoc.Delete( nPos, nPos + 1 ); in AutoCorrect()
1292 else if ( !NeedsHardspaceAutocorr( cTmpChar ) || nPos == 0 ) in AutoCorrect()
1294 nPos--; in AutoCorrect()
1304 xub_StrLen nPos = nInsPos - 1; in AutoCorrect() local
1307 if( IsWordDelim( rTxt.GetChar( nPos ))) in AutoCorrect()
1314 FnChgWeightUnderl( rDoc, rTxt, 0, nPos+1 ) ) in AutoCorrect()
1319 while( nPos && !IsWordDelim( rTxt.GetChar( --nPos ))) in AutoCorrect()
1324 xub_StrLen nCapLttrPos = nPos+1; // auf das 1. Zeichen in AutoCorrect()
1325 if( !nPos && !IsWordDelim( rTxt.GetChar( 0 ))) in AutoCorrect()
1592 const String& rTxt, xub_StrLen nPos, in GetPrevAutoCorrWord() argument
1595 if( !nPos ) in GetPrevAutoCorrWord()
1598 xub_StrLen nEnde = nPos; in GetPrevAutoCorrWord()
1601 if( ( nPos < rTxt.Len() && in GetPrevAutoCorrWord()
1602 !IsWordDelim( rTxt.GetChar( nPos ))) || in GetPrevAutoCorrWord()
1603 IsWordDelim( rTxt.GetChar( --nPos ))) in GetPrevAutoCorrWord()
1606 while( nPos && !IsWordDelim( rTxt.GetChar( --nPos ))) in GetPrevAutoCorrWord()
1611 xub_StrLen nCapLttrPos = nPos+1; // auf das 1. Zeichen in GetPrevAutoCorrWord()
1612 if( !nPos && !IsWordDelim( rTxt.GetChar( 0 ))) in GetPrevAutoCorrWord()
1719 xub_StrLen nLen, nPos = 1; in EncryptBlockName_Imp() local
1722 for ( nLen = rName.Len(), ++pName; nPos < nLen; ++nPos, ++pName ) in EncryptBlockName_Imp()
1733 xub_StrLen nPos = 0; in GeneratePackageName() local
1737 while( STRING_NOTFOUND != ( nPos = rPackageName.SearchChar( pDelims, nPos ))) in GeneratePackageName()
1739 rPackageName.SetChar( nPos, '_' ); in GeneratePackageName()
1740 ++nPos; in GeneratePackageName()
1750 xub_StrLen nLen, nPos; in DecryptBlockName_Imp() local
1751 for ( nLen = rName.Len(), nPos = 0; nPos < nLen; ++nPos, ++pName ) in DecryptBlockName_Imp()
1773 for( xub_StrLen nPos = 0; nPos < pAutoCorrWordList->Count(); ++nPos ) in lcl_SearchWordsInList() local
1775 const SvxAutocorrWord* pFnd = (*pAutoCorrWordList)[ nPos ]; in lcl_SearchWordsInList()
1908 sal_uInt16 nPos; in lcl_FindAbbreviation() local
1909 pList->Seek_Entry( &sAbk, &nPos ); in lcl_FindAbbreviation()
1910 if( nPos < pList->Count() ) in lcl_FindAbbreviation()
1914 for( sal_uInt16 n = nPos; in lcl_FindAbbreviation()
1934 DBG_ASSERT( !(nPos && '~' == (*pList)[ --nPos ]->GetChar( 0 ) ), in lcl_FindAbbreviation()
2728 sal_uInt16 nPos; in PutText() local
2730 if( pAutocorr_List->Seek_Entry( pNew, &nPos ) ) in PutText()
2732 if( !(*pAutocorr_List)[ nPos ]->IsTextOnly() ) in PutText()
2744 pAutocorr_List->DeleteAndDestroy( nPos ); in PutText()
2818 sal_uInt16 nPos; in DeleteText() local
2820 if( pAutocorr_List->Seek_Entry( &aTmp, &nPos ) ) in DeleteText()
2822 SvxAutocorrWord* pFnd = (*pAutocorr_List)[ nPos ]; in DeleteText()
2838 pAutocorr_List->DeleteAndDestroy( nPos ); in DeleteText()