Lines Matching refs:nEndIndex
251 sal_uLong nEndIndex = pEnd->nNode.GetIndex(); in GetSelection() local
253 ( nHere <= nEndIndex ) ) in GetSelection()
295 if( nHere < nEndIndex ) in GetSelection()
304 DBG_ASSERT( nHere == nEndIndex, in GetSelection()
667 sal_Int32 nEndIndex ) in CreateUnoPortion() argument
670 (nEndIndex == -1)) || in CreateUnoPortion()
671 IsValidRange(nStartIndex, nEndIndex, GetString().getLength()), in CreateUnoPortion()
675 sal_uInt16 nEnd = (nEndIndex == -1) ? (nStart + 1) : in CreateUnoPortion()
676 GetPortionData().GetModelPosition( nEndIndex ); in CreateUnoPortion()
2831 sal_Bool SwAccessibleParagraph::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) in setSelection() argument
2840 if ( ! IsValidRange( nStartIndex, nEndIndex, nLength ) ) in setSelection()
2858 GetPortionData().GetModelPosition(nEndIndex); in setSelection()
2878 sal_Int32 nStartIndex, sal_Int32 nEndIndex ) in getTextRange() argument
2887 if ( IsValidRange( nStartIndex, nEndIndex, sText.getLength() ) ) in getTextRange()
2889 OrderRange( nStartIndex, nEndIndex ); in getTextRange()
2890 return sText.copy(nStartIndex, nEndIndex-nStartIndex ); in getTextRange()
3101 sal_Bool SwAccessibleParagraph::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) in copyText() argument
3108 setSelection( nStartIndex, nEndIndex ); in copyText()
3118 sal_Bool SwAccessibleParagraph::cutText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) in cutText() argument
3128 setSelection( nStartIndex, nEndIndex ); in cutText()
3148 sal_Bool SwAccessibleParagraph::deleteText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) in deleteText() argument
3151 return replaceText( nStartIndex, nEndIndex, ::rtl::OUString() ); in deleteText()
3161 sal_Int32 nStartIndex, sal_Int32 nEndIndex, in replaceText() argument
3171 if( IsValidRange( nStartIndex, nEndIndex, rText.getLength() ) ) in replaceText()
3181 nStartIndex, nEndIndex, nStart, nEnd ); in replaceText()
3213 sal_Int32 nEndIndex, in setAttributes() argument
3222 if( ! IsValidRange( nStartIndex, nEndIndex, rText.getLength() ) ) in setAttributes()
3232 nEndIndex ); in setAttributes()
3723 sal_uLong nEndIndex = pEnd->nNode.GetIndex(); in getSelectedPortionCount() local
3725 ( nHere <= nEndIndex ) ) in getSelectedPortionCount()
3796 sal_uLong nEndIndex = pEnd->nNode.GetIndex(); in removeSelection() local
3798 ( nHere <= nEndIndex ) ) in removeSelection()
4102 sal_uLong nEndIndex = pEnd->nNode.GetIndex(); in GetSelectionAtIndex() local
4104 ( nHere <= nEndIndex ) ) in GetSelectionAtIndex()
4148 if( nHere < nEndIndex ) in GetSelectionAtIndex()