Lines Matching refs:nRight
384 long nRight = 0; in CollectBoxSelection() local
391 nLeft = nRight; in CollectBoxSelection()
392 nRight += pBox->GetFrmFmt()->GetFrmSize().GetWidth(); in CollectBoxSelection()
394 if( nRight <= nMin ) in CollectBoxSelection()
396 if( nRight == nMin && nLeftSpanCnt ) in CollectBoxSelection()
407 if( nRight >= nMid || nRight + nLeft >= nMin + nMin ) in CollectBoxSelection()
415 if( nRight > nMax ) in CollectBoxSelection()
420 nDiff2 = nRight - nMax; in CollectBoxSelection()
425 else if( nRightSpanCnt && nRight == nMax ) in CollectBoxSelection()
435 nDiff = nMin - nRight; in CollectBoxSelection()
440 else if( nRight <= nMax ) in CollectBoxSelection()
452 if( nRightSpanCnt && nRight == nMax ) in CollectBoxSelection()
457 if( nLeft <= nMid || nRight + nLeft <= nMax ) in CollectBoxSelection()
464 nDiff = nRight - nMax; in CollectBoxSelection()
1614 long nRight = 0; in lcl_SearchSelBox() local
1622 nRight += nWidth; in lcl_SearchSelBox()
1623 if( nRight > nMin ) in lcl_SearchSelBox()
1626 if( nRight <= nMax ) in lcl_SearchSelBox()
1627 bAdd = nLeft >= nMin || nRight >= nMid || in lcl_SearchSelBox()
1628 nRight - nMin > nMin - nLeft; in lcl_SearchSelBox()
1630 bAdd = nLeft <= nMid || nRight - nMax < nMax - nLeft; in lcl_SearchSelBox()
1647 if( nRight >= nMax ) in lcl_SearchSelBox()
1649 nLeft = nRight; in lcl_SearchSelBox()
1883 long nRight = 0; in ExpandColumnSelection() local
1886 nLeft = nRight; in ExpandColumnSelection()
1888 nRight += pBox->GetFrmFmt()->GetFrmSize().GetWidth(); in ExpandColumnSelection()
1889 if( nLeft >= rMin && nRight <= rMax ) in ExpandColumnSelection()
1913 long nRight = 0; in PrepareDeleteCol() local
1916 nLeft = nRight; in PrepareDeleteCol()
1918 nRight += pBox->GetFrmFmt()->GetFrmSize().GetWidth(); in PrepareDeleteCol()
1919 if( nRight < nMin ) in PrepareDeleteCol()
1926 if( nRight <= nMax ) in PrepareDeleteCol()
1929 else if( nRight > nMax ) in PrepareDeleteCol()
1930 nNewWidth = nRight - nMid; in PrepareDeleteCol()
2154 SwTwips nRight; member
2185 ASSERT( aIter->nLeft == nWidth && aIter->nRight == nNewWidth, in CheckConsistency()
2203 aEntry.nRight = nNewWidth; in CheckConsistency()