| /AOO42X/main/tools/inc/tools/ |
| H A D | gen.hxx | 390 long nBottom; member in Rectangle 395 long nRight, long nBottom ); 401 long Bottom() const { return nBottom; } in Bottom() 406 long& Bottom() { return nBottom; } in Bottom() 438 void SetEmpty() { nRight = nBottom = RECT_EMPTY; } in SetEmpty() 462 long getHeight() const { return nBottom - nTop; } in getHeight() 464 void setY( long n ) { nBottom += n-nTop; nTop = n; } in setY() 466 void setHeight( long n ) { nBottom = nTop + n; } in setHeight() 472 nRight = nBottom = RECT_EMPTY; in Rectangle() 480 nBottom = rRB.Y(); in Rectangle() [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() 44 nBottom == rObj.nBottom && nLeft == rObj.nLeft; in operator ==() 75 nBottom >= rInside.nBottom && nLeft >= rInside.nLeft; in IsInside() 79 long & Bottom() { return nBottom; } in Bottom() 83 long Bottom() const { return nBottom; } in Bottom()
|
| /AOO42X/main/tools/source/generic/ |
| H A D | gen.cxx | 208 nBottom = nTop + rSize.Height() +1; in SetSize() 210 nBottom = nTop + rSize.Height() -1; in SetSize() 212 nBottom = RECT_EMPTY; in SetSize() 236 nTop = Min( Min( nTop, rRect.nTop ), Min( nBottom, rRect.nBottom ) ); in Union() 237 nBottom = Max( Max( nTop, rRect.nTop ), Max( nBottom, rRect.nBottom ) ); in Union() 272 nBottom= Min( nBottom, aTmpRect.nBottom ); in Intersection() 275 if ( nRight < nLeft || nBottom < nTop ) in Intersection() 304 if ( (nBottom < nTop) && (nBottom != RECT_EMPTY) ) in Justify() 306 nHelp = nBottom; in Justify() 307 nBottom = nTop; in Justify() [all …]
|
| /AOO42X/main/vcl/source/window/ |
| H A D | decoview.cxx | 60 long nBottom; in ImplDrawSymbol() local 74 nBottom = nCenterY; in ImplDrawSymbol() 75 pDev->DrawRect( Rectangle( nCenterX, nTop, nCenterX, nBottom ) ); in ImplDrawSymbol() 81 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol() 83 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol() 86 pDev->DrawRect( Rectangle( nCenterX-n4, nBottom, in ImplDrawSymbol() 87 nCenterX+n4, nBottom+n2 ) ); in ImplDrawSymbol() 99 nBottom = nCenterY+n2; in ImplDrawSymbol() 100 pDev->DrawRect( Rectangle( nCenterX, nTop, nCenterX, nBottom ) ); in ImplDrawSymbol() 104 nBottom--; in ImplDrawSymbol() [all …]
|
| /AOO42X/main/vcl/source/gdi/ |
| H A D | regionband.cxx | 86 const long nBottom(std::max(rRect.Top(), rRect.Bottom())); in RegionBand() local 91 mpFirstBand = new ImplRegionBand(nTop, nBottom); in RegionBand() 375 void RegionBand::ImplAddMissingBands(const long nTop, const long nBottom) in ImplAddMissingBands() argument 383 while (pBand != NULL && nCurrentTop<nBottom) in ImplAddMissingBands() 390 ::std::min(nBottom,pBand->mnYTop-1)); in ImplAddMissingBands() 405 if (nCurrentTop <= nBottom in ImplAddMissingBands() 406 && (pBand==NULL || nBottom>pBand->mnYBottom)) in ImplAddMissingBands() 414 nBottom)); in ImplAddMissingBands() 728 void RegionBand::InsertBands(long nTop, long nBottom) in InsertBands() argument 734 mpFirstBand = new ImplRegionBand( nTop, nBottom ); in InsertBands() [all …]
|
| H A D | region.cxx | 138 const long nBottom (::std::max(aStart.Y(), aEnd.Y())); in ImplRectilinearPolygonToBands() local 142 pRegionBand->ImplAddMissingBands(nTop,nBottom); in ImplRectilinearPolygonToBands() 164 while (pBand!=NULL && pBand->mnYBottom < nBottom) in ImplRectilinearPolygonToBands() 170 && pBand->mnYTop<=nBottom in ImplRectilinearPolygonToBands() 172 && pBand->mnYBottom>nBottom in ImplRectilinearPolygonToBands() 177 pBand->SplitBand(nBottom+1); in ImplRectilinearPolygonToBands() 185 for (pBand=pTopBand; pBand!=NULL&&pBand->mnYTop<=nBottom; pBand=pBand->mpNextBand) in ImplRectilinearPolygonToBands() 589 const long nBottom(std::max(rRect.Top(), rRect.Bottom())); in Union() local 592 pNew->InsertBands(nTop, nBottom); in Union() 595 pNew->Union(nLeft, nTop, nRight, nBottom); in Union() [all …]
|
| H A D | bitmap3.cxx | 1471 long nLeft, nRight, nTop, nBottom, nWeightX, nWeightY ; in ImplScaleSuper() local 1477 nBottom = bVMirr ? nY : ( nY + 1 ) ; in ImplScaleSuper() 1487 … nLineRange = ( pMapIY[ nBottom ] == pMapIY[ nTop ] ) ? 1 :( pMapIY[ nBottom ] - pMapIY[ nTop ] ); in ImplScaleSuper() 1558 nWeightY = pMapFY[ nBottom ]; in ImplScaleSuper() 1612 long nLeft, nRight, nTop, nBottom, nWeightX, nWeightY ; in ImplScaleSuper() local 1618 nBottom = bVMirr ? nY : ( nY + 1 ) ; in ImplScaleSuper() 1628 … nLineRange = ( pMapIY[ nBottom ] == pMapIY[ nTop ] ) ? 1 :( pMapIY[ nBottom ] - pMapIY[ nTop ] ); in ImplScaleSuper() 1702 nWeightY = pMapFY[ nBottom ]; in ImplScaleSuper() 1762 long nLeft, nRight, nTop, nBottom, nWeightX, nWeightY ; in ImplScaleSuper() local 1768 nBottom = bVMirr ? nY : ( nY + 1 ) ; in ImplScaleSuper() [all …]
|
| /AOO42X/main/sdext/source/presenter/ |
| H A D | PresenterGeometryHelper.cxx | 52 sal_Int32 Height (const sal_Int32 nTop, const sal_Int32 nBottom) in Height() argument 54 return nBottom - nTop + 1; in Height() 94 const sal_Int32 nBottom (Ceil(rBox.Y2)); in ConvertRectangle() local 95 return awt::Rectangle (nLeft,nTop,nRight-nLeft,nBottom-nTop); in ConvertRectangle() 145 const sal_Int32 nBottom (::std::min(Bottom(rBox1), Bottom(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() 162 const double nBottom (::std::min(rBox1.Y2, rBox2.Y2)); in Intersection() local 163 if (nLeft >= nRight || nTop >= nBottom) in Intersection() 166 return geometry::RealRectangle2D(nLeft,nTop, nRight, nBottom); in Intersection() [all …]
|
| H A D | PresenterPaneBorderManager.cxx | 452 sal_Int32 nBottom = aBox.Y + aBox.Height; in mouseDragged() local 460 nRight += nDiffX; nBottom += nDiffY; in mouseDragged() 475 aBox.X += nDiffX; nBottom += nDiffY; in mouseDragged() 478 nRight += nDiffX; nBottom += nDiffY; in mouseDragged() 481 nBottom += nDiffY; in mouseDragged() 487 aBox.Height = nBottom - aBox.Y; in mouseDragged() 510 const sal_Int32 nHeight = ::std::max(nOldBottom,nBottom) - nTop; in mouseDragged()
|
| H A D | PresenterScrollBar.cxx | 878 double nBottom = aWindowBox.Height; in UpdateBorders() local 887 0, nBottom - aSize.Height, aWindowBox.Width, nBottom); in UpdateBorders() 888 nBottom -= aSize.Height + gnScrollBarGap; in UpdateBorders() 898 0, nBottom - aSize.Height, aWindowBox.Width, nBottom); in UpdateBorders() 899 nBottom -= aSize.Height + gnScrollBarGap; in UpdateBorders() 902 const double nPagerHeight (nBottom); in UpdateBorders() 904 0,0, aWindowBox.Width, nBottom); in UpdateBorders()
|
| /AOO42X/main/sc/source/core/data/ |
| H A D | column.cxx | 170 SCROW nTop, nBottom; in HasSelectionMatrixFragment() local 172 while ( !bFound && aMarkIter.Next( nTop, nBottom ) ) in HasSelectionMatrixFragment() 178 while ( !bFound && nIndex < nCount && pItems[nIndex].nRow <= nBottom ) in HasSelectionMatrixFragment() 254 SCROW nBottom; in HasAttribSelection() local 259 while (aMarkIter.Next( nTop, nBottom ) && !bFound) in HasAttribSelection() 261 if (pAttrArray->HasAttrib( nTop, nBottom, nMask )) in HasAttribSelection() 281 SCROW nBottom; in MergeSelectionPattern() local 289 while (aMarkIter.Next( nTop, nBottom )) in MergeSelectionPattern() 290 pAttrArray->MergePatternArea( nTop, nBottom, rState, bDeep ); in MergeSelectionPattern() 367 SCROW nBottom = 0; in ApplySelectionCache() local [all …]
|
| H A D | markdata.cxx | 382 SCROW nTop, nBottom; in FillRangeListWithMarks() local 385 while ( aMarkIter.Next( nTop, nBottom ) ) in FillRangeListWithMarks() 388 aRange.aEnd.SetRow( nBottom ); in FillRangeListWithMarks() 487 SCROW nTop = -1, nBottom = -1; in GetMarkRowRanges() local 491 while (aMarkIter.Next( nTop, nBottom )) in GetMarkRowRanges() 492 for (nRow=nTop; nRow<=nBottom; nRow++) in GetMarkRowRanges() 494 if (nTop == nMultiStart && nBottom == nMultiEnd) in GetMarkRowRanges() 498 if (nTop == nMultiStart && nBottom == nMultiEnd) in GetMarkRowRanges() 501 pRanges[1] = nBottom; in GetMarkRowRanges()
|
| /AOO42X/main/sw/source/core/layout/ |
| H A D | layact.cxx | 865 long nBottom = rVis.Bottom(); in InternalAction() local 869 while ( pPg && ( pPg->Frm().Top() < nBottom || in InternalAction() 1073 static bool lcl_IsInvaLay( const SwFrm *pFrm, long nBottom ) in lcl_IsInvaLay() argument 1077 (pFrm->IsCompletePaint() && ( pFrm->Frm().Top() < nBottom ) ) in lcl_IsInvaLay() 1085 static const SwFrm *lcl_FindFirstInvaLay( const SwFrm *pFrm, long nBottom ) in lcl_FindFirstInvaLay() argument 1089 if (lcl_IsInvaLay(pFrm, nBottom)) in lcl_FindFirstInvaLay() 1096 if (lcl_IsInvaLay(pFrm, nBottom)) in lcl_FindFirstInvaLay() 1099 if ( 0 != (pTmp = lcl_FindFirstInvaLay( pFrm, nBottom )) ) in lcl_FindFirstInvaLay() 1107 static const SwFrm *lcl_FindFirstInvaCntnt( const SwLayoutFrm *pLay, long nBottom, in lcl_FindFirstInvaCntnt() argument 1116 if ( pCnt->Frm().Top() <= nBottom ) in lcl_FindFirstInvaCntnt() [all …]
|
| H A D | tabfrm.cxx | 207 void MA_FASTCALL SwInvalidateAll( SwFrm *pFrm, long nBottom ); 208 void MA_FASTCALL lcl_RecalcRow( SwRowFrm& rRow, long nBottom ); 213 long nBottom, 1444 void MA_FASTCALL SwInvalidatePositions( SwFrm *pFrm, long nBottom ) in SwInvalidatePositions() argument 1447 sal_Bool bAll = LONG_MAX == nBottom; in SwInvalidatePositions() 1456 ::SwInvalidatePositions( ((SwLayoutFrm*)pFrm)->Lower(), nBottom); in SwInvalidatePositions() 1467 (*fnRect->fnYDiff)( (pFrm->Frm().*fnRect->fnGetTop)(), nBottom ) < 0 ) ); in SwInvalidatePositions() 1470 void MA_FASTCALL SwInvalidateAll( SwFrm *pFrm, long nBottom ) in SwInvalidateAll() argument 1473 sal_Bool bAll = LONG_MAX == nBottom; in SwInvalidateAll() 1494 ::SwInvalidateAll( pToInvalidate->Lower(), nBottom); in SwInvalidateAll() [all …]
|
| /AOO42X/main/svx/source/table/ |
| H A D | cellrange.cxx | 45 …onst TableModelRef & xTable, sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom ) in CellRange() argument 50 , mnBottom(nBottom) in CellRange() 100 …ByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom ) throw (IndexOut… in getCellRangeByPosition() argument 102 if( (nLeft >= 0 ) && (nTop >= 0) && (nRight >= nLeft) && (nBottom >= nTop) ) in getCellRangeByPosition() 107 nBottom += mnTop; in getCellRangeByPosition() 111 … if( (nLeft < nMaxColumns) && (nRight < nMaxColumns) && (nTop < nMaxRows) && (nBottom < nMaxRows) ) in getCellRangeByPosition() 113 return mxTable->getCellRangeByPosition( nLeft, nTop, nRight, nBottom ); in getCellRangeByPosition()
|
| /AOO42X/main/vcl/inc/ |
| H A D | regionband.hxx | 59 void ImplAddMissingBands(const long nTop, const long nBottom); 68 void InsertBands(long nTop, long nBottom); 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);
|
| /AOO42X/main/sc/source/ui/view/ |
| H A D | invmerge.cxx | 72 sal_Int32 nBottom = aCompRect.Bottom(); in Flush() local 78 if ( aOtherRect.Top() > nBottom + 1 ) in Flush() 83 if ( aOtherRect.Top() == nBottom + 1 && in Flush() 88 nBottom = aOtherRect.Bottom(); in Flush() 89 aCompRect.Bottom() = nBottom; in Flush() 90 (*pRects)[nComparePos].Bottom() = nBottom; in Flush()
|
| /AOO42X/main/sw/source/core/bastyp/ |
| H A D | swrect.cxx | 172 const long nBottom = Bottom(); in IsInside() local 177 (Top() <= rRect.Top()) && (rRect.Top() <= nBottom) && in IsInside() 178 (Top() <= nrBottom) && (nrBottom <= nBottom); in IsInside() 254 void SwRect::_Bottom( const long nBottom ){ m_Size.setHeight(nBottom - m_Point.getY()); } in _Bottom() argument 305 void SwRect::SetBottomAndHeight( long nBottom, long nNew ) in SetBottomAndHeight() argument 307 m_Point.setY(nBottom - nNew); in SetBottomAndHeight()
|
| /AOO42X/main/sw/source/core/table/ |
| H A D | swnewtable.cxx | 335 sal_uInt16 nTop = 0, nBottom = 0; in CollectBoxSelection() local 351 nBottom = nRow; in CollectBoxSelection() 373 sal_uInt16 nCheckBottom = nBottom; in CollectBoxSelection() 378 for( sal_uInt16 nRow = nTop; nRow <= nBottom && bOkay; ++nRow ) in CollectBoxSelection() 448 if( nRowSpan > 1 && nRow + nRowSpan - 1 > nBottom ) in CollectBoxSelection() 449 nBottom = nRow + (sal_uInt16)nRowSpan - 1; in CollectBoxSelection() 450 if( nRowSpan < -1 && nRow - nRowSpan - 1 > nBottom ) in CollectBoxSelection() 451 nBottom = (sal_uInt16)(nRow - nRowSpan - 1); in CollectBoxSelection() 482 if( nRow == nBottom ) in CollectBoxSelection() 486 nBottom += (sal_uInt16)nTmpSpan - 1; in CollectBoxSelection() [all …]
|
| /AOO42X/main/svx/inc/svx/ |
| H A D | grfcrop.hxx | 35 sal_Int32 nLeft, nRight, nTop, nBottom; member in SvxGrfCrop 39 sal_Int32 nTop, sal_Int32 nBottom, 60 void SetBottom( sal_Int32 nVal ) { nBottom = nVal; } in SetBottom() 65 sal_Int32 GetBottom() const { return nBottom; } in GetBottom() 70 nRight = rCrop.GetRight(); nBottom = rCrop.GetBottom(); in operator =()
|
| /AOO42X/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() 64 nBottom == ((const SvxGrfCrop&)rAttr).GetBottom(); in operator ==() 124 aRet.Bottom = nBottom; in QueryValue() 158 nBottom = aVal.Bottom; in PutValue()
|
| H A D | algitem.cxx | 548 sal_Int16 nBottom, in SvxMarginItem() argument 555 nBottomMargin( nBottom ) in SvxMarginItem() 654 sal_Int16 nBottom; in Create() local 658 rStream >> nBottom; in Create() 659 return new SvxMarginItem( nLeft, nTop, nRight, nBottom, Which() ); in Create() 759 sal_Bool SvxMarginItem::SetBottomMargin( sal_Int16 nBottom ) in SetBottomMargin() argument 761 nBottomMargin = nBottom; in SetBottomMargin()
|
| /AOO42X/main/sw/source/core/unocore/ |
| H A D | unochart.cxx | 253 rDesc.nTop = rDesc.nLeft = rDesc.nBottom = rDesc.nRight = -1; in FillRangeDescriptor() 255 lcl_GetCellPosition( aBRName, rDesc.nRight, rDesc.nBottom ); in FillRangeDescriptor() 259 rDesc.nBottom != -1 && in FillRangeDescriptor() 262 DBG_ASSERT( rDesc.nTop <= rDesc.nBottom && rDesc.nLeft <= rDesc.nRight, in FillRangeDescriptor() 707 aDesc.nBottom -= 1; in Impl_createDataSource() 710 String aNewEndCell( lcl_GetCellName( aDesc.nRight, aDesc.nBottom ) ); in Impl_createDataSource() 911 aLabelDesc.nBottom = aLabelDesc.nTop; in Impl_createDataSource() 916 aDataDesc.nBottom = aDataDesc.nTop + aDataLen[oi] - 1; in Impl_createDataSource() 923 aLabelDesc.nBottom = oi; in Impl_createDataSource() 928 aDataDesc.nBottom = oi; in Impl_createDataSource() [all …]
|
| /AOO42X/main/sw/source/ui/frmdlg/ |
| H A D | wrap.cxx | 507 SwTwips nBottom; in ActivatePage() local 512 nBottom = aVal.nMaxHeight - aVal.nHeight; in ActivatePage() 517 nTop = nBottom = ( nTop + nBottom ) / 2; in ActivatePage() 530 nTop = nBottom = 0; // Kein Umlauf in ActivatePage() 538 nTop += nBottom; in ActivatePage() 541 nBottom = nTop; in ActivatePage() 549 aBottomMarginED.SetMax(aBottomMarginED.Normalize(nBottom), FUNIT_TWIP); in ActivatePage()
|
| /AOO42X/main/sw/source/core/text/ |
| H A D | frmpaint.cxx | 124 SwTwips nBottom = pFrm->Frm().Bottom(); in SwExtraPainter() local 125 if( aRect.Bottom() > nBottom ) in SwExtraPainter() 126 aRect.Bottom( nBottom ); in SwExtraPainter() 365 long nBottom = rRect.Bottom(); in PaintExtraData() local 403 } while( aLine.Next() && aLine.Y() <= nBottom ); in PaintExtraData() 708 long nBottom = rRect.Bottom(); in Paint() local 730 } while( aLine.Next() && aLine.Y() <= nBottom ); in Paint()
|