Lines Matching refs:Len

77 	if ( rStr.Len() == 1 )  in ImplAddString()
79 else if ( rStr.Len() == 0 ) in ImplAddString()
83 memcpy( pBuf, rStr.GetBuffer(), rStr.Len() * sizeof(sal_Unicode) ); in ImplAddString()
84 pBuf += rStr.Len(); in ImplAddString()
167 …nType = ImplGetCharClass()->getStringType( aCharStr, 0, aCharStr.Len(), Application::GetSettings()… in ImplIsPatternChar()
244 if ( !rEditMask.Len() ) in ImplPatternReformat()
257 while ( i < rEditMask.Len() ) in ImplPatternReformat()
259 if ( nStrIndex >= aStr.Len() ) in ImplPatternReformat()
280 while ( n < rEditMask.Len() ) in ImplPatternReformat()
317 while ( n < rEditMask.Len() ) in ImplPatternReformat()
351 xub_StrLen nMaxPos = rStr.Len(); in ImplPatternMaxPos()
368 while ( nTempPos < rEditMask.Len() ) in ImplPatternMaxPos()
399 xub_StrLen nMaxLen = aText.Len(); in ImplPatternProcessStrictModify()
421 if ( nMaxSel >= aText.Len() ) in ImplPatternProcessStrictModify()
423 xub_StrLen nMaxPos = aNewText.Len(); in ImplPatternProcessStrictModify()
467 while ( nTempPos < rEditMask.Len() ) in ImplPatternRightPos()
490 if ( !rEditMask.Len() || !bStrictFormat ) in ImplPatternProcessKeyInput()
532 while ( (nNewPos < rEditMask.Len()) && in ImplPatternProcessKeyInput()
547 nNewPos = rEditMask.Len(); in ImplPatternProcessKeyInput()
576 if ( aSel.Len() ) in ImplPatternProcessKeyInput()
579 aStr.Erase( (xub_StrLen)aSel.Min(), (xub_StrLen)aSel.Len() ); in ImplPatternProcessKeyInput()
582 … XubString aRep = rLiteralMask.Copy( (xub_StrLen)aSel.Min(), (xub_StrLen)aSel.Len() ); in ImplPatternProcessKeyInput()
583 aStr.Replace( (xub_StrLen)aSel.Min(), aRep.Len(), aRep ); in ImplPatternProcessKeyInput()
606 aStr.Replace( nNewPos, aTempStr.Len(), aTempStr ); in ImplPatternProcessKeyInput()
646 if ( nNewPos < rEditMask.Len() ) in ImplPatternProcessKeyInput()
661 !aSel.Len() ) in ImplPatternProcessKeyInput()
665 while ( nTempPos < rEditMask.Len() ) in ImplPatternProcessKeyInput()
700 xub_StrLen n = aStr.Len(); in ImplPatternProcessKeyInput()
704 ((n > rEditMask.Len()) || (rEditMask.GetChar(n-1) != EDITMASK_LITERAL)) ) in ImplPatternProcessKeyInput()
711 if ( aSel.Len() ) in ImplPatternProcessKeyInput()
712 aStr.Erase( (xub_StrLen)aSel.Min(), (xub_StrLen)aSel.Len() ); in ImplPatternProcessKeyInput()
714 if ( aStr.Len() < rEditMask.Len() ) in ImplPatternProcessKeyInput()
717 if ( aStr.Len() < nNewPos ) in ImplPatternProcessKeyInput()
718 aStr += rLiteralMask.Copy( aStr.Len(), nNewPos-aStr.Len() ); in ImplPatternProcessKeyInput()
719 if ( nNewPos < aStr.Len() ) in ImplPatternProcessKeyInput()
721 else if ( nNewPos < rEditMask.Len() ) in ImplPatternProcessKeyInput()
730 if ( aSel.Len() ) in ImplPatternProcessKeyInput()
733 … XubString aRep = rLiteralMask.Copy( (xub_StrLen)aSel.Min(), (xub_StrLen)aSel.Len() ); in ImplPatternProcessKeyInput()
734 aStr.Replace( (xub_StrLen)aSel.Min(), aRep.Len(), aRep ); in ImplPatternProcessKeyInput()
737 if ( nNewPos < aStr.Len() ) in ImplPatternProcessKeyInput()
739 else if ( nNewPos < rEditMask.Len() ) in ImplPatternProcessKeyInput()
770 if ( maEditMask.Len() != maLiteralMask.Len() ) in ImplSetMask()
772 if ( maEditMask.Len() < maLiteralMask.Len() ) in ImplSetMask()
773 maLiteralMask.Erase( maEditMask.Len() ); in ImplSetMask()
775 maLiteralMask.Expand( maEditMask.Len(), ' ' ); in ImplSetMask()
784 while ( i < rEditMask.Len() ) in ImplSetMask()
796 if ( i < rLiteralMask.Len() ) in ImplSetMask()
969 if ( MustBeReformatted() && (GetText().Len() || !IsEmptyFieldValueEnabled()) ) in Notify()
1047 if ( MustBeReformatted() && (GetText().Len() || !IsEmptyFieldValueEnabled()) ) in Notify()
1131 while ( rStr.Len() && !(rStr.GetChar( 0 ) >= '0' && rStr.GetChar( 0 ) <= '9') ) in ImplCutNumberFromString()
1133 if ( !rStr.Len() ) in ImplCutNumberFromString()
1136 while ( rStr.Len() && (rStr.GetChar( 0 ) >= '0' && rStr.GetChar( 0 ) <= '9') ) in ImplCutNumberFromString()
1151 rStr.Erase( 0, nPos + _rLookupMonthName.Len() ); in ImplCutMonthName()
1248 if ( ( nSepPos == STRING_NOTFOUND ) || ( nSepPos == (aStr.Len()-1) ) ) in ImplDateGetValue()
1534 if ( (xub_StrLen)aSelection.Len() == aText.Len() ) in ImplDateSpinArea()
1873 if ( (xub_StrLen)aSelection.Max() == aText.Len() ) in ImplNewFieldValue()
1875 if ( !aSelection.Len() ) in ImplNewFieldValue()
1964 if ( !GetField()->GetText().Len() ) in IsEmptyDate()
1996 if ( !GetField()->GetText().Len() && ImplGetEmptyFieldValue() ) in Reformat()
2004 if ( aStr.Len() ) in Reformat()
2140 sal_Bool bTextLen = GetText().Len() != 0; in Notify()
2294 sal_Bool bTextLen = GetText().Len() != 0; in Notify()
2410 for ( xub_StrLen i = 0; i < _rStr.Len(); ++i, ++_pChr ) in ImplIsOnlyDigits()
2424 if ( ( _rStr.Len() > 2 ) || ( _rStr.Len() < 1 ) || !ImplIsOnlyDigits( _rStr ) ) in ImplIsValidTimePortion()
2456 if ( !rStr.Len() ) in ImplTimeGetValue()
2460 if ( rLocaleDataWrapper.getTimeSep().Len() ) in ImplTimeGetValue()
2467 for ( xub_StrLen i = 0; i < aSepStr.Len(); i++ ) in ImplTimeGetValue()
2471 for ( xub_StrLen j = 0; j < aStr.Len(); j++ ) in ImplTimeGetValue()
2486 nSepPos = aStr.Len(); in ImplTimeGetValue()
2931 if ( (xub_StrLen)aSelection.Max() == aText.Len() ) in ImplNewFieldValue()
2933 if ( !aSelection.Len() ) in ImplNewFieldValue()
3080 if ( !GetField()->GetText().Len() && ImplGetEmptyFieldValue() ) in Reformat()
3088 if ( aStr.Len() ) in Reformat()
3181 if ( MustBeReformatted() && (GetText().Len() || !IsEmptyFieldValueEnabled()) ) in Notify()
3302 if ( GetField() && GetField()->GetText().Len() ) in SetExtFormat()
3364 if ( MustBeReformatted() && (GetText().Len() || !IsEmptyFieldValueEnabled()) ) in Notify()