Lines Matching refs:nIdx

377 	xub_StrLen nIdx, xub_StrLen nEnd )  in lcl_MinMaxString()  argument
380 while( nIdx < nEnd ) in lcl_MinMaxString()
382 xub_StrLen nStop = nIdx; in lcl_MinMaxString()
388 Boundary aBndry( pBreakIt->GetBreakIter()->getWordBoundary( rTxt, nIdx, in lcl_MinMaxString()
392 if( nIdx <= aBndry.startPos && nIdx && nIdx-1 != rArg.nNoLineBreak ) in lcl_MinMaxString()
394 if( nStop == nIdx ) in lcl_MinMaxString()
403 bClear = nStop == nIdx; in lcl_MinMaxString()
412 SwDrawTextInfo aDrawInf( rArg.pSh, *rArg.pOut, 0, rTxt, nIdx, nStop - nIdx ); in lcl_MinMaxString()
425 nIdx = nStop; in lcl_MinMaxString()
646 xub_StrLen nIdx = 0; in GetMinMaxSize() local
647 aIter.SeekAndChgAttrIter( nIdx, pOut ); in GetMinMaxSize()
652 while( nIdx < nLen ) in GetMinMaxSize()
655 xub_StrLen nStop = aScriptInfo.NextScriptChg( nIdx ); in GetMinMaxSize()
660 nStop = nIdx; in GetMinMaxSize()
671 if ( lcl_MinMaxString( aArg, aIter.GetFnt(), m_Text, nIdx, nStop ) ) in GetMinMaxSize()
675 nIdx = nStop; in GetMinMaxSize()
676 aIter.SeekAndChgAttrIter( nIdx, pOut ); in GetMinMaxSize()
685 aIter.SeekAndChgAttrIter( ++nIdx, pOut ); in GetMinMaxSize()
691 aIter.SeekAndChgAttrIter( ++nIdx, pOut ); in GetMinMaxSize()
695 ++nIdx; in GetMinMaxSize()
709 aArg.nNoLineBreak = nIdx++; in GetMinMaxSize()
789 aIter.SeekAndChgAttrIter( ++nIdx, pOut ); in GetMinMaxSize()
893 xub_StrLen nIdx = nStt; in GetScalingOfSelectedText() local
898 while( nIdx < nEnd ) in GetScalingOfSelectedText()
900 aIter.SeekAndChgAttrIter( nIdx, pOut ); in GetScalingOfSelectedText()
904 xub_StrLen nStop = aScriptInfo.NextScriptChg( nIdx ); in GetScalingOfSelectedText()
908 nStop = nIdx; in GetScalingOfSelectedText()
935 if ( nStop > nIdx ) in GetScalingOfSelectedText()
937 SwDrawTextInfo aDrawInf( pSh, *pOut, 0, GetTxt(), nIdx, nStop - nIdx ); in GetScalingOfSelectedText()
941 nIdx = nStop; in GetScalingOfSelectedText()
942 aIter.SeekAndChgAttrIter( nIdx, pOut ); in GetScalingOfSelectedText()
948 nIdx++; in GetScalingOfSelectedText()
956 nIdx++; in GetScalingOfSelectedText()
959 ++nIdx; in GetScalingOfSelectedText()
965 nIdx++; in GetScalingOfSelectedText()
996 nIdx++; in GetScalingOfSelectedText()
1041 xub_StrLen nIdx = 0; in GetWidthOfLeadingTabs() local
1044 while ( nIdx < GetTxt().Len() && in GetWidthOfLeadingTabs()
1045 ( '\t' == ( cCh = GetTxt().GetChar( nIdx ) ) || in GetWidthOfLeadingTabs()
1047 ++nIdx; in GetWidthOfLeadingTabs()
1049 if ( nIdx > 0 ) in GetWidthOfLeadingTabs()
1052 aPos.nContent += nIdx; in GetWidthOfLeadingTabs()