/aoo42x/main/tools/inc/tools/ |
H A D | gen.hxx | 390 long nBottom; member in Rectangle 480 nBottom = rRB.Y(); in Rectangle() 489 nBottom = _nBottom; in Rectangle() 517 return Point( nLeft, (nBottom == RECT_EMPTY) ? nTop : nBottom ); in BottomLeft() 523 (nBottom == RECT_EMPTY) ? nTop : nBottom ); in BottomRight() 575 nBottom += nVertMove; in Move() 626 n = nBottom - nTop; in GetHeight() 658 (nBottom == rRect.nBottom )); in operator ==() 666 (nBottom != rRect.nBottom )); in operator !=() 676 nBottom += rPt.Y(); 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() 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 | 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() 338 if ( nTop <= nBottom ) in IsInside() 460 rRect.nBottom = (sal_Int32)nNum; in operator >>() [all …]
|
/aoo42x/main/vcl/source/window/ |
H A D | decoview.cxx | 60 long nBottom; in ImplDrawSymbol() local 74 nBottom = nCenterY; in ImplDrawSymbol() 99 nBottom = nCenterY+n2; in ImplDrawSymbol() 104 nBottom--; in ImplDrawSymbol() 172 nBottom = nTop+n2; in ImplDrawSymbol() 192 nBottom = nTop+n2; in ImplDrawSymbol() 197 nBottom--; in ImplDrawSymbol() 281 nBottom = nCenterY-1; in ImplDrawSymbol() 480 nBottom = nTop+n2; in ImplDrawSymbol() 493 nBottom = nTop+n2; in ImplDrawSymbol() [all …]
|
/aoo42x/main/vcl/source/gdi/ |
H A D | regionband.cxx | 91 mpFirstBand = new ImplRegionBand(nTop, nBottom); in RegionBand() 383 while (pBand != NULL && nCurrentTop<nBottom) in ImplAddMissingBands() 390 ::std::min(nBottom,pBand->mnYTop-1)); in ImplAddMissingBands() 405 if (nCurrentTop <= nBottom in ImplAddMissingBands() 414 nBottom)); in ImplAddMissingBands() 734 mpFirstBand = new ImplRegionBand( nTop, nBottom ); in InsertBands() 752 if ( nBottom < mpFirstBand->mnYTop ) in InsertBands() 754 pNewBand->mnYBottom = nBottom; in InsertBands() 910 if ( pBand->mnYBottom <= nBottom ) in Union() 1010 if(pBand->mnYBottom <= nBottom) in Exclude() [all …]
|
H A D | region.cxx | 170 && pBand->mnYTop<=nBottom in ImplRectilinearPolygonToBands() 172 && pBand->mnYBottom>nBottom in ImplRectilinearPolygonToBands() 177 pBand->SplitBand(nBottom+1); in ImplRectilinearPolygonToBands() 592 pNew->InsertBands(nTop, nBottom); in Union() 595 pNew->Union(nLeft, nTop, nRight, nBottom); in Union() 685 pNew->InsertBands(nTop, nBottom); in Intersect() 688 pNew->Intersect(nLeft, nTop, nRight, nBottom); in Intersect() 766 pNew->InsertBands(nTop, nBottom); in Exclude() 769 pNew->Exclude(nLeft, nTop, nRight, nBottom); in Exclude() 851 pNew->InsertBands(nTop, nBottom); in XOr() [all …]
|
H A D | bitmap3.cxx | 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() 1628 … nLineRange = ( pMapIY[ nBottom ] == pMapIY[ nTop ] ) ? 1 :( pMapIY[ nBottom ] - pMapIY[ nTop ] ); in ImplScaleSuper() 1702 nWeightY = pMapFY[ nBottom ]; in ImplScaleSuper() 1778 … nLineRange = ( pMapIY[ nBottom ] == pMapIY[ nTop ] ) ? 1 :( pMapIY[ nBottom ] - pMapIY[ nTop ] ); in ImplScaleSuper() 1848 nWeightY = pMapFY[ nBottom ]; in ImplScaleSuper() 1922 … nLineRange = ( pMapIY[ nBottom ] == pMapIY[ nTop ] ) ? 1 :( pMapIY[ nBottom ] - pMapIY[ nTop ] ); in ImplScaleSuper() 1992 nWeightY = pMapFY[ nBottom ]; in ImplScaleSuper() 2061 … nLineRange = ( pMapIY[ nBottom ] == pMapIY[ nTop ] ) ? 1 :( pMapIY[ nBottom ] - pMapIY[ nTop ] ); 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() 146 if (nLeft >= nRight || 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() 211 if (nLeft >= nRight || nTop >= nBottom) in Union() 227 const double nBottom (::std::max(rBox1.Y2, rBox2.Y2)); in Union() local [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 254 SCROW nBottom; in HasAttribSelection() local 281 SCROW nBottom; in MergeSelectionPattern() local 367 SCROW nBottom = 0; in ApplySelectionCache() local 385 return nBottom; in ApplySelectionCache() 392 SCROW nBottom; in ChangeSelectionIndent() local 406 SCROW nBottom; in ClearSelectionItems() local 420 SCROW nBottom; in DeleteSelection() local 506 SCROW nBottom; in ApplySelectionStyle() local 524 SCROW nBottom; in ApplySelectionLineStyle() 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 1089 if (lcl_IsInvaLay(pFrm, nBottom)) in lcl_FindFirstInvaLay() 1096 if (lcl_IsInvaLay(pFrm, nBottom)) in lcl_FindFirstInvaLay() 1116 if ( pCnt->Frm().Top() <= nBottom ) in lcl_FindFirstInvaCntnt() 1134 if ( pFly->Frm().Top() <= nBottom ) in lcl_FindFirstInvaCntnt() 1381 const long nBottom = rVis.Bottom(); in IsShortCut() local 1393 pFrm->Frm().Top() <= nBottom ) in IsShortCut() 1399 pFrm->Frm().Top() <= nBottom ) in IsShortCut() 1960 nBottom, pCntnt ); in FormatCntnt() 2007 nBottom, pCntnt ); in FormatCntnt() [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, 1447 sal_Bool bAll = LONG_MAX == nBottom; in SwInvalidatePositions() 1470 void MA_FASTCALL SwInvalidateAll( SwFrm *pFrm, long nBottom ) in SwInvalidateAll() argument 1473 sal_Bool bAll = LONG_MAX == nBottom; in SwInvalidateAll() 1537 bool bAll = LONG_MAX == nBottom; in CalcLowers() 1625 long nBottom, in lcl_InnerCalcLayout() argument 1629 sal_Bool bAll = LONG_MAX == nBottom; in lcl_InnerCalcLayout() 1693 while( lcl_InnerCalcLayout( &rRow, nBottom ) ) in lcl_RecalcRow() [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() 482 if( nRow == nBottom ) in CollectBoxSelection() 488 nBottom = (sal_uInt16)( nBottom - nTmpSpan - 1 ); in CollectBoxSelection() 564 if( nCheckBottom > nBottom ) in CollectBoxSelection() 1686 sal_uInt16 nTop = 0, nBottom = 0; in CreateSelection() local 1711 nBottom = nRow; in CreateSelection() 1724 nBottom = nTop; in CreateSelection() 1756 bool bCombine = nTop == nBottom; in CreateSelection() [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() 707 aDesc.nBottom -= 1; in Impl_createDataSource() 911 aLabelDesc.nBottom = aLabelDesc.nTop; in Impl_createDataSource() 923 aLabelDesc.nBottom = oi; in Impl_createDataSource() 928 aDataDesc.nBottom = oi; in Impl_createDataSource() 1471 if (aDesc.nTop != aDesc.nBottom && aDesc.nLeft != aDesc.nRight) in Impl_createDataSequenceByRangeRepresentation() 2229 sal_Int32 nRowSpan = aDesc.nBottom - aDesc.nTop + 1; in generateLabel() 2827 if (bExtendCol && aDesc.nBottom + 1 == nFirstNew) in ExtendTo() [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()
|