Lines Matching refs:nApiPos
307 sal_Int32 nApiPos = nRulerPos; in lcl_GetApiPos() local
312 nApiPos += nStart - nExp + 1; in lcl_GetApiPos()
315 return ::std::max( nApiPos, static_cast<sal_Int32>(0) ); in lcl_GetApiPos()
319 sal_Int32 lcl_GetRulerPos( sal_Int32 nApiPos ) in lcl_GetRulerPos() argument
326 while( nApiPos >= nApiLimit ) in lcl_GetRulerPos()
334 sal_Int32 nRelPos = nApiPos - nApiBase; in lcl_GetRulerPos()
883 bool ScAccessibleCsvRuler::implHasSplit( sal_Int32 nApiPos ) in implHasSplit() argument
885 sal_Int32 nRulerPos = lcl_GetRulerPos( nApiPos ); in implHasSplit()
886 return implGetRuler().HasSplit( nRulerPos ) && (nApiPos == lcl_GetApiPos( nRulerPos )); in implHasSplit()
889 sal_Int32 ScAccessibleCsvRuler::implGetFirstEqualFormatted( sal_Int32 nApiPos ) in implGetFirstEqualFormatted() argument
891 bool bSplit = implHasSplit( nApiPos ); in implGetFirstEqualFormatted()
892 while( (nApiPos > 0) && (implHasSplit( nApiPos - 1 ) == bSplit) ) in implGetFirstEqualFormatted()
893 --nApiPos; in implGetFirstEqualFormatted()
894 return nApiPos; in implGetFirstEqualFormatted()
897 sal_Int32 ScAccessibleCsvRuler::implGetLastEqualFormatted( sal_Int32 nApiPos ) in implGetLastEqualFormatted() argument
899 bool bSplit = implHasSplit( nApiPos ); in implGetLastEqualFormatted()
901 while( (nApiPos < nLength - 1) && (implHasSplit( nApiPos + 1 ) == bSplit) ) in implGetLastEqualFormatted()
902 ++nApiPos; in implGetLastEqualFormatted()
903 return nApiPos; in implGetLastEqualFormatted()