Home
last modified time | relevance | path

Searched refs:nRight (Results 1 – 25 of 244) sorted by relevance

12345678910

/AOO41X/main/tools/inc/tools/
H A Dgen.hxx389 long nRight; member in Rectangle
395 long nRight, long nBottom );
399 long Right() const { return nRight; } in Right()
404 long& Right() { return nRight; } in Right()
438 void SetEmpty() { nRight = nBottom = RECT_EMPTY; } in SetEmpty()
461 long getWidth() const { return nRight - nLeft; } in getWidth()
463 void setX( long n ) { nRight += n-nLeft; nLeft = n; } in setX()
465 void setWidth( long n ) { nRight = nLeft + n; } in setWidth()
472 nRight = nBottom = RECT_EMPTY; in Rectangle()
479 nRight = rRB.X(); in Rectangle()
[all …]
H A Dsvborder.hxx32 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 Dgen.cxx201 nRight = nLeft + rSize.Width() +1; in SetSize()
203 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()
275 if ( nRight < nLeft || nBottom < nTop ) in Intersection()
296 if ( (nRight < nLeft) && (nRight != RECT_EMPTY) ) in Justify()
299 nLeft = nRight; in Justify()
300 nRight = nHelp; in Justify()
[all …]
/AOO41X/main/vcl/source/window/
H A Ddecoview.cxx59 long nRight; in ImplDrawSymbol() local
124 nRight = nCenterX; in ImplDrawSymbol()
125 pDev->DrawRect( Rectangle( nLeft, nCenterY, nRight, nCenterY ) ); in ImplDrawSymbol()
131 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
133 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
136 pDev->DrawRect( Rectangle( nRight, nCenterY-n4, in ImplDrawSymbol()
137 nRight+n2, nCenterY+n4 ) ); in ImplDrawSymbol()
149 nRight = nCenterX+n2; in ImplDrawSymbol()
150 pDev->DrawRect( Rectangle( nLeft, nCenterY, nRight, nCenterY ) ); in ImplDrawSymbol()
154 nRight--; in ImplDrawSymbol()
[all …]
H A Dbrdwin.cxx147 aTempRect.nRight-=4; in ImplDrawBrdWinSymbolButton()
1531 long nRight = pData->maTitleRect.Right(); in Init() local
1535 nRight -= 3; in Init()
1554 pData->maCloseRect.Right() = nRight; in Init()
1556 nRight -= pData->maCloseRect.GetWidth()+3; in Init()
1563 pData->maMenuRect.Right() = nRight; in Init()
1565 nRight -= pData->maMenuRect.GetWidth(); in Init()
1572 pData->maDockRect.Right() = nRight; in Init()
1574 nRight -= pData->maDockRect.GetWidth(); in Init()
1577 nRight -= 3; in Init()
[all …]
/AOO41X/main/connectivity/source/drivers/ado/
H A DADatabaseMetaDataImpl.cxx342 sal_Int32 nRight = 0; in MapRight() local
344 nRight |= Privilege::SELECT; in MapRight()
346 nRight |= Privilege::INSERT; in MapRight()
348 nRight |= Privilege::UPDATE; in MapRight()
350 nRight |= Privilege::DELETE; in MapRight()
352 nRight |= Privilege::READ; in MapRight()
354 nRight |= Privilege::CREATE; in MapRight()
356 nRight |= Privilege::ALTER; in MapRight()
358 nRight |= Privilege::REFERENCE; in MapRight()
360 nRight |= Privilege::DROP; in MapRight()
[all …]
/AOO41X/main/sdext/source/presenter/
H A DPresenterGeometryHelper.cxx47 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()
149 return awt::Rectangle(nLeft,nTop, Width(nLeft,nRight), Height(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()
166 return geometry::RealRectangle2D(nLeft,nTop, nRight, nBottom); in Intersection()
[all …]
H A DPresenterPaneBorderManager.cxx451 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 Dswnewtable.cxx384 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()
[all …]
/AOO41X/main/sw/source/core/layout/
H A Dssfrm.cxx200 void SwFrm::SetLeftRightMargins( long nLeft, long nRight) in SetLeftRightMargins() argument
203 Prt().Width( Frm().Width() - nLeft - nRight ); in SetLeftRightMargins()
206 void SwFrm::SetRightLeftMargins( long nRight, long nLeft) in SetRightLeftMargins() argument
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()
733 && ( bRight || nTmpRight < nRight ) ) in PaintArea()
[all …]
/AOO41X/main/sw/source/ui/table/
H A Dtabledlg.cxx227 sal_Int64 nRight = aRightMF.DenormalizePercent(aRightMF.GetValue(FUNIT_TWIP )); in IMPL_LINK() local
242 aRightMF.SetPrcntValue(aRightMF.NormalizePercent(nRight ), FUNIT_TWIP ); in IMPL_LINK()
362 …SwTwips nRight = static_cast< SwTwips >(aRightMF.DenormalizePercent(aRightMF.GetValue( FUNIT_TWIP … in IMPL_LINK_INLINE_END() local
370 nDiff = nRight + nLeft + nCurWidth - pTblData->GetSpace() ; in IMPL_LINK_INLINE_END()
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()
390 nRight += nLeft - nDiff; in IMPL_LINK_INLINE_END()
[all …]
/AOO41X/main/svx/source/table/
H A Dcellrange.cxx45 …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 Dedlingu.cxx120 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()
1225 ExtendSelection( sal_True, nLen - nLeft - nRight ); in GetGrammarCorrection()
1229 …StrLen nWordEnd = (nBegin + nLen - nLeft - nRight) > nLineEnd ? nLineEnd - 1: (nBegin + nLen - nLe… in GetGrammarCorrection()
1371 pCrsr->GetMark()->nContent = aCurrentOldPosition->nRight; in ApplyChangedSentence()
[all …]
/AOO41X/main/vcl/source/gdi/
H A Dregionband.cxx88 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()
936 void RegionBand::Intersect(long nLeft, long nTop, long nRight, long nBottom) in Intersect() argument
948 pBand->Intersect(nLeft, nRight); in Intersect()
998 void RegionBand::Exclude(long nLeft, long nTop, long nRight, long nBottom) in Exclude() argument
1000 DBG_ASSERT( nLeft <= nRight, "RegionBand::Exclude() - nLeft > nRight" ); in Exclude()
1012 pBand->Exclude(nLeft, nRight); in Exclude()
[all …]
/AOO41X/main/svx/source/dialog/
H A Drulritem.cxx446 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 Dswrect.cxx171 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/sd/source/ui/view/
H A Dviewshe2.cxx533 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/svx/inc/svx/
H A Dgrfcrop.hxx35 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/sw/source/core/text/
H A Dtxttab.cxx57 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 Dpreview.cxx141 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()
447nRight[ 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 Dsequence.hxx74 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 Dgrfitem.cxx45 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 Dsdmod1.cxx791 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 Drect.cxx282 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 Dregionband.hxx70 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);

12345678910