Home
last modified time | relevance | path

Searched refs:aBound (Results 1 – 25 of 40) sorted by relevance

12

/aoo4110/main/sw/source/core/txtnode/
H A Dtxtedt.cxx738 Boundary aBound; in NextWord() local
776 ASSERT( aBound.endPos >= aBound.startPos, "broken aBound result" ); in NextWord()
779 if(aBound.endPos == aBound.startPos) in NextWord()
783 if(aBound.endPos == nBegin) in NextWord()
802 if ( aBound.startPos <= nBegin ) in NextWord()
815 if ( aBound.startPos < nBegin ) in NextWord()
832 … static_cast<xub_StrLen>(aBound.endPos - aBound.startPos) ); in NextWord()
844 aBound.startPos = Max( (xub_StrLen)aBound.startPos, nStartPos ); in NextWord()
845 aBound.endPos = Min( (xub_StrLen)aBound.endPos, nEndPos ); in NextWord()
846 nBegin = (xub_StrLen)aBound.startPos; in NextWord()
[all …]
/aoo4110/main/sw/source/core/view/
H A Dvdraw.cxx350 const Rectangle aBound( pObj->GetCurrentBoundRect() ); in NotifySizeChg() local
351 if ( !aRect.IsInside( aBound ) ) in NotifySizeChg()
354 if ( aBound.Left() > aRect.Right() ) in NotifySizeChg()
355 aSz.Width() = (aRect.Right() - aBound.Left()) - MINFLY; in NotifySizeChg()
356 if ( aBound.Top() > aRect.Bottom() ) in NotifySizeChg()
357 aSz.Height() = (aRect.Bottom() - aBound.Top()) - MINFLY; in NotifySizeChg()
363 if ( aBound.Bottom() < aRect.Top() ) in NotifySizeChg()
364 aSz.Width() = (aBound.Bottom() - aRect.Top()) - MINFLY; in NotifySizeChg()
365 if ( aBound.Right() < aRect.Left() ) in NotifySizeChg()
366 aSz.Height() = (aBound.Right() - aRect.Left()) - MINFLY; in NotifySizeChg()
/aoo4110/main/sw/source/core/access/
H A Daccpara.cxx2915 i18n::Boundary aBound; in getTextAtIndex() local
2919 DBG_ASSERT( aBound.startPos <= aBound.endPos, "illegal boundary" ); in getTextAtIndex()
2924 aResult.SegmentText = rText.copy( aBound.startPos, aBound.endPos - aBound.startPos ); in getTextAtIndex()
2949 i18n::Boundary aBound; in getTextBeforeIndex() local
2951 aBound.startPos = aBound.endPos = nIndex; in getTextBeforeIndex()
2957 aBound.startPos = aBound.endPos = nIndex; in getTextBeforeIndex()
2995 aResult.SegmentText = rText.copy( aBound.startPos, aBound.endPos - aBound.startPos ); in getTextBeforeIndex()
3022 i18n::Boundary aBound; in getTextBehindIndex() local
3036 aResult.SegmentText = rText.copy( aBound.startPos, aBound.endPos - aBound.startPos ); in getTextBehindIndex()
4278 if(aBound.startPos>nIndex) in tabCharInWord()
[all …]
H A Daccfrmobj.cxx315 SwRect aBound; in GetBounds() local
322 aBound = SwRect( mpFrm->Frm().Left(), mpFrm->Frm().Top()-1, 0, 0 ); in GetBounds()
325 aBound = mpFrm->PaintArea(); in GetBounds()
329 aBound = GetBox( rAccMap ); in GetBounds()
333 aBound = GetBox( rAccMap ); in GetBounds()
336 return aBound; in GetBounds()
/aoo4110/main/vcl/source/gdi/
H A Dgdimtf.cxx1513 Rectangle aBound; in GetBoundRect() local
1533 ImplActionBounds( aBound, in GetBoundRect()
1543 ImplActionBounds( aBound, in GetBoundRect()
1662 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( aRect, aMapVDev.GetMapMode(), GetPrefMapMode() ),… in GetBoundRect()
1675 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( aRect, aMapVDev.GetMapMode(), GetPrefMapMode() ),… in GetBoundRect()
1688 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( aRect, aMapVDev.GetMapMode(), GetPrefMapMode() ),… in GetBoundRect()
1704 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( aRect, aMapVDev.GetMapMode(), GetPrefMapMode() ),… in GetBoundRect()
1712 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( aRect, aMapVDev.GetMapMode(), GetPrefMapMode() ),… in GetBoundRect()
1720 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( aRect, aMapVDev.GetMapMode(), GetPrefMapMode() ),… in GetBoundRect()
1728 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( aRect, aMapVDev.GetMapMode(), GetPrefMapMode() ),… in GetBoundRect()
[all …]
H A Doutdev6.cxx874 const Rectangle aBound( LogicToPixel( rWallpaper.GetRect() ) ); in ImplDrawBitmapWallpaper() local
875 aPos = aBound.TopLeft(); in ImplDrawBitmapWallpaper()
876 aSize = aBound.GetSize(); in ImplDrawBitmapWallpaper()
1058 Rectangle aBound; in ImplDrawGradientWallpaper() local
1068 aBound = Rectangle( Point( nX, nY ), Size( nWidth, nHeight ) ); in ImplDrawGradientWallpaper()
1090 aBound = Rectangle( Point( -mnOutOffX, nY ), Size( gradientWidth, nHeight ) ); in ImplDrawGradientWallpaper()
1095 DrawGradient( aBound, rWallpaper.GetGradient() ); in ImplDrawGradientWallpaper()
H A Dimpvect.cxx955 const Rectangle aBound( rPolyPoly[ i ].GetBoundRect() ); in ImplLimitPolyPoly() local
957 if( aBound.GetWidth() > nReduce && aBound.GetHeight() > nReduce ) in ImplLimitPolyPoly()
1106 const Rectangle aBound( rPoly.GetBoundRect() ); in ImplCalculate() local
1108 if( aBound.GetWidth() > cReduce && aBound.GetHeight() > cReduce ) in ImplCalculate()
/aoo4110/main/svx/source/svdraw/
H A Dsvdglue.cxx56 Rectangle aBound(rObj.GetSnapRect()); in GetAbsolutePos() local
84 if (aPt.X()<aBound.Left ()) aPt.X()=aBound.Left (); in GetAbsolutePos()
85 if (aPt.X()>aBound.Right ()) aPt.X()=aBound.Right (); in GetAbsolutePos()
86 if (aPt.Y()<aBound.Top ()) aPt.Y()=aBound.Top (); in GetAbsolutePos()
87 if (aPt.Y()>aBound.Bottom()) aPt.Y()=aBound.Bottom(); in GetAbsolutePos()
H A Dsvdedtv1.cxx1827 Rectangle aBound; in AlignMarkedObjects() local
1840 aBound.Union(aObjRect); in AlignMarkedObjects()
1859 aBound=pFrame->GetUserArea(); in AlignMarkedObjects()
1863 aBound=Rectangle(pPage->GetLftBorder(),pPage->GetUppBorder(), in AlignMarkedObjects()
1871 aBound=GetMarkedObjBoundRect(); in AlignMarkedObjects()
1873 aBound=GetMarkedObjRect(); in AlignMarkedObjects()
1876 Point aCenter(aBound.Center()); in AlignMarkedObjects()
1891 case SDRVALIGN_TOP : nYMov=aBound.Top() -aObjRect.Top() ; break; in AlignMarkedObjects()
1892 case SDRVALIGN_BOTTOM: nYMov=aBound.Bottom()-aObjRect.Bottom() ; break; in AlignMarkedObjects()
1898 case SDRHALIGN_LEFT : nXMov=aBound.Left() -aObjRect.Left() ; break; in AlignMarkedObjects()
[all …]
H A Dsvdxcgv.cxx621 Rectangle aBound( GetMarkedObjBoundRect() ); in GetMarkedObjMetaFile() local
622 Size aBoundSize( aBound.GetWidth(), aBound.GetHeight() ); in GetMarkedObjMetaFile()
660 aMtf.Move(-aBound.Left(), -aBound.Top()); in GetMarkedObjMetaFile()
H A Dsvddrgmt.cxx1724 Rectangle aBound(pObj->GetCurrentBoundRect()); in MoveSdrDrag() local
1735 if (aPt.X()<aBound.Left() ) aPt1.X()-=aPt.X()-aBound.Left() ; in MoveSdrDrag()
1736 if (aPt.X()>aBound.Right() ) aPt1.X()-=aPt.X()-aBound.Right() ; in MoveSdrDrag()
1737 if (aPt.Y()<aBound.Top() ) aPt1.Y()-=aPt.Y()-aBound.Top() ; in MoveSdrDrag()
1738 if (aPt.Y()>aBound.Bottom()) aPt1.Y()-=aPt.Y()-aBound.Bottom(); in MoveSdrDrag()
3040 Rectangle aBound(aTempPolyPoly[n1st].GetBoundRect()); in _MovAllPoints() local
3045 aBound.Union(aTempPolyPoly[n1st].GetBoundRect()); in _MovAllPoints()
3048 Point aCtr0(aBound.Center()); in _MovAllPoints()
/aoo4110/main/sw/source/ui/wrtsh/
H A Dwrtsh1.cxx347 Size aGrfSize, aBound = GetGraphicDefaultSize(); in Insert() local
359 if( aGrfSize.Width() > aBound.Width() ) in Insert()
361 aGrfSize.Width() = aBound.Width(); in Insert()
362 aGrfSize.Height() = ((BigInt)aBound.Width()) * aTempHeight / aTempWidth; in Insert()
365 if( aGrfSize.Height() > aBound.Height() ) in Insert()
367 aGrfSize.Height() = aBound.Height(); in Insert()
558 SwRect aBound; in InsertOleObject() local
559 CalcBoundRect( aBound, aFrmMgr.GetAnchor() ); in InsertOleObject()
566 if ( aSz.Width() > aBound.Width() ) in InsertOleObject()
569 aSz.Height() = aSz.Height() * aBound.Width() / aSz.Width(); in InsertOleObject()
[all …]
/aoo4110/main/sw/source/core/text/
H A Dtxtfly.cxx883 const SwRect aBound( pObj->GetObjRectWithSpaces() ); in IsAnyObj() local
890 if( mpCurrAnchoredObj != pObj && aBound.IsOver( aRect ) ) in IsAnyObj()
1498 const SwRect aBound( pAnchoredObj->GetObjRectWithSpaces() ); in InitAnchoredObjList() local
1499 if ( nRight < (aBound.*fnRect->fnGetLeft)() || in InitAnchoredObjList()
1501 (aBound.*fnRect->fnGetBottom)() ) > 0 || in InitAnchoredObjList()
1502 nLeft > (aBound.*fnRect->fnGetRight)() || in InitAnchoredObjList()
1503 (aBound.*fnRect->fnGetHeight)() > in InitAnchoredObjList()
1588 Min( nMinBottom, aBound.Left() ) : in InitAnchoredObjList()
1635 const SwRect aBound( pAnchoredObj->GetObjRectWithSpaces() ); in CalcMinBottom() local
1636 if( aBound.Top() < nEndOfFrm ) in CalcMinBottom()
[all …]
H A Dguess.cxx544 Boundary aBound = in AlternativeSpelling() local
548 nBreakStart = (xub_StrLen)aBound.startPos; in AlternativeSpelling()
549 nWordLen = static_cast<xub_StrLen>(aBound.endPos - nBreakStart); in AlternativeSpelling()
H A Dtxthyph.cxx249 Boundary aBound = in Hyphenate() local
252 nWrdStart = static_cast<xub_StrLen>(aBound.startPos); in Hyphenate()
253 nLen = static_cast<xub_StrLen>(aBound.endPos - nWrdStart); in Hyphenate()
H A Ditratr.cxx859 Boundary aBound = in GetScalingOfSelectedText() local
864 if ( nStt == aBound.startPos ) in GetScalingOfSelectedText()
871 nStt = (xub_StrLen)aBound.startPos; in GetScalingOfSelectedText()
872 nEnd = (xub_StrLen)aBound.endPos; in GetScalingOfSelectedText()
/aoo4110/main/vcl/source/control/
H A Dspinfld.cxx113 Rectangle aBound, aContent; in ImplDrawNativeSpinfield() local
117 … aNatRgn, 0, rSpinbuttonValue, rtl::OUString(), aBound, aContent) ) in ImplDrawNativeSpinfield()
713 Rectangle aBound; in ImplCalcButtonAreas() local
721 aArea, 0, aControlValue, rtl::OUString(), aBound, aContentUp) && in ImplCalcButtonAreas()
723 aArea, 0, aControlValue, rtl::OUString(), aBound, aContentDown); in ImplCalcButtonAreas()
770 Rectangle aContent, aBound; in Resize() local
778 aArea, 0, aControlValue, rtl::OUString(), aBound, aContent) ) in Resize()
H A Dlstbox.cxx694 Rectangle aContent, aBound; in Resize() local
700 aArea, 0, aControlValue, rtl::OUString(), aBound, aContent) ) in Resize()
712 aArea, 0, aControlValue, rtl::OUString(), aBound, aContent) ) in Resize()
1382 Rectangle aContent, aBound; in CalcMinimumSize() local
1386 … CTRL_LISTBOX, PART_SUB_EDIT, aArea, 0, aControlValue, rtl::OUString(), aBound, aContent) ) in CalcMinimumSize()
1401 Rectangle aContent, aBound; in CalcMinimumSize() local
1403 … CTRL_LISTBOX, PART_ENTIRE_CONTROL, aRect, 0, aControlValue, rtl::OUString(), aBound, aContent) ) in CalcMinimumSize()
1405 if( aBound.GetHeight() > aSz.Height() ) in CalcMinimumSize()
1406 aSz.Height() = aBound.GetHeight(); in CalcMinimumSize()
/aoo4110/main/svx/source/unodraw/
H A DUnoGraphicExporter.cxx970 Rectangle aBound; in GetGraphic() local
980 if (aBound.IsEmpty()) in GetGraphic()
981 aBound=aR1; in GetGraphic()
983 aBound.Union(aR1); in GetGraphic()
997 aOutMap.SetOrigin( Point( -aBound.TopLeft().X(), -aBound.TopLeft().Y() ) ); in GetGraphic()
1027 Size aBoundSize( aBound.GetWidth() + ( aExtSize.Width() ), in GetGraphic()
1028 aBound.GetHeight() + ( aExtSize.Height() ) ); in GetGraphic()
/aoo4110/main/svtools/source/contnr/
H A Dsvimpicn.cxx2317 Rectangle aBound = GetBoundingRect( pEntry, pViewData ); in CalcBmpRect() local
2319 aBound.SetPos( *pPos ); in CalcBmpRect()
2320 Point aPos( aBound.TopLeft() ); in CalcBmpRect()
2326 aPos.X() += ( aBound.GetWidth() - nMaxBmpWidth ) / 2; in CalcBmpRect()
2335 Size( nMaxBmpWidth, aBound.GetHeight() )); in CalcBmpRect()
2338 return Rectangle( aPos, aBound.GetSize() ); in CalcBmpRect()
2364 Rectangle aBound = GetBoundingRect( pEntry, pViewData ); in CalcTextRect() local
2366 aBound.SetPos( *pPos ); in CalcTextRect()
2367 Point aPos( aBound.TopLeft() ); in CalcTextRect()
2383 if( nMinWidth > aBound.GetWidth() ) in CalcTextRect()
[all …]
H A Dimivctl1.cxx2237 Rectangle aBound = GetEntryBoundRect( pEntry ); in CalcBmpRect() local
2239 aBound.SetPos( *pPos ); in CalcBmpRect()
2240 Point aPos( aBound.TopLeft() ); in CalcBmpRect()
2246 aPos.X() += ( aBound.GetWidth() - aImageSize.Width() ) / 2; in CalcBmpRect()
2252 aPos.Y() += ( aBound.GetHeight() - aImageSize.Height() ) / 2; in CalcBmpRect()
2258 return aBound; in CalcBmpRect()
2272 Rectangle aBound( GetEntryBoundRect( pEntry ) ); in CalcTextRect() local
2274 aBound.SetPos( *pEntryPos ); in CalcTextRect()
2282 Point aPos( aBound.TopLeft() ); in CalcTextRect()
2283 long nBoundWidth = aBound.GetWidth(); in CalcTextRect()
[all …]
/aoo4110/main/tools/source/generic/
H A Dpoly2.cxx316 const Rectangle aBound( GetBoundRect() ); in Optimize() local
318 fArea = ( aBound.GetWidth() + aBound.GetHeight() ) * 0.5; in Optimize()
H A Dpoly.cxx888 const Rectangle aBound( GetBoundRect() ); in Optimize() local
889 const double fArea = ( aBound.GetWidth() + aBound.GetHeight() ) * 0.5; in Optimize()
1710 const Rectangle aBound( GetBoundRect() ); in IsInside() local
1711 const Line aLine( rPoint, Point( aBound.Right() + 100L, rPoint.Y() ) ); in IsInside()
1715 if ( ( nCount > 2 ) && aBound.IsInside( rPoint ) ) in IsInside()
/aoo4110/main/sw/source/core/frmedt/
H A Dfews.cxx1321 SwRect aBound; in GetGraphicDefaultSize() local
1322 CalcBoundRect( aBound, pFly->GetFmt()->GetAnchor().GetAnchorId()); in GetGraphicDefaultSize()
1324 aRet.Width() = aBound.Width(); in GetGraphicDefaultSize()
1326 aRet.Height() = aBound.Height(); in GetGraphicDefaultSize()
/aoo4110/main/vcl/source/window/
H A Ddecoview.cxx776 Rectangle aBound, aContent; in ImplDrawFrame() local
779 aNatRgn, 0, aControlValue, rtl::OUString(), aBound, aContent) ) in ImplDrawFrame()
821 Rectangle aBound, aContent; in ImplDrawFrame() local
824 aNatRgn, 0, aControlValue, rtl::OUString(), aBound, aContent) ) in ImplDrawFrame()

Completed in 260 milliseconds

12