/aoo41x/main/tools/inc/tools/ |
H A D | gen.hxx | 389 long nRight; member in Rectangle 479 nRight = rRB.X(); in Rectangle() 488 nRight = _nRight; in Rectangle() 512 return Point( (nRight == RECT_EMPTY) ? nLeft : nRight, nTop ); in TopRight() 522 return Point( (nRight == RECT_EMPTY) ? nLeft : nRight, in BottomRight() 531 return Point( Min( nLeft, nRight ) + Abs( (nRight - nLeft)/2 ), in TopCenter() 540 return Point( Min( nLeft, nRight ) + Abs( (nRight - nLeft)/2 ), in BottomCenter() 657 (nRight == rRect.nRight ) && in operator ==() 665 (nRight != rRect.nRight ) || in operator !=() 674 nRight += rPt.X(); in operator +=() [all …]
|
H A D | svborder.hxx | 32 long nTop, nRight, nBottom, nLeft; member in SvBorder 35 { nTop = nRight = nBottom = nLeft = 0; } in SvBorder() 37 { nTop = nBottom = rSz.Height(); nRight = nLeft = rSz.Width(); } in SvBorder() 40 { nLeft = nLeftP; nTop = nTopP; nRight = nRightP; nBottom = nBottomP; } in SvBorder() 43 return nTop == rObj.nTop && nRight == rObj.nRight && in operator ==() 74 return nTop >= rInside.nTop && nRight >= rInside.nRight && in IsInside() 78 long & Right() { return nRight; } in Right() 82 long Right() const { return nRight; } in Right()
|
/aoo41x/main/tools/source/generic/ |
H A D | gen.cxx | 201 nRight = nLeft + rSize.Width() +1; in SetSize() 205 nRight = RECT_EMPTY; in SetSize() 234 nLeft = Min( Min( nLeft, rRect.nLeft ), Min( nRight, rRect.nRight ) ); in Union() 235 nRight = Max( Max( nLeft, rRect.nLeft ), Max( nRight, rRect.nRight ) ); in Union() 270 nRight = Min( nRight, aTmpRect.nRight ); in Intersection() 296 if ( (nRight < nLeft) && (nRight != RECT_EMPTY) ) in Justify() 299 nLeft = nRight; in Justify() 300 nRight = nHelp; in Justify() 328 if ( nLeft <= nRight ) in IsInside() 448 rRect.nRight = (sal_Int32)nNum; in operator >>() [all …]
|
/aoo41x/main/vcl/source/window/ |
H A D | decoview.cxx | 59 long nRight; in ImplDrawSymbol() local 124 nRight = nCenterX; in ImplDrawSymbol() 149 nRight = nCenterX+n2; in ImplDrawSymbol() 154 nRight--; in ImplDrawSymbol() 217 nRight = nLeft+n2; in ImplDrawSymbol() 247 nRight = nLeft+n2; in ImplDrawSymbol() 252 nRight--; in ImplDrawSymbol() 326 nRight = nCenterX+n2; in ImplDrawSymbol() 348 nRight = nCenterX; in ImplDrawSymbol() 375 nRight = nCenterX-1; in ImplDrawSymbol() [all …]
|
H A D | brdwin.cxx | 147 aTempRect.nRight-=4; in ImplDrawBrdWinSymbolButton() 1535 nRight -= 3; in Init() 1554 pData->maCloseRect.Right() = nRight; in Init() 1563 pData->maMenuRect.Right() = nRight; in Init() 1572 pData->maDockRect.Right() = nRight; in Init() 1577 nRight -= 3; in Init() 1584 pData->maHideRect.Right() = nRight; in Init() 1588 nRight -= 3; in Init() 1595 pData->maRollRect.Right() = nRight; in Init() 1604 pData->maHelpRect.Right() = nRight; in Init() [all …]
|
/aoo41x/main/connectivity/source/drivers/ado/ |
H A D | ADatabaseMetaDataImpl.cxx | 342 sal_Int32 nRight = 0; in MapRight() local 362 return nRight; in MapRight() 369 nRight |= adRightRead; in Map2Right() 372 nRight |= adRightInsert; in Map2Right() 375 nRight |= adRightUpdate; in Map2Right() 378 nRight |= adRightDelete; in Map2Right() 381 nRight |= adRightReadDesign; in Map2Right() 384 nRight |= adRightCreate; in Map2Right() 390 nRight |= adRightReference; in Map2Right() 393 nRight |= adRightDrop; in Map2Right() [all …]
|
/aoo41x/main/sdext/source/presenter/ |
H A D | PresenterGeometryHelper.cxx | 47 sal_Int32 Width (const sal_Int32 nLeft, const sal_Int32 nRight) in Width() argument 49 return nRight - nLeft + 1; in Width() 93 const sal_Int32 nRight (Ceil(rBox.X2)); in ConvertRectangle() local 95 return awt::Rectangle (nLeft,nTop,nRight-nLeft,nBottom-nTop); in ConvertRectangle() 144 const sal_Int32 nRight (::std::min(Right(rBox1), Right(rBox2))); in Intersection() local 146 if (nLeft >= nRight || nTop >= nBottom) in Intersection() 161 const double nRight (::std::min(rBox1.X2, rBox2.X2)); in Intersection() local 163 if (nLeft >= nRight || nTop >= nBottom) in Intersection() 211 if (nLeft >= nRight || nTop >= nBottom) in Union() 226 const double nRight (::std::max(rBox1.X2, rBox2.X2)); in Union() local [all …]
|
H A D | PresenterPaneBorderManager.cxx | 451 sal_Int32 nRight = aBox.X + aBox.Width; in mouseDragged() local 460 nRight += nDiffX; nBottom += nDiffY; in mouseDragged() 466 nRight += nDiffX; aBox.Y += nDiffY; in mouseDragged() 472 nRight += nDiffX; in mouseDragged() 478 nRight += nDiffX; nBottom += nDiffY; in mouseDragged() 486 aBox.Width = nRight - aBox.X; in mouseDragged() 509 const sal_Int32 nWidth = ::std::max(nOldRight,nRight) - nLeft; in mouseDragged()
|
/aoo41x/main/sw/source/core/table/ |
H A D | swnewtable.cxx | 384 long nRight = 0; in CollectBoxSelection() local 391 nLeft = nRight; in CollectBoxSelection() 407 if( nRight >= nMid || nRight + nLeft >= nMin + nMin ) in CollectBoxSelection() 1614 long nRight = 0; in lcl_SearchSelBox() local 1622 nRight += nWidth; in lcl_SearchSelBox() 1623 if( nRight > nMin ) in lcl_SearchSelBox() 1649 nLeft = nRight; in lcl_SearchSelBox() 1883 long nRight = 0; in ExpandColumnSelection() local 1886 nLeft = nRight; in ExpandColumnSelection() 1913 long nRight = 0; in PrepareDeleteCol() local [all …]
|
/aoo41x/main/sw/source/core/layout/ |
H A D | ssfrm.cxx | 203 Prt().Width( Frm().Width() - nLeft - nRight ); in SetLeftRightMargins() 209 Prt().Width( Frm().Width() - nLeft - nRight ); in SetRightLeftMargins() 663 long nRight = (aRect.*fnRect->fnGetRight)(); in PaintArea() local 693 if( bRight || nTmpRight < nRight ) in PaintArea() 694 nRight = nTmpRight; in PaintArea() 713 if( bRight || nTmpRight < nRight ) in PaintArea() 714 nRight = nTmpRight; in PaintArea() 735 nRight = nTmpRight; in PaintArea() 742 (aRect.*fnRect->fnSetRight)( nRight ); in PaintArea() 771 SwTwips nRight = nLeft + nWidth; in UnionFrm() local [all …]
|
/aoo41x/main/sw/source/ui/table/ |
H A D | tabledlg.cxx | 376 nRight -= nDiff; in IMPL_LINK_INLINE_END() 380 if( nRight >= nDiff ) in IMPL_LINK_INLINE_END() 381 nRight -= nDiff; in IMPL_LINK_INLINE_END() 384 nDiff -= nRight; in IMPL_LINK_INLINE_END() 385 nRight = 0; in IMPL_LINK_INLINE_END() 404 nRight = nDiff/2; in IMPL_LINK_INLINE_END() 409 nRight -= nDiff/2; in IMPL_LINK_INLINE_END() 416 nRight -= nDiff/2; in IMPL_LINK_INLINE_END() 433 nRight = nLeft; in IMPL_LINK_INLINE_END() 438 nRight = bCenter ? (pTblData->GetSpace() - MINLAY) /2 : nRight; in IMPL_LINK_INLINE_END() [all …]
|
/aoo41x/main/svx/source/table/ |
H A D | cellrange.cxx | 45 …const TableModelRef & xTable, sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom… in CellRange() argument 49 , mnRight(nRight) in CellRange() 100 …ange::getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom… in getCellRangeByPosition() argument 102 if( (nLeft >= 0 ) && (nTop >= 0) && (nRight >= nLeft) && (nBottom >= nTop) ) in getCellRangeByPosition() 106 nRight += mnLeft; in getCellRangeByPosition() 111 if( (nLeft < nMaxColumns) && (nRight < nMaxColumns) && (nTop < nMaxRows) && (nBottom < nMaxRows) ) in getCellRangeByPosition() 113 return mxTable->getCellRangeByPosition( nLeft, nTop, nRight, nBottom ); in getCellRangeByPosition()
|
/aoo41x/main/sw/source/core/edit/ |
H A D | edlingu.cxx | 120 sal_uInt16 nRight; member 1073 xub_StrLen nRight = 0; in GetCorrection() local 1075 ++nRight; in GetCorrection() 1081 ExtendSelection( sal_True, nLen - nLeft - nRight ); in GetCorrection() 1085 …StrLen nWordEnd = (nBegin + nLen - nLeft - nRight) > nLineEnd ? nLineEnd - 1: (nBegin + nLen - nLe… in GetCorrection() 1217 xub_StrLen nRight = 0; in GetGrammarCorrection() local 1219 ++nRight; in GetGrammarCorrection() 1229 …StrLen nWordEnd = (nBegin + nLen - nLeft - nRight) > nLineEnd ? nLineEnd - 1: (nBegin + nLen - nLe… in GetGrammarCorrection() 1493 aAdd.nRight = nEnd; in lcl_CollectDeletedRedlines() 1526 aRet.nLeft = aRet.nRight = STRING_MAXLEN; in lcl_FindNextDeletedRedline() [all …]
|
/aoo41x/main/vcl/source/gdi/ |
H A D | regionband.cxx | 88 const long nRight(std::max(rRect.Left(), rRect.Right())); in RegionBand() local 94 mpFirstBand->Union(nLeft, nRight); in RegionBand() 899 void RegionBand::Union(long nLeft, long nTop, long nRight, long nBottom) in Union() argument 901 DBG_ASSERT( nLeft <= nRight, "RegionBand::Union() - nLeft > nRight" ); in Union() 911 pBand->Union( nLeft, nRight ); in Union() 948 pBand->Intersect(nLeft, nRight); in Intersect() 1000 DBG_ASSERT( nLeft <= nRight, "RegionBand::Exclude() - nLeft > nRight" ); in Exclude() 1012 pBand->Exclude(nLeft, nRight); in Exclude() 1040 void RegionBand::XOr(long nLeft, long nTop, long nRight, long nBottom) in XOr() argument 1042 DBG_ASSERT( nLeft <= nRight, "RegionBand::Exclude() - nLeft > nRight" ); in XOr() [all …]
|
/aoo41x/main/svx/source/dialog/ |
H A D | rulritem.cxx | 446 nRight != ((const SvxColumnItem&)rCmp).nRight || in operator ==() 498 nRight ( 0 ), in SvxColumnItem() 513 nRight ( right ), in SvxColumnItem() 528 nRight ( rCopy.nRight ), in SvxColumnItem() 552 nRight = rCopy.nRight; in operator =() 603 case MID_RIGHT: rVal <<= nRight; break; in QueryValue() 624 case MID_RIGHT: rVal >>= nRight; break; in PutValue()
|
/aoo41x/main/sw/source/core/bastyp/ |
H A D | swrect.cxx | 171 const long nRight = Right(); in IsInside() local 175 return (Left() <= rRect.Left()) && (rRect.Left()<= nRight) && in IsInside() 176 (Left() <= nrRight) && (nrRight <= nRight) && in IsInside() 252 void SwRect::_Right( const long nRight ){ m_Size.setWidth(nRight - m_Point.getX()); } in _Right() argument 300 void SwRect::SetRightAndWidth( long nRight, long nNew ) in SetRightAndWidth() argument 302 m_Point.setX(nRight - nNew); in SetRightAndWidth()
|
/aoo41x/main/svx/inc/svx/ |
H A D | grfcrop.hxx | 35 sal_Int32 nLeft, nRight, nTop, nBottom; member in SvxGrfCrop 38 SvxGrfCrop( sal_Int32 nLeft, sal_Int32 nRight, 58 void SetRight( sal_Int32 nVal ) { nRight = nVal; } in SetRight() 63 sal_Int32 GetRight() const { return nRight; } in GetRight() 70 nRight = rCrop.GetRight(); nBottom = rCrop.GetBottom(); in operator =()
|
/aoo41x/main/sd/source/ui/view/ |
H A D | viewshe2.cxx | 533 long nLeft, long nRight, in SetPageSizeAndBorder() argument 566 nLeft, nRight, in SetPageSizeAndBorder() 575 nLeft >= 0 || nRight >= 0 || nUpper >= 0 || nLower >= 0) in SetPageSizeAndBorder() 577 Rectangle aNewBorderRect(nLeft, nUpper, nRight, nLower); in SetPageSizeAndBorder() 584 if( nLeft >= 0 || nRight >= 0 || nUpper >= 0 || nLower >= 0 ) in SetPageSizeAndBorder() 586 pPage->SetBorder(nLeft, nUpper, nRight, nLower); in SetPageSizeAndBorder() 617 nLeft, nRight, in SetPageSizeAndBorder() 626 nLeft >= 0 || nRight >= 0 || nUpper >= 0 || nLower >= 0) in SetPageSizeAndBorder() 628 Rectangle aNewBorderRect(nLeft, nUpper, nRight, nLower); in SetPageSizeAndBorder() 635 if( nLeft >= 0 || nRight >= 0 || nUpper >= 0 || nLower >= 0 ) in SetPageSizeAndBorder() [all …]
|
/aoo41x/main/sw/source/core/text/ |
H A D | txttab.cxx | 57 const SwTwips nRight ) const in GetTabStop() 62 if( rTabStop.GetTabPos() > SwTwips(nRight) ) in GetTabStop() 502 const KSHORT nRight = Min( GetTabPos(), rInf.Width() ); in PostFormat() local 525 if ( nPrePorWidth && nPorWidth - nPrePorWidth > rInf.Width() - nRight ) in PostFormat() 527 nPrePorWidth += nPorWidth - nPrePorWidth - ( rInf.Width() - nRight ); in PostFormat() 540 if( nNewWidth > rInf.Width() - nRight ) in PostFormat() 541 nNewWidth = nPorWidth - (rInf.Width() - nRight); in PostFormat() 545 const KSHORT nDiffWidth = nRight - Fix(); in PostFormat()
|
/aoo41x/main/sc/source/ui/view/ |
H A D | preview.cxx | 141 nRight[i] = 0; // initialized with actual positions when markers are drawn in ScPreview() 434 nRight[i] = aRectCellPosition.Right(); in DoPrint() 443 nRight[ aPageArea.aEnd.Col() ] = aRectCellPosition.Left(); in DoPrint() 447 … nRight[ i-1 ] = nRight[ i ] + aRectCellPosition.Right() - aRectCellPosition.Left() + 1; in DoPrint() 510 …DrawRect( Rectangle( Point( nRight[i] - 2, aColumnTop.Y() ),Point( nRight[i] + 2 , 4 + aColumnTop.… in DoPrint() 511 … DrawLine( Point( nRight[i], aColumnTop.Y() ), Point( nRight[i], 10 + aColumnTop.Y()) ); in DoPrint() 992 if( aNowPt.X() < nRight[i] + 2 && aNowPt.X() > nRight[i] - 2 ) in MouseButtonDown() 1005 …DrawInvert( PixelToLogic( Point( nRight[ nColNumberButttonDown-1 ], 0 ),aMMMode ).X() ,POINTER_HSP… in MouseButtonDown() 1218 …DrawInvert( PixelToLogic( Point( nRight[ nColNumberButttonDown-1 ], 0 ),aMMMode ).X() ,POINTER_HSP… in MouseButtonUp() 1229 …nNewColWidth = (long) ( PixelToLogic( Point( rMEvt.GetPosPixel().X() - nRight[ nColNumberButttonDo… in MouseButtonUp() [all …]
|
/aoo41x/main/comphelper/inc/comphelper/ |
H A D | sequence.hxx | 74 sal_Int32 nLeft(_rLeft.getLength()), nRight(_rRight.getLength()); in concatSequences() local 78 sal_Int32 nReturnLen(nLeft + nRight); in concatSequences() 83 internal::implCopySequence(pRight, pReturn, nRight); in concatSequences() 93 sal_Int32 nLeft(_rLeft.getLength()), nMiddle(_rMiddle.getLength()), nRight(_rRight.getLength()); in concatSequences() local 98 sal_Int32 nReturnLen(nLeft + nMiddle + nRight); in concatSequences() 104 internal::implCopySequence(pRight, pReturn, nRight); in concatSequences()
|
/aoo41x/main/svx/source/items/ |
H A D | grfitem.cxx | 45 nLeft( 0 ), nRight( 0 ), nTop( 0 ), nBottom( 0 ) in SvxGrfCrop() 51 nLeft( nL ), nRight( nR ), nTop( nT ), nBottom( nB ) in SvxGrfCrop() 62 nRight == ((const SvxGrfCrop&)rAttr).GetRight() && in operator ==() 122 aRet.Right = nRight; in QueryValue() 156 nRight = aVal.Right ; in PutValue()
|
/aoo41x/main/sd/source/ui/app/ |
H A D | sdmod1.cxx | 791 sal_uInt32 nRight = 0; in ChangeMedium() local 833 nRight=1000; in ChangeMedium() 840 nRight=0; in ChangeMedium() 851 nRight=0; in ChangeMedium() 861 nRight=0; in ChangeMedium() 882 Rectangle aBorderRect(nLeft, nUpper, nRight, nLower); in ChangeMedium() 885 pPage->SetBorder(nLeft, nUpper, nRight, nLower); in ChangeMedium() 905 Rectangle aBorderRect(nLeft, nUpper, nRight, nLower); in ChangeMedium() 908 pPage->SetBorder(nLeft, nUpper, nRight, nLower); in ChangeMedium()
|
/aoo41x/main/starmath/source/ |
H A D | rect.cxx | 282 void SmRect::SetRight(long nRight) in SetRight() argument 284 if (nRight >= GetLeft()) in SetRight() 285 aSize.Width() = nRight - GetLeft() + 1; in SetRight() 636 nRight = GetRight() + nRightSpace; in Draw() local 642 Point(nRight, GetAlignB()) += aOffset); in Draw() 644 Point(nRight, GetAlignT()) += aOffset); in Draw() 647 Point(nRight, GetBaseline()) += aOffset); in Draw() 651 Point(nRight, GetHiAttrFence()) += aOffset); in Draw()
|
/aoo41x/main/vcl/inc/ |
H A D | regionband.hxx | 70 void Union(long nLeft, long nTop, long nRight, long nBottom); 71 void Intersect(long nLeft, long nTop, long nRight, long nBottom); 73 void Exclude(long nLeft, long nTop, long nRight, long nBottom); 74 void XOr(long nLeft, long nTop, long nRight, long nBottom);
|