Lines Matching refs:nInsPos

1141 void SvxAutoCorrect::InsertQuote( SvxAutoCorrDoc& rDoc, xub_StrLen nInsPos,  in InsertQuote()  argument
1145 LanguageType eLang = rDoc.GetLanguage( nInsPos, sal_False ); in InsertQuote()
1152 rDoc.Insert( nInsPos, sChg ); in InsertQuote()
1154 rDoc.Replace( nInsPos, sChg ); in InsertQuote()
1177 if( rDoc.Insert( bSttQuote ? nInsPos+1 : nInsPos, s )) in InsertQuote()
1180 ++nInsPos; in InsertQuote()
1187 rDoc.Replace( nInsPos, sChg ); in InsertQuote()
1190 String SvxAutoCorrect::GetQuote( SvxAutoCorrDoc& rDoc, xub_StrLen nInsPos, in GetQuote() argument
1193 LanguageType eLang = rDoc.GetLanguage( nInsPos, sal_False ); in GetQuote()
1222 xub_StrLen nInsPos, sal_Unicode cChar, in AutoCorrect() argument
1233 if( nInsPos && ' ' == cChar && in AutoCorrect()
1235 ' ' == rTxt.GetChar( nInsPos - 1 ) ) in AutoCorrect()
1248 sal_Bool bSttQuote = !nInsPos || in AutoCorrect()
1249 IsWordDelim( ( cPrev = rTxt.GetChar( nInsPos-1 ))) || in AutoCorrect()
1256 InsertQuote( rDoc, nInsPos, cChar, bSttQuote, bInsert ); in AutoCorrect()
1262 rDoc.Insert( nInsPos, cChar ); in AutoCorrect()
1264 rDoc.Replace( nInsPos, cChar ); in AutoCorrect()
1270 … FnAddNonBrkSpace( rDoc, rTxt, 0, nInsPos, rDoc.GetLanguage( nInsPos, sal_False ) ) ) in AutoCorrect()
1277 if ( nInsPos != 0 && NeedsHardspaceAutocorr( rTxt.GetChar( nInsPos - 1 ) ) && in AutoCorrect()
1281 xub_StrLen nPos = nInsPos - 1; in AutoCorrect()
1301 if( !nInsPos ) in AutoCorrect()
1304 xub_StrLen nPos = nInsPos - 1; in AutoCorrect()
1334 if( lcl_IsSymbolChar( rCC, rTxt, nCapLttrPos, nInsPos )) in AutoCorrect()
1342 sal_Bool bChgWord = rDoc.ChgAutoCorrWord( nCapLttrPos, nInsPos, in AutoCorrect()
1350 xub_StrLen nCapLttrPos1 = nCapLttrPos, nInsPos1 = nInsPos; in AutoCorrect()
1351 while( nCapLttrPos1 < nInsPos && in AutoCorrect()
1360 if( (nCapLttrPos1 != nCapLttrPos || nInsPos1 != nInsPos ) && in AutoCorrect()
1394 FnChgOrdinalNumber( rDoc, rTxt, nCapLttrPos, nInsPos, eLang ) ) || in AutoCorrect()
1397 FnSetINetAttr( rDoc, rTxt, nCapLttrPos, nInsPos, eLang ) ) ) in AutoCorrect()
1402 bool bUnsupported = lcl_IsUnsupportedUnicodeChar( rCC, rTxt, nCapLttrPos, nInsPos ); in AutoCorrect()
1406 FnCptlSttSntnc( rDoc, rTxt, sal_True, nCapLttrPos, nInsPos, eLang ) ) in AutoCorrect()
1412 FnCptlSttWrd( rDoc, rTxt, nCapLttrPos, nInsPos, eLang ) ) in AutoCorrect()
1416 FnChgToEnEmDash( rDoc, rTxt, nCapLttrPos, nInsPos, eLang ) ) in AutoCorrect()