Lines Matching refs:nLen

4821         xub_StrLen nLen = rStr.Len();  in ImplGetTextLines()  local
4822 while ( nPos < nLen ) in ImplGetTextLines()
4826 …while ( ( nBreakPos < nLen ) && ( rStr.GetChar( nBreakPos ) != _CR ) && ( rStr.GetChar( nBreakPos … in ImplGetTextLines()
4983 … if ( ( nPos < nLen ) && ( rStr.GetChar( nPos ) == _LF ) && ( rStr.GetChar( nPos-1 ) == _CR ) ) in ImplGetTextLines()
5564 xub_StrLen nIndex, xub_StrLen nLen, in DrawText() argument
5583 mpMetaFile->AddAction( new MetaTextAction( rStartPt, rStr, nIndex, nLen ) ); in DrawText()
5597 GetGlyphBoundRects( rStartPt, rStr, nIndex, nLen, nIndex, aTmp ); in DrawText()
5625 GetGlyphBoundRects( rStartPt, rStr, nIndex, nLen, nIndex, *pVector ); in DrawText()
5627 pDisplayText->Append( rStr.Copy( nIndex, nLen ) ); in DrawText()
5634 SalLayout* pSalLayout = ImplLayout( rStr, nIndex, nLen, rStartPt, 0, NULL, true ); in DrawText()
5642 mpAlphaVDev->DrawText( rStartPt, rStr, nIndex, nLen, pVector, pDisplayText ); in DrawText()
5648 xub_StrLen nIndex, xub_StrLen nLen ) const in GetTextWidth()
5653 long nWidth = GetTextArray( rStr, NULL, nIndex, nLen ); in GetTextWidth()
5683 xub_StrLen nIndex, xub_StrLen nLen ) in DrawTextArray() argument
5689 mpMetaFile->AddAction( new MetaTextArrayAction( rStartPt, rStr, pDXAry, nIndex, nLen ) ); in DrawTextArray()
5700 SalLayout* pSalLayout = ImplLayout( rStr, nIndex, nLen, rStartPt, 0, pDXAry, true ); in DrawTextArray()
5708 mpAlphaVDev->DrawTextArray( rStartPt, rStr, pDXAry, nIndex, nLen ); in DrawTextArray()
5714 xub_StrLen nIndex, xub_StrLen nLen ) const in GetTextArray()
5721 if( (sal_uLong)nIndex+nLen >= rStr.Len() ) in GetTextArray()
5722 nLen = rStr.Len() - nIndex; in GetTextArray()
5725 SalLayout* pSalLayout = ImplLayout( rStr, nIndex, nLen ); in GetTextArray()
5735 for( int i = 1; i < nLen; ++i ) in GetTextArray()
5742 for( int i = 0; i < nLen; ++i ) in GetTextArray()
5750 for( int i = 0; i < nLen; ++i ) in GetTextArray()
5761 xub_StrLen nIndex, xub_StrLen nLen, in GetCaretPositions() argument
5770 if( (sal_uLong)nIndex+nLen >= rStr.Len() ) in GetCaretPositions()
5771 nLen = rStr.Len() - nIndex; in GetCaretPositions()
5774 SalLayout* pSalLayout = ImplLayout( rStr, nIndex, nLen, in GetCaretPositions()
5780 pSalLayout->GetCaretPositions( 2*nLen, pCaretXArray ); in GetCaretPositions()
5786 for( i = 0; i < 2 * nLen; ++i ) in GetCaretPositions()
5790 for( i = 0; i < 2 * nLen; ++i ) in GetCaretPositions()
5801 for( i = 0; i < 2 * nLen; ++i ) in GetCaretPositions()
5808 for( i = 0; i < 2*nLen; ++i ) in GetCaretPositions()
5814 for( i = 0; i < 2*nLen; ++i ) in GetCaretPositions()
5831 xub_StrLen nIndex, xub_StrLen nLen ) in DrawStretchText() argument
5837 mpMetaFile->AddAction( new MetaStretchTextAction( rStartPt, nWidth, rStr, nIndex, nLen ) ); in DrawStretchText()
5842 SalLayout* pSalLayout = ImplLayout( rStr, nIndex, nLen, rStartPt, nWidth, NULL, true ); in DrawStretchText()
5850 mpAlphaVDev->DrawStretchText( rStartPt, nWidth, rStr, nIndex, nLen ); in DrawStretchText()
5856 xub_StrLen nMinIndex, xub_StrLen nLen, in ImplPrepareLayoutArgs() argument
5861 if( (sal_uLong)nMinIndex + nLen < nEndIndex ) in ImplPrepareLayoutArgs()
5862 nEndIndex = nMinIndex + nLen; in ImplPrepareLayoutArgs()
5969 xub_StrLen nLen, in ImplLayout() argument
5988 if( (unsigned)nMinIndex + nLen > rOrigStr.Len() ) in ImplLayout()
5993 nLen = static_cast<xub_StrLen>(nNewLen); in ImplLayout()
6001 xub_StrLen nCutStart, nCutStop, nOrgLen = nLen; in ImplLayout()
6002 … bool bFiltered = mpGraphics->filterText( rOrigStr, aStr, nMinIndex, nLen, nCutStart, nCutStop ); in ImplLayout()
6003 if( !nLen ) in ImplLayout()
6008 if( !nLen ) in ImplLayout()
6012 sal_Int32* pAry = (sal_Int32*)alloca(sizeof(sal_Int32)*nLen); in ImplLayout()
6018 sizeof(sal_Int32)*(nLen - (nCutStart-nMinIndex)) ); in ImplLayout()
6035 sal_Int32* pTempDXAry = (sal_Int32*)alloca( nLen * sizeof(sal_Int32) ); in ImplLayout()
6038 for( int i = 0; i < nLen; ++i ) in ImplLayout()
6044 …ImplLayoutArgs aLayoutArgs = ImplPrepareLayoutArgs( aStr, nMinIndex, nLen, nPixelWidth, pDXArray ); in ImplLayout()
6078 nRTLOffset = pDXArray[ nLen - 1 ]; in ImplLayout()
6233 xub_StrLen nIndex, xub_StrLen nLen ) const in GetTextIsRTL()
6236 ImplLayoutArgs aArgs = ImplPrepareLayoutArgs( aStr, nIndex, nLen, 0, NULL ); in GetTextIsRTL()
6246 xub_StrLen nIndex, xub_StrLen nLen, in GetTextBreak() argument
6252 SalLayout* pSalLayout = ImplLayout( rStr, nIndex, nLen ); in GetTextBreak()
6282 xub_StrLen nIndex, xub_StrLen nLen, in GetTextBreak() argument
6290 SalLayout* pSalLayout = ImplLayout( rStr, nIndex, nLen ); in GetTextBreak()
6972 xub_StrLen nIndex, xub_StrLen nLen, in DrawCtrlText() argument
6992 if( (sal_uLong)nIndex+nLen >= rStr.Len() ) in DrawCtrlText()
6993 nLen = rStr.Len() - nIndex; in DrawCtrlText()
7001 if ( (nStyle & TEXT_DRAW_MNEMONIC) && nLen > 1 ) in DrawCtrlText()
7008 else if( nLen < STRING_LEN ) in DrawCtrlText()
7010 if( nMnemonicPos < (nIndex+nLen) ) in DrawCtrlText()
7011 --nLen; in DrawCtrlText()
7012 … DBG_ASSERT( nMnemonicPos < (nIndex+nLen), "Mnemonic underline marker after last character" ); in DrawCtrlText()
7016 if( nMnemonicPos >= nLen ) in DrawCtrlText()
7023 nMnemonicPos = nLen-1; in DrawCtrlText()
7026 sal_Int32* pCaretXArray = (sal_Int32*)alloca( 2 * sizeof(sal_Int32) * nLen ); in DrawCtrlText()
7027 /*sal_Bool bRet =*/ GetCaretPositions( aStr, pCaretXArray, nIndex, nLen ); in DrawCtrlText()
7078 DrawText( rPos, aStr, nIndex, nLen, pVector, pDisplayText ); in DrawCtrlText()
7090 DrawText( rPos, aStr, nIndex, nLen, pVector, pDisplayText ); in DrawCtrlText()
7099 mpAlphaVDev->DrawCtrlText( rPos, rStr, nIndex, nLen, nStyle, pVector, pDisplayText ); in DrawCtrlText()
7105 xub_StrLen nIndex, xub_StrLen nLen, in GetCtrlTextWidth() argument
7119 else if ( (nLen < STRING_LEN) && in GetCtrlTextWidth()
7120 (nMnemonicPos >= nIndex) && (nMnemonicPos < (sal_uLong)(nIndex+nLen)) ) in GetCtrlTextWidth()
7121 nLen--; in GetCtrlTextWidth()
7123 return GetTextWidth( aStr, nIndex, nLen ); in GetCtrlTextWidth()
7126 return GetTextWidth( rStr, nIndex, nLen ); in GetCtrlTextWidth()
7134 xub_StrLen nLen = aStr.Len(); in GetNonMnemonicString() local
7138 while ( i < nLen ) in GetNonMnemonicString()
7147 nLen--; in GetNonMnemonicString()
7152 nLen--; in GetNonMnemonicString()
7399 …SysTextLayoutData(const Point& rStartPt, const XubString& rStr, xub_StrLen nIndex, xub_StrLen nLen, in GetSysTextLayoutData() argument
7411 … mpMetaFile->AddAction( new MetaTextArrayAction( rStartPt, rStr, pDXAry, nIndex, nLen ) ); in GetSysTextLayoutData()
7413 mpMetaFile->AddAction( new MetaTextAction( rStartPt, rStr, nIndex, nLen ) ); in GetSysTextLayoutData()
7418 SalLayout* rLayout = ImplLayout( rStr, nIndex, nLen, rStartPt, 0, pDXAry, true ); in GetSysTextLayoutData()
7473 xub_StrLen nIdx, xub_StrLen nLen, in ValidateKashidas() argument
7479 SalLayout* pSalLayout = ImplLayout( rTxt, nIdx, nLen ); in ValidateKashidas()
7498 int nIndex, int nLen, int nBase, MetricVector& rVector ) in GetGlyphBoundRects() argument
7505 if( nLen == STRING_LEN ) in GetGlyphBoundRects()
7506 nLen = rStr.Len() - nIndex; in GetGlyphBoundRects()
7509 for( int i = 0; i < nLen; i++ ) in GetGlyphBoundRects()
7517 return (nLen == (int)rVector.size()); in GetGlyphBoundRects()
7523 const String& rStr, xub_StrLen nBase, xub_StrLen nIndex, xub_StrLen nLen, in GetTextBoundRect() argument
7552 pSalLayout = ImplLayout( rStr, nIndex, nLen, aPoint, nLayoutWidth, pDXAry ); in GetTextBoundRect()
7602 pSalLayout = aVDev.ImplLayout( rStr, nIndex, nLen, aPoint, nLayoutWidth, pDXAry ); in GetTextBoundRect()
7701 const String& rStr, xub_StrLen nBase, xub_StrLen nIndex, xub_StrLen nLen, in GetTextOutlines() argument
7714 if( nLen == STRING_LEN ) in GetTextOutlines()
7715 nLen = rStr.Len() - nIndex; in GetTextOutlines()
7716 rVector.reserve( nLen ); in GetTextOutlines()
7746 pSalLayout = ImplLayout( rStr, nIndex, nLen, Point(0,0), nTWidth, pDXArray ); in GetTextOutlines()
7797 pSalLayout = ImplLayout( rStr, nIndex, nLen, Point(0,0), nTWidth, pDXArray ); in GetTextOutlines()
7822 pSalLayout = aVDev.ImplLayout( rStr, nIndex, nLen, Point(0,0), nTWidth, pDXArray ); in GetTextOutlines()
7855 ImplLayoutArgs aLayoutArgs = ImplPrepareLayoutArgs( aStr, nIndex, nLen, 0, NULL ); in GetTextOutlines()
7931 xub_StrLen nLen, sal_Bool bOptimize, sal_uLong nTWidth, const sal_Int32* pDXArray ) const in GetTextOutlines() argument
7937 if( !GetTextOutlines( aB2DPolyPolyVector, rStr, nBase, nIndex, nLen, in GetTextOutlines()
7953 const String& rStr, xub_StrLen nBase, xub_StrLen nIndex, xub_StrLen nLen, in GetTextOutline() argument
7960 if( !GetTextOutlines( aB2DPolyPolyVector, rStr, nBase, nIndex, nLen, in GetTextOutline()
8035 xub_StrLen nIndex, xub_StrLen nLen ) const in HasGlyphs()
8039 xub_StrLen nEnd = nIndex + nLen; in HasGlyphs()
8040 if( (sal_uLong)nIndex+nLen > rStr.Len() ) in HasGlyphs()