Lines Matching refs:nPos

548 		sal_Int32 nPos;  in _InvalidateFocus()  local
551 nPos = nOldCaretPos; in _InvalidateFocus()
553 ASSERT( nPos != -1, "focus object should be selected" ); in _InvalidateFocus()
556 pWin->HasFocus() && nPos != -1 ); in _InvalidateFocus()
701 sal_Int32 nPos, sal_Int32 nLength) in IsValidChar() argument
703 return (nPos >= 0) && (nPos < nLength); in IsValidChar()
707 sal_Int32 nPos, sal_Int32 nLength) in IsValidPosition() argument
709 return (nPos >= 0) && (nPos <= nLength); in IsValidPosition()
794 sal_Int32 nPos ) in GetCharBoundary() argument
796 if( GetPortionData().FillBoundaryIFDateField( rBound, nPos) ) in GetCharBoundary()
799 rBound.startPos = nPos; in GetCharBoundary()
800 rBound.endPos = nPos+1; in GetCharBoundary()
807 sal_Int32 nPos ) in GetWordBoundary() argument
817 sal_uInt16 nModelPos = GetPortionData().GetModelPosition( nPos ); in GetWordBoundary()
865 rText, nPos, aLocale, nWordType, sal_True ); in GetWordBoundary()
874 rBound.startPos = nPos; in GetWordBoundary()
875 rBound.endPos = nPos; in GetWordBoundary()
884 sal_Int32 nPos ) in GetSentenceBoundary() argument
889 while( pStr[nPos] == sal_Unicode(' ') && nPos < rText.getLength()) in GetSentenceBoundary()
890 nPos++; in GetSentenceBoundary()
892 GetPortionData().GetSentenceBoundary( rBound, nPos ); in GetSentenceBoundary()
899 sal_Int32 nPos ) in GetLineBoundary() argument
901 if( rText.getLength() == nPos ) in GetLineBoundary()
904 GetPortionData().GetLineBoundary( rBound, nPos ); in GetLineBoundary()
921 sal_Int32 nPos ) in GetAttributeBoundary() argument
923 GetPortionData().GetAttributeBoundary( rBound, nPos ); in GetAttributeBoundary()
930 sal_Int32 nPos ) in GetGlyphBoundary() argument
941 sal_uInt16 nModelPos = GetPortionData().GetModelPosition( nPos ); in GetGlyphBoundary()
949 rText, nPos, aLocale, nIterMode, 1, nDone ); in GetGlyphBoundary()
953 bRet = ((rBound.startPos <= nPos) && (nPos <= rBound.endPos)); in GetGlyphBoundary()
954 DBG_ASSERT( rBound.startPos <= nPos, "start pos too high" ); in GetGlyphBoundary()
955 DBG_ASSERT( rBound.endPos >= nPos, "end pos too low" ); in GetGlyphBoundary()
960 rBound.startPos = nPos; in GetGlyphBoundary()
961 rBound.endPos = nPos; in GetGlyphBoundary()
971 sal_Int32 nPos, in GetTextBoundary() argument
980 ? IsValidPosition( nPos, rText.getLength() ) in GetTextBoundary()
981 : IsValidChar( nPos, rText.getLength() ) ) ) in GetTextBoundary()
989 bRet = GetWordBoundary( rBound, rText, nPos ); in GetTextBoundary()
993 bRet = GetSentenceBoundary( rBound, rText, nPos ); in GetTextBoundary()
997 bRet = GetParagraphBoundary( rBound, rText, nPos ); in GetTextBoundary()
1001 bRet = GetCharBoundary( rBound, rText, nPos ); in GetTextBoundary()
1006 if((nPos == rText.getLength()) && nPos > 0) in GetTextBoundary()
1007 bRet = GetLineBoundary( rBound, rText, nPos - 1); in GetTextBoundary()
1009 bRet = GetLineBoundary( rBound, rText, nPos ); in GetTextBoundary()
1013 bRet = GetAttributeBoundary( rBound, rText, nPos ); in GetTextBoundary()
1025 xub_StrLen nBegin = nPos; in GetTextBoundary()
1078 bRet = GetGlyphBoundary( rBound, rText, nPos ); in GetTextBoundary()
1575 sal_uInt16 nPos = 0; in GetCurrentTabStop() local
1584 nPos = pNode->GetTxt().Len(); in GetCurrentTabStop()
1587 nPos = GetPortionData().FillSpecialPos in GetCurrentTabStop()
1592 SwIndex aIndex( pNode, nPos ); in GetCurrentTabStop()
2673 sal_uInt16 nPos = 0; in getCharacterBounds() local
2682 nPos = pNode->GetTxt().Len(); in getCharacterBounds()
2685 nPos = GetPortionData().FillSpecialPos in getCharacterBounds()
2690 SwIndex aIndex( pNode, nPos ); in getCharacterBounds()
3355 sal_uInt16 nPos; member in SwHyperlinkIter_Impl
3360 sal_uInt16 getCurrHintPos() const { return nPos-1; } in getCurrHintPos()
3369 nPos( 0 ) in SwHyperlinkIter_Impl()
3380 while( !pAttr && nPos < pHints->Count() ) in next()
3382 const SwTxtAttr *pHt = (*pHints)[nPos]; in next()
3394 ++nPos; in next()
3653 sal_Int32 nPos = 0; in getHyperLinkIndex() local
3658 nPos++; in getHyperLinkIndex()
3662 nRet = nPos; in getHyperLinkIndex()