Home
last modified time | relevance | path

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

12345678

/aoo4110/main/tools/inc/tools/
H A Dgen.hxx388 long nTop; member in Rectangle
464 void setY( long n ) { nBottom += n-nTop; nTop = n; } in setY()
471 nLeft = nTop = 0; in Rectangle()
478 nTop = rLT.Y(); in Rectangle()
487 nTop = _nTop; in Rectangle()
495 nTop = rLT.Y(); in Rectangle()
549 return Point( Min( nLeft, nRight ), nTop + (nBottom - nTop)/2 ); in LeftCenter()
557 return Point( Max( nLeft, nRight ), nTop + (nBottom - nTop)/2 ); in RightCenter()
565 return Point( nLeft+(nRight-nLeft)/2 , nTop+(nBottom-nTop)/2 ); in Center()
656 (nTop == rRect.nTop ) && in operator ==()
[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()
/aoo4110/main/vcl/source/window/
H A Ddecoview.cxx58 long nTop; in ImplDrawSymbol() local
73 nTop = nCenterY-n2; in ImplDrawSymbol()
79 nTop++; in ImplDrawSymbol()
98 nTop = nCenterY; in ImplDrawSymbol()
171 nTop = nCenterY-n4; in ImplDrawSymbol()
172 nBottom = nTop+n2; in ImplDrawSymbol()
177 nTop++; in ImplDrawSymbol()
191 nTop = nCenterY-n4; in ImplDrawSymbol()
192 nBottom = nTop+n2; in ImplDrawSymbol()
480 nBottom = nTop+n2; in ImplDrawSymbol()
[all …]
/aoo4110/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()
307 nBottom = nTop; in Justify()
308 nTop = nHelp; in Justify()
338 if ( nTop <= nBottom ) in IsInside()
435 rRect.nTop = (sal_Int32)nNum; in operator >>()
[all …]
/aoo4110/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()
203 … pDev->DrawLine( Point( rPos.X()+1, nTop+1 ), Point( rPos.X()+rSize.Width()-3, nTop+1 ) ); in ImplDraw()
206 … pDev->DrawLine( Point( rPos.X()+1, nTop+1 ), Point( aRect.Left()-nTextOff, nTop+1 ) ); in ImplDraw()
[all …]
H A Dcombobox.cxx130 sal_Int32 nLeft, nTop, nRight, nBottom; in ImplCalcEditHeight() local
131 GetBorder( nLeft, nTop, nRight, nBottom ); in ImplCalcEditHeight()
132 mnDDHeight = (sal_uInt16)(mpSubEdit->GetTextHeight() + nTop + nBottom + 4); in ImplCalcEditHeight()
642 long nTop = 0; in Resize() local
660 mpBtn->SetPosSizePixel( aContent.Left(), nTop, aContent.getWidth(), (nBottom-nTop) ); in Resize()
683 mpBtn->SetPosSizePixel( aOutSz.Width() - nSBWidth, nTop, nSBWidth, (nBottom-nTop) ); in Resize()
1146 sal_Int32 nLeft, nTop, nRight, nBottom; in CalcAdjustedSize() local
1147 ((Window*)this)->GetBorder( nLeft, nTop, nRight, nBottom ); in CalcAdjustedSize()
1148 aSz.Height() -= nTop+nBottom; in CalcAdjustedSize()
1162 aSz.Height() += nTop+nBottom; in CalcAdjustedSize()
H A Dilstbox.cxx2080 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()
2092 mnTop = nTop; in SetTopEntry()
2894 Point aPoint( -nLeft, -nTop ); in ImplDraw()
3218 sal_Int32 nLeft, nTop, nRight, nBottom; in CalcFloatSize() local
3219 GetBorder( nLeft, nTop, nRight, nBottom ); in CalcFloatSize()
3297 aPos.Y() += nTop; in StartFloat()
[all …]
/aoo4110/main/sdext/source/presenter/
H A DPresenterGeometryHelper.cxx54 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()
211 if (nLeft >= nRight || nTop >= nBottom) in Union()
214 return awt::Rectangle(nLeft,nTop, Width(nLeft,nRight), Height(nTop,nBottom)); in Union()
[all …]
/aoo4110/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()
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()
780 if ( !bBottomBoundaryInserted && (nTop != nBottom) ) in InsertBands()
908 if ( pBand->mnYTop >= nTop ) in Union()
1008 if(pBand->mnYTop >= nTop) in Exclude()
[all …]
H A Dregion.cxx151 && pBand->mnYTop<nTop in ImplRectilinearPolygonToBands()
153 && pBand->mnYBottom>=nTop in ImplRectilinearPolygonToBands()
158 pTopBand = pBand->SplitBand(nTop); in ImplRectilinearPolygonToBands()
590 pNew->InsertBands(nTop, nBottom); in Union()
593 pNew->Union(nLeft, nTop, nRight, nBottom); in Union()
683 pNew->InsertBands(nTop, nBottom); in Intersect()
686 pNew->Intersect(nLeft, nTop, nRight, nBottom); in Intersect()
764 pNew->InsertBands(nTop, nBottom); in Exclude()
767 pNew->Exclude(nLeft, nTop, nRight, nBottom); in Exclude()
849 pNew->InsertBands(nTop, nBottom); in XOr()
[all …]
H A Dbitmap3.cxx1486 nLineStart = pMapIY[ nTop ] ; in ImplScaleSuper()
1487 … nLineRange = ( pMapIY[ nBottom ] == pMapIY[ nTop ] ) ? 1 :( pMapIY[ nBottom ] - pMapIY[ nTop ] ); in ImplScaleSuper()
1556 nWeightY = pMapFY[ nTop ]; in ImplScaleSuper()
1627 nLineStart = pMapIY[ nTop ] ; in ImplScaleSuper()
1700 nWeightY = pMapFY[ nTop ]; in ImplScaleSuper()
1777 nLineStart = pMapIY[ nTop ] ; in ImplScaleSuper()
1846 nWeightY = pMapFY[ nTop ]; in ImplScaleSuper()
1921 nLineStart = pMapIY[ nTop ] ; in ImplScaleSuper()
1990 nWeightY = pMapFY[ nTop ]; in ImplScaleSuper()
2060 nLineStart = pMapIY[ nTop ] ; in ImplScaleSuper()
[all …]
/aoo4110/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()
/aoo4110/main/sc/source/core/data/
H A Dcolumn.cxx170 SCROW nTop, nBottom; in HasSelectionMatrixFragment() local
177 Search( nTop, nIndex ); in HasSelectionMatrixFragment()
253 SCROW nTop; in HasAttribSelection() local
280 SCROW nTop; in MergeSelectionPattern() local
366 SCROW nTop = 0; in ApplySelectionCache() local
391 SCROW nTop; in ChangeSelectionIndent() local
405 SCROW nTop; in ClearSelectionItems() local
419 SCROW nTop; in DeleteSelection() local
505 SCROW nTop; in ApplySelectionStyle() local
523 SCROW nTop; in ApplySelectionLineStyle() 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()
/aoo4110/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);
/aoo4110/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 =()
/aoo4110/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()
/aoo4110/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()
/aoo4110/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()
706 aDesc.nTop -= 1; 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()
921 aLabelDesc.nTop = oi; in Impl_createDataSource()
926 aDataDesc.nTop = oi; in Impl_createDataSource()
2265 sal_Int32 nRow = aDesc.nTop; in generateLabel()
[all …]
/aoo4110/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()
/aoo4110/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()
/aoo4110/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()
/aoo4110/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 …]
/aoo4110/main/sw/source/core/layout/
H A Dflylay.cxx1302 long nTop; in CalcClipRect() local
1307 nTop = bVert ? ((SwFlyInCntFrm*)pFly)->GetRefPoint().X() : in CalcClipRect()
1309 nTop = (*fnRect->fnYInc)( nTop, -nHeight ); in CalcClipRect()
1318 nTop = (*fnRect->fnYInc)( (pFly->Frm().*fnRect->fnGetBottom)(), in CalcClipRect()
1323 (rRect.*fnRect->fnSetTopAndHeight)( nTop, nHeight ); in CalcClipRect()
1345 long nTop; in CalcClipRect() local
1351 nTop = (*fnRect->fnYInc)( bVert ? pSdrObj->GetAnchorPos().X() : in CalcClipRect()
1364 nTop = (*fnRect->fnYInc)( (aSnapRect.*fnRect->fnGetTop)(), in CalcClipRect()
1368 (rRect.*fnRect->fnSetTopAndHeight)( nTop, nHeight ); in CalcClipRect()

Completed in 157 milliseconds

12345678