Lines Matching refs:nFlatIndex
172 EPosition Index2Internal( sal_Int32 nFlatIndex ) const in Index2Internal()
176 return ImpCalcInternal( nFlatIndex, false ); in Index2Internal()
179 EPosition Range2Internal( sal_Int32 nFlatIndex ) const in Range2Internal()
183 return ImpCalcInternal( nFlatIndex, true ); in Range2Internal()
201 EPosition ImpCalcInternal( sal_Int32 nFlatIndex, bool bExclusive ) const;
376 …EPosition AccessibleStaticTextBase_Impl::ImpCalcInternal( sal_Int32 nFlatIndex, bool bExclusive ) … in ImpCalcInternal() argument
380 if( nFlatIndex < 0 ) in ImpCalcInternal()
390 if( nCurrIndex >= nFlatIndex ) in ImpCalcInternal()
394 … nFlatIndex - nCurrIndex + nCurrCount >= 0 && nFlatIndex - nCurrIndex + nCurrCount <= USHRT_MAX , in ImpCalcInternal()
397 … return EPosition( nCurrPara, static_cast< sal_uInt16 >(nFlatIndex - nCurrIndex + nCurrCount) ); in ImpCalcInternal()
402 if( bExclusive && nCurrIndex == nFlatIndex ) in ImpCalcInternal()
406 … nFlatIndex - nCurrIndex + nCurrCount >= 0 && nFlatIndex - nCurrIndex + nCurrCount <= USHRT_MAX , in ImpCalcInternal()
409 … return EPosition( nCurrPara-1, static_cast< sal_uInt16 >(nFlatIndex - nCurrIndex + nCurrCount) ); in ImpCalcInternal()