Home
last modified time | relevance | path

Searched refs:nTop (Results 1 – 25 of 197) sorted by relevance

12345678

/AOO42X/main/tools/inc/tools/
H A Dgen.hxx388 long nTop; member in Rectangle
394 Rectangle( long nLeft, long nTop,
400 long Top() const { return nTop; } in Top()
405 long& Top() { return nTop; } in Top()
460 long getY() const { return nTop; } in getY()
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()
471 nLeft = nTop = 0; in Rectangle()
478 nTop = rLT.Y(); 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()
77 long & Top() { return nTop; } in Top()
81 long Top() const { return nTop; } in Top()
/AOO42X/main/vcl/source/window/
H A Ddecoview.cxx56 long nTop; in ImplDrawSymbol() local
71 nTop = nCenterY-n2; in ImplDrawSymbol()
73 pDev->DrawRect( Rectangle( nCenterX, nTop, nCenterX, nBottom ) ); in ImplDrawSymbol()
77 nTop++; in ImplDrawSymbol()
79 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
81 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
96 nTop = nCenterY; in ImplDrawSymbol()
98 pDev->DrawRect( Rectangle( nCenterX, nTop, nCenterX, nBottom ) ); in ImplDrawSymbol()
104 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
106 pDev->DrawRect( Rectangle( nTemp, nTop, nTemp, nBottom ) ); in ImplDrawSymbol()
[all …]
/AOO42X/main/tools/source/generic/
H A Dgen.cxx208 nBottom = nTop + rSize.Height() +1; in SetSize()
210 nBottom = nTop + rSize.Height() -1; 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()
271 nTop = Max( nTop, aTmpRect.nTop ); in Intersection()
275 if ( nRight < nLeft || nBottom < nTop ) in Intersection()
304 if ( (nBottom < nTop) && (nBottom != RECT_EMPTY) ) in Justify()
307 nBottom = nTop; in Justify()
308 nTop = nHelp; in Justify()
338 if ( nTop <= nBottom ) in IsInside()
[all …]
/AOO42X/main/vcl/source/control/
H A Dgroup.cxx133 long nTop; in ImplDraw() local
164 nTop = rPos.Y(); in ImplDraw()
172 nTop = rPos.Y(); in ImplDraw()
173 nTop += aRect.GetHeight() / 2; in ImplDraw()
185 pDev->DrawLine( Point( rPos.X(), nTop ), Point( rPos.X()+rSize.Width()-2, nTop ) ); in ImplDraw()
188 pDev->DrawLine( Point( rPos.X(), nTop ), Point( aRect.Left()-nTextOff, nTop ) ); in ImplDraw()
189 … pDev->DrawLine( Point( aRect.Right()+nTextOff, nTop ), Point( rPos.X()+rSize.Width()-2, nTop ) ); in ImplDraw()
191 pDev->DrawLine( Point( rPos.X(), nTop ), Point( rPos.X(), rPos.Y()+rSize.Height()-2 ) ); in ImplDraw()
193 …( rPos.X()+rSize.Width()-2, rPos.Y()+rSize.Height()-2 ), Point( rPos.X()+rSize.Width()-2, nTop ) ); in ImplDraw()
203 … pDev->DrawLine( Point( rPos.X()+1, nTop+1 ), Point( rPos.X()+rSize.Width()-3, nTop+1 ) ); in ImplDraw()
[all …]
H A Dcombobox.cxx128 sal_Int32 nLeft, nTop, nRight, nBottom; in ImplCalcEditHeight() local
129 GetBorder( nLeft, nTop, nRight, nBottom ); in ImplCalcEditHeight()
130 mnDDHeight = (sal_uInt16)(mpSubEdit->GetTextHeight() + nTop + nBottom + 4); in ImplCalcEditHeight()
640 long nTop = 0; in Resize() local
658 mpBtn->SetPosSizePixel( aContent.Left(), nTop, aContent.getWidth(), (nBottom-nTop) ); in Resize()
681 mpBtn->SetPosSizePixel( aOutSz.Width() - nSBWidth, nTop, nSBWidth, (nBottom-nTop) ); in Resize()
1144 sal_Int32 nLeft, nTop, nRight, nBottom; in CalcAdjustedSize() local
1145 ((Window*)this)->GetBorder( nLeft, nTop, nRight, nBottom ); in CalcAdjustedSize()
1146 aSz.Height() -= nTop+nBottom; in CalcAdjustedSize()
1160 aSz.Height() += nTop+nBottom; in CalcAdjustedSize()
H A Dilstbox.cxx2072 void ImplListBoxWindow::SetTopEntry( sal_uInt16 nTop ) in SetTopEntry() argument
2080 if( nTop > nLastEntry ) in SetTopEntry()
2081 nTop = nLastEntry; in SetTopEntry()
2083 …while( nTop > 0 && mpEntryList->GetAddedHeight( nLastEntry, nTop-1 ) + pLast->mnHeight <= nWHeight… in SetTopEntry()
2084 nTop--; in SetTopEntry()
2086 if ( nTop != mnTop ) in SetTopEntry()
2089 long nDiff = mpEntryList->GetAddedHeight( mnTop, nTop, 0 ); in SetTopEntry()
2092 mnTop = nTop; in SetTopEntry()
2892 sal_Int32 nLeft, nTop, nRight, nBottom; in ImplDraw() local
2893 pWin->GetBorder( nLeft, nTop, nRight, nBottom ); in ImplDraw()
[all …]
/AOO42X/main/sdext/source/presenter/
H A DPresenterGeometryHelper.cxx52 sal_Int32 Height (const sal_Int32 nTop, const sal_Int32 nBottom) in Height() argument
54 return nBottom - nTop + 1; in Height()
92 const sal_Int32 nTop (Floor(rBox.Y1)); in ConvertRectangle() local
95 return awt::Rectangle (nLeft,nTop,nRight-nLeft,nBottom-nTop); in ConvertRectangle()
143 const sal_Int32 nTop (::std::max(rBox1.Y, rBox2.Y)); 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()
160 const double nTop (::std::max(rBox1.Y1, rBox2.Y1)); in Intersection() local
163 if (nLeft >= nRight || nTop >= nBottom) in Intersection()
166 return geometry::RealRectangle2D(nLeft,nTop, nRight, nBottom); in Intersection()
[all …]
/AOO42X/main/vcl/source/gdi/
H A Dregionband.cxx85 const long nTop(std::min(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
381 long nCurrentTop (nTop); in ImplAddMissingBands()
395 nCurrentTop = ::std::max(nTop, pBand->mnYBottom+1); in ImplAddMissingBands()
728 void RegionBand::InsertBands(long nTop, long nBottom) in InsertBands() argument
734 mpFirstBand = new ImplRegionBand( nTop, nBottom ); in InsertBands()
747 if ( nTop < mpFirstBand->mnYTop ) in InsertBands()
750 pNewBand = new ImplRegionBand( nTop, mpFirstBand->mnYTop ); in InsertBands()
772 bTopBoundaryInserted = InsertSingleBand( pBand, nTop - 1 ); in InsertBands()
[all …]
H A Dregion.cxx137 const long nTop (::std::min(aStart.Y(), aEnd.Y())); in ImplRectilinearPolygonToBands() local
142 pRegionBand->ImplAddMissingBands(nTop,nBottom); in ImplRectilinearPolygonToBands()
146 while (pBand!=NULL && pBand->mnYBottom < nTop) in ImplRectilinearPolygonToBands()
153 && pBand->mnYTop<nTop in ImplRectilinearPolygonToBands()
155 && pBand->mnYBottom>=nTop in ImplRectilinearPolygonToBands()
160 pTopBand = pBand->SplitBand(nTop); in ImplRectilinearPolygonToBands()
587 const long nTop(std::min(rRect.Top(), rRect.Bottom())); in Union() local
592 pNew->InsertBands(nTop, nBottom); in Union()
595 pNew->Union(nLeft, nTop, nRight, nBottom); in Union()
680 const long nTop(std::min(rRect.Top(), rRect.Bottom())); in Intersect() local
[all …]
H A Dbitmap3.cxx1471 long nLeft, nRight, nTop, nBottom, nWeightX, nWeightY ; in ImplScaleSuper() local
1476 nTop = bVMirr ? ( nY + 1 ) : nY; in ImplScaleSuper()
1486 nLineStart = pMapIY[ nTop ] ; in ImplScaleSuper()
1487 … nLineRange = ( pMapIY[ nBottom ] == pMapIY[ nTop ] ) ? 1 :( pMapIY[ nBottom ] - pMapIY[ nTop ] ); in ImplScaleSuper()
1554 nWeightY = nMax - pMapFY[ nTop ]; in ImplScaleSuper()
1556 nWeightY = pMapFY[ nTop ]; in ImplScaleSuper()
1612 long nLeft, nRight, nTop, nBottom, nWeightX, nWeightY ; in ImplScaleSuper() local
1617 nTop = bVMirr ? ( nY + 1 ) : nY; in ImplScaleSuper()
1627 nLineStart = pMapIY[ nTop ] ; in ImplScaleSuper()
1628 … nLineRange = ( pMapIY[ nBottom ] == pMapIY[ nTop ] ) ? 1 :( pMapIY[ nBottom ] - pMapIY[ nTop ] ); in ImplScaleSuper()
[all …]
/AOO42X/main/svx/source/table/
H A Dcellrange.cxx45 CellRange::CellRange( const TableModelRef & xTable, sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRig… in CellRange() argument
48 , mnTop(nTop) in CellRange()
100 Reference< XCellRange > SAL_CALL CellRange::getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop in getCellRangeByPosition() argument
102 if( (nLeft >= 0 ) && (nTop >= 0) && (nRight >= nLeft) && (nBottom >= nTop) ) in getCellRangeByPosition()
105 nTop += 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()
H A Dcellcursor.cxx52 CellCursor::CellCursor( const TableModelRef & xTable, sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nR… in CellCursor() argument
53 : CellCursorBase( xTable, nLeft, nTop, nRight, nBottom ) in CellCursor()
74 …> SAL_CALL CellCursor::getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, … in getCellRangeByPosition() argument
76 return CellRange::getCellRangeByPosition( nLeft, nTop, nRight, nBottom ); in getCellRangeByPosition()
164 const sal_Int32 nTop = mnTop + nRowOffset; in gotoOffset() local
165 if( (nTop >= 0) && (nTop < mxTable->getRowCount()) ) in gotoOffset()
166 mnTop = mnBottom = nTop; in gotoOffset()
/AOO42X/main/sc/source/core/data/
H A Dcolumn.cxx170 SCROW nTop, nBottom; in HasSelectionMatrixFragment() local
172 while ( !bFound && aMarkIter.Next( nTop, nBottom ) ) in HasSelectionMatrixFragment()
177 Search( nTop, nIndex ); in HasSelectionMatrixFragment()
253 SCROW nTop; in HasAttribSelection() local
259 while (aMarkIter.Next( nTop, nBottom ) && !bFound) in HasAttribSelection()
261 if (pAttrArray->HasAttrib( nTop, nBottom, nMask )) in HasAttribSelection()
280 SCROW nTop; in MergeSelectionPattern() local
289 while (aMarkIter.Next( nTop, nBottom )) in MergeSelectionPattern()
290 pAttrArray->MergePatternArea( nTop, nBottom, rState, bDeep ); in MergeSelectionPattern()
366 SCROW nTop = 0; in ApplySelectionCache() local
[all …]
H A Dmarkdata.cxx382 SCROW nTop, nBottom; in FillRangeListWithMarks() local
385 while ( aMarkIter.Next( nTop, nBottom ) ) in FillRangeListWithMarks()
387 aRange.aStart.SetRow( nTop ); 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()
500 pRanges[0] = nTop; in GetMarkRowRanges()
/AOO42X/main/vcl/inc/
H A Dregionband.hxx59 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/oox/inc/oox/dump/
H A Dbiffdumper.hxx170 Type nLeft, Type nTop, Type nWidth, Type nHeight,
246 Type nLeft, Type nTop, Type nWidth, Type nHeight, in writeRectItem() argument
252 writeValueItem( "y-pos", nTop, eFmtType, rListWrp ); in writeRectItem()
261 Type nLeft, nTop, nWidth, nHeight; in dumpRect() local
262 *mxBiffStrm >> nLeft >> nTop >> nWidth >> nHeight; in dumpRect()
263 writeRectItem( rName, nLeft, nTop, nWidth, nHeight, rListWrp, eFmtType ); in dumpRect()
270 Type nLeft, nTop, nWidth, nHeight; in dumpRectWithGaps() local
273 *mxBiffStrm >> nTop; in dumpRectWithGaps()
279 writeRectItem( rName, nLeft, nTop, nWidth, nHeight, rListWrp, eFmtType ); in dumpRectWithGaps()
/AOO42X/main/sw/source/ui/frmdlg/
H A Dwrap.cxx506 SwTwips nTop; in ActivatePage() local
511 nTop = aVal.nVPos - aVal.nMinVPos; in ActivatePage()
517 nTop = nBottom = ( nTop + nBottom ) / 2; in ActivatePage()
528 nTop = aVal.nMaxVPos - aVal.nHeight; in ActivatePage()
530 nTop = nBottom = 0; // Kein Umlauf in ActivatePage()
533 nTop = aVal.nMaxVPos - aVal.nHeight - aVal.nVPos; in ActivatePage()
538 nTop += nBottom; in ActivatePage()
541 nBottom = nTop; in ActivatePage()
548 aTopMarginED.SetMax(aTopMarginED.Normalize(nTop), FUNIT_TWIP); in ActivatePage()
/AOO42X/main/sw/source/core/unocore/
H A Dunochart.cxx253 rDesc.nTop = rDesc.nLeft = rDesc.nBottom = rDesc.nRight = -1; in FillRangeDescriptor()
254 lcl_GetCellPosition( aTLName, rDesc.nLeft, rDesc.nTop ); in FillRangeDescriptor()
257 DBG_ASSERT( rDesc.nTop != -1 && in FillRangeDescriptor()
262 DBG_ASSERT( rDesc.nTop <= rDesc.nBottom && rDesc.nLeft <= rDesc.nRight, in FillRangeDescriptor()
704 if (aDesc.nTop <= 0) // no chance to shift the range one row up? in Impl_createDataSource()
706 aDesc.nTop -= 1; in Impl_createDataSource()
709 String aNewStartCell( lcl_GetCellName( aDesc.nLeft, aDesc.nTop ) ); in Impl_createDataSource()
909 aLabelDesc.nTop = aLabelIdx[oi]; in Impl_createDataSource()
911 aLabelDesc.nBottom = aLabelDesc.nTop; in Impl_createDataSource()
914 aDataDesc.nTop = aDataStartIdx[oi]; in Impl_createDataSource()
[all …]
/AOO42X/main/svx/inc/svx/
H A Dgrfcrop.hxx35 sal_Int32 nLeft, nRight, nTop, nBottom; member in SvxGrfCrop
39 sal_Int32 nTop, sal_Int32 nBottom,
59 void SetTop( sal_Int32 nVal ) { nTop = nVal; } in SetTop()
64 sal_Int32 GetTop() const { return nTop; } in GetTop()
69 nLeft = rCrop.GetLeft(); nTop = rCrop.GetTop(); in operator =()
/AOO42X/main/sw/inc/
H A Dswrect.hxx55 inline void Top( const long nTop );
113 void _Top( const long nTop );
134 void SetTopAndHeight( long nTop, long nNew );
209 inline void SwRect::Top( const long nTop ) in Top() argument
211 m_Size.Height() += m_Point.getY() - nTop; in Top()
212 m_Point.setY(nTop); in Top()
/AOO42X/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()
63 nTop == ((const SvxGrfCrop&)rAttr).GetTop() && in operator ==()
123 aRet.Top = nTop; in QueryValue()
157 nTop = aVal.Top ; in PutValue()
/AOO42X/main/sd/source/ui/presenter/
H A DPresenterTextView.cxx111 void SetTop (const sal_Int32 nTop);
263 sal_Int32 nTop = 0; in SetPropertyValue() local
264 if (rValue >>= nTop) in SetPropertyValue()
265 mpImplementation->SetTop(nTop); in SetPropertyValue()
518 void PresenterTextView::Implementation::SetTop (const sal_Int32 nTop) in SetTop() argument
520 if (nTop == mnTop) in SetTop()
523 mnTop = nTop; in SetTop()
/AOO42X/main/sw/source/filter/ww8/
H A DWW8TableInfo.cxx1069 WW8TableCellGridRow::Pointer_t WW8TableCellGrid::getRow(long nTop, bool bCreate) in getRow() argument
1073 RowTops_t::iterator aIt = m_aRowTops.find(nTop); in getRow()
1080 m_aRows[nTop] = pResult; in getRow()
1081 m_aRowTops.insert(nTop); in getRow()
1085 pResult = m_aRows[nTop]; in getRow()
1100 CellInfoMultiSet::const_iterator WW8TableCellGrid::getCellsBegin(long nTop) in getCellsBegin() argument
1102 return getRow(nTop)->begin(); in getCellsBegin()
1105 CellInfoMultiSet::const_iterator WW8TableCellGrid::getCellsEnd(long nTop) in getCellsEnd() argument
1107 return getRow(nTop)->end(); in getCellsEnd()
1134 long nTop = *aTopsIt; in addShadowCells() local
[all …]
/AOO42X/main/sw/source/core/layout/
H A Dflylay.cxx1273 long nTop; in CalcClipRect() local
1278 nTop = bVert ? ((SwFlyInCntFrm*)pFly)->GetRefPoint().X() : in CalcClipRect()
1280 nTop = (*fnRect->fnYInc)( nTop, -nHeight ); in CalcClipRect()
1289 nTop = (*fnRect->fnYInc)( (pFly->Frm().*fnRect->fnGetBottom)(), in CalcClipRect()
1294 (rRect.*fnRect->fnSetTopAndHeight)( nTop, nHeight ); in CalcClipRect()
1316 long nTop; in CalcClipRect() local
1322 nTop = (*fnRect->fnYInc)( bVert ? pSdrObj->GetAnchorPos().X() : in CalcClipRect()
1335 nTop = (*fnRect->fnYInc)( (aSnapRect.*fnRect->fnGetTop)(), in CalcClipRect()
1339 (rRect.*fnRect->fnSetTopAndHeight)( nTop, nHeight ); in CalcClipRect()

12345678