Lines Matching refs:Len
463 aText.Fill( maText.Len(), cEchoChar ); in ImplGetText()
505 nEnd = aText.Len(); in ImplRepaint()
511 if( aText.Len() ) in ImplRepaint()
513 if( 2*aText.Len() > xub_StrLen(sizeof(nDXBuffer)/sizeof(nDXBuffer[0])) ) in ImplRepaint()
515 pDXBuffer = new sal_Int32[2*(aText.Len()+1)]; in ImplRepaint()
570 …sal_Bool bDrawSelection = maSelection.Len() && ( HasFocus() || ( GetStyle() & WB_NOHIDESELECTION )… in ImplRepaint()
589 for( i = 0; i < aText.Len(); i++ ) in ImplRepaint()
721 if ( !rSelection.Len() && in ImplDelete()
723 ((rSelection.Max() == aText.Len()) && (nDirection == EDIT_DEL_RIGHT))) ) in ImplDelete()
731 if ( !aSelection.Len() ) in ImplDelete()
762 aSelection.Max() = aText.Len(); in ImplDelete()
772 maText.Erase( (xub_StrLen)aSelection.Min(), (xub_StrLen)aSelection.Len() ); in ImplDelete()
848 sal_uInt32 nLenAfter = static_cast<sal_uInt32>(maText.Len()) + rStr.getLength() - nSelectionLen; in ImplTruncateToMaxLen()
851 sal_uInt32 nErasePos = nMaxLen - static_cast<sal_uInt32>(maText.Len()) + nSelectionLen; in ImplTruncateToMaxLen()
866 ImplTruncateToMaxLen( aNewText, aSelection.Len() ); in ImplInsertText()
870 if ( aSelection.Len() ) in ImplInsertText()
871 maText.Erase( (xub_StrLen)aSelection.Min(), (xub_StrLen)aSelection.Len() ); in ImplInsertText()
872 else if ( !mbInsertMode && (aSelection.Max() < maText.Len()) ) in ImplInsertText()
876 if (bIsUserInput && rStr.Len()) in ImplInsertText()
878 …DBG_ASSERT( rStr.Len() == 1, "unexpected string length. User input is expected to providse 1 char … in ImplInsertText()
923 bIsInputSequenceChecking = rStr.Len() == 1 && in ImplInsertText()
962 if (aChgText.Len()) in ImplInsertText()
992 if ( maSelection.Min() > maText.Len() ) in ImplInsertText()
993 maSelection.Min() = maText.Len(); in ImplInsertText()
994 if ( maSelection.Max() > maText.Len() ) in ImplInsertText()
995 maSelection.Max() = maText.Len(); in ImplInsertText()
1008 …if ( ( rText.Len() <= mnMaxTextLen ) && ( (rText != maText) || (pNewSelection && (*pNewSelection !… in ImplSetText()
1012 maSelection.Max() = maText.Len(); in ImplSetText()
1175 if( aText.Len() ) in ImplShowCursor()
1177 if( 2*aText.Len() > xub_StrLen(sizeof(nDXBuffer)/sizeof(nDXBuffer[0])) ) in ImplShowCursor()
1179 pDXBuffer = new sal_Int32[2*(aText.Len()+1)]; in ImplShowCursor()
1183 GetCaretPositions( aText, pDX, 0, aText.Len() ); in ImplShowCursor()
1185 if( maSelection.Max() < aText.Len() ) in ImplShowCursor()
1188 nTextPos = pDX[ 2*aText.Len()-1 ]; in ImplShowCursor()
1192 if ( !mbInsertMode && !maSelection.Len() && (maSelection.Max() < aText.Len()) ) in ImplShowCursor()
1301 if( 2*aText.Len() > xub_StrLen(sizeof(nDXBuffer)/sizeof(nDXBuffer[0])) ) in ImplGetCharPos()
1303 pDXBuffer = new sal_Int32[2*(aText.Len()+1)]; in ImplGetCharPos()
1307 GetCaretPositions( aText, pDX, 0, aText.Len() ); in ImplGetCharPos()
1309 for( int i = 0; i < aText.Len(); i++ ) in ImplGetCharPos()
1332 for( int i = 1; i < aText.Len(); i++ ) in ImplGetCharPos()
1342 if( nIndex == aText.Len()-1 && Abs( pDX[2*nIndex+1] - nX ) < nDiff ) in ImplGetCharPos()
1378 if ( GetSelection().Len() ) in ImplCopyToSelectionClipboard()
1419 if( ImplTruncateToMaxLen( aText, maSelection.Len() ) ) in ImplPaste()
1539 if ( !mbReadOnly && maSelection.Len() && !(GetStyle() & WB_PASSWORD) ) in ImplHandleKeyEvent()
1587 ImplSetSelection( Selection( 0, maText.Len() ) ); in ImplHandleKeyEvent()
1597 if ( aChars.Len() ) in ImplHandleKeyEvent()
1613 ImplSetSelection( Selection( 0, maText.Len() ) ); in ImplHandleKeyEvent()
1700 else if ( bGoRight && ( aSel.Max() < maText.Len() ) ) in ImplHandleKeyEvent()
1733 if ( (maSelection.Min() == maSelection.Max()) && (maSelection.Min() == maText.Len()) ) in ImplHandleKeyEvent()
1778 xub_StrLen nOldLen = maText.Len(); in ImplHandleKeyEvent()
1780 if ( maText.Len() != nOldLen ) in ImplHandleKeyEvent()
1833 if ( (maSelection.Min() == maSelection.Max()) && (maSelection.Min() == maText.Len()) ) in ImplHandleKeyEvent()
2011 maSelection.Min() = maText.Len(); in GetFocus()
2017 maSelection.Max() = maText.Len(); in GetFocus()
2035 else if ( maSelection.Len() ) in GetFocus()
2082 if ( !mbActivePopup && !( GetStyle() & WB_NOHIDESELECTION ) && maSelection.Len() ) in LoseFocus()
2100 if ( !maSelection.Len() ) in Command()
2136 if ( ( maSelection.Min() == 0 ) && ( maSelection.Max() == maText.Len() ) ) in Command()
2179 ImplSetSelection( Selection( 0, maText.Len() ) ); in Command()
2185 if ( aChars.Len() ) in Command()
2255 if ( (maSelection.Min() == maSelection.Max()) && (maSelection.Min() == maText.Len()) ) in Command()
2271 sal_uInt16 nNewIMETextLen = pData->GetText().Len(); in Command()
2273 ( nNewIMETextLen < mpIMEInfos->aOldTextAfterStartPos.Len() ) ) in Command()
2280 ( nOldIMETextLen < mpIMEInfos->aOldTextAfterStartPos.Len() ) ) in Command()
2284 if ( ( nOldIMETextLen + nOverwrite ) > mpIMEInfos->aOldTextAfterStartPos.Len() ) in Command()
2285 nOverwrite = mpIMEInfos->aOldTextAfterStartPos.Len() - nOldIMETextLen; in Command()
2293 mpIMEInfos->CopyAttribs( pData->GetTextAttr(), pData->GetText().Len() ); in Command()
2393 if ( maText.Len() && ( mnAlign != nOldAlign ) ) in StateChanged()
2616 if ( maText.Len() > mnMaxTextLen ) in SetMaxTextLen()
2617 ImplDelete( Selection( mnMaxTextLen, maText.Len() ), EDIT_DEL_RIGHT, EDIT_DELMODE_SIMPLE ); in SetMaxTextLen()
2648 if ( aNew.Min() > maText.Len() ) in ImplSetSelection()
2649 aNew.Min() = maText.Len(); in ImplSetSelection()
2650 if ( aNew.Max() > maText.Len() ) in ImplSetSelection()
2651 aNew.Max() = maText.Len(); in ImplSetSelection()
2663 if ( bPaint && ( aOld.Len() || aNew.Len() || IsPaintTransparent() ) ) in ImplSetSelection()
2664 ImplInvalidateOrRepaint( 0, maText.Len() ); in ImplSetSelection()
2723 if ( maSelection.Len() ) in DeleteSelected()
2738 return maText.Copy( (xub_StrLen)aSelection.Min(), (xub_StrLen)aSelection.Len() ); in GetSelected()
2781 ImplDelete( Selection( 0, aText.Len() ), EDIT_DEL_RIGHT, EDIT_DELMODE_SIMPLE ); in Undo()
2783 ImplSetSelection( Selection( 0, maUndoText.Len() ) ); in Undo()
2978 if ( !IsTracking() && maSelection.Len() && in dragGestureRecognized()
3023 long nLen = aSel.Len(); in dragDropEnd()
3050 if ( aSel.Len() && !mpDDInfo->bStarterOfDD ) in drop()