Lines Matching refs:nRulerPos

305 sal_Int32 lcl_GetApiPos( sal_Int32 nRulerPos )  in lcl_GetApiPos()  argument
307 sal_Int32 nApiPos = nRulerPos; in lcl_GetApiPos()
308 sal_Int32 nStart = (nRulerPos - 1) / 10; in lcl_GetApiPos()
323 sal_Int32 nRulerPos = 0; in lcl_GetRulerPos() local
329 nRulerPos = nExp; in lcl_GetRulerPos()
335 return nRulerPos + nRelPos / nDiv * 10 + ::std::max( nRelPos % nDiv - nDiv + 10L, 0L ); in lcl_GetRulerPos()
595 sal_Int32 nRulerPos = lcl_GetRulerPos( nIndex ); in getTextAtIndex() local
611 if( nRulerPos % 10 ) in getTextAtIndex()
614 aResultText.append( nRulerPos ); // string representation of sal_Int32!!! in getTextAtIndex()
655 sal_Int32 nRulerPos = lcl_GetRulerPos( nIndex ); in getTextBeforeIndex() local
669 if( nRulerPos > 0 ) in getTextBeforeIndex()
670 aResult = getTextAtIndex( lcl_GetApiPos( nRulerPos - 1 ), nTextType ); in getTextBeforeIndex()
708 sal_Int32 nRulerPos = lcl_GetRulerPos( nIndex ); in getTextBehindIndex() local
723 if( nRulerPos < implGetRuler().GetPosCount() ) in getTextBehindIndex()
724 aResult = getTextAtIndex( lcl_GetApiPos( nRulerPos + 1 ), nTextType ); in getTextBehindIndex()
866 sal_Int32 nRulerPos = lcl_GetRulerPos( maBuffer.getLength() ); in constructStringBuffer() local
867 for( ; nRulerPos <= nRulerCount; ++nRulerPos ) // include last position in constructStringBuffer()
869 switch( nRulerPos % 10 ) in constructStringBuffer()
871 case 0: maBuffer.append( nRulerPos ); break; in constructStringBuffer()
885 sal_Int32 nRulerPos = lcl_GetRulerPos( nApiPos ); in implHasSplit() local
886 return implGetRuler().HasSplit( nRulerPos ) && (nApiPos == lcl_GetApiPos( nRulerPos )); in implHasSplit()