Home
last modified time | relevance | path

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

12

/aoo42x/main/sw/source/core/txtnode/
H A Dtxtedt.cxx744 Boundary aBound; in NextWord() local
782 ASSERT( aBound.endPos >= aBound.startPos, "broken aBound result" ); in NextWord()
785 if(aBound.endPos == aBound.startPos) in NextWord()
789 if(aBound.endPos == nBegin) in NextWord()
808 if ( aBound.startPos <= nBegin ) in NextWord()
821 if ( aBound.startPos < nBegin ) in NextWord()
838 … static_cast<xub_StrLen>(aBound.endPos - aBound.startPos) ); in NextWord()
850 aBound.startPos = Max( (xub_StrLen)aBound.startPos, nStartPos ); in NextWord()
851 aBound.endPos = Min( (xub_StrLen)aBound.endPos, nEndPos ); in NextWord()
852 nBegin = (xub_StrLen)aBound.startPos; in NextWord()
[all …]
/aoo42x/main/sw/source/core/view/
H A Dvdraw.cxx331 const Rectangle aBound( pObj->GetCurrentBoundRect() ); in NotifySizeChg() local
332 if ( !aRect.IsInside( aBound ) ) in NotifySizeChg()
335 if ( aBound.Left() > aRect.Right() ) in NotifySizeChg()
336 aSz.Width() = (aRect.Right() - aBound.Left()) - MINFLY; in NotifySizeChg()
337 if ( aBound.Top() > aRect.Bottom() ) in NotifySizeChg()
338 aSz.Height() = (aRect.Bottom() - aBound.Top()) - MINFLY; in NotifySizeChg()
344 if ( aBound.Bottom() < aRect.Top() ) in NotifySizeChg()
345 aSz.Width() = (aBound.Bottom() - aRect.Top()) - MINFLY; in NotifySizeChg()
346 if ( aBound.Right() < aRect.Left() ) in NotifySizeChg()
347 aSz.Height() = (aBound.Right() - aRect.Left()) - MINFLY; in NotifySizeChg()
/aoo42x/main/sw/source/core/access/
H A Daccpara.cxx2919 i18n::Boundary aBound; in getTextAtIndex() local
2923 DBG_ASSERT( aBound.startPos <= aBound.endPos, "illegal boundary" ); in getTextAtIndex()
2928 aResult.SegmentText = rText.copy( aBound.startPos, aBound.endPos - aBound.startPos ); in getTextAtIndex()
2953 i18n::Boundary aBound; in getTextBeforeIndex() local
2955 aBound.startPos = aBound.endPos = nIndex; in getTextBeforeIndex()
2961 aBound.startPos = aBound.endPos = nIndex; in getTextBeforeIndex()
2999 aResult.SegmentText = rText.copy( aBound.startPos, aBound.endPos - aBound.startPos ); in getTextBeforeIndex()
3026 i18n::Boundary aBound; in getTextBehindIndex() local
3040 aResult.SegmentText = rText.copy( aBound.startPos, aBound.endPos - aBound.startPos ); in getTextBehindIndex()
4283 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()
/aoo42x/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()
/aoo42x/main/svx/source/svdraw/
H A Dsvdglue.cxx55 Rectangle aBound(rObj.GetSnapRect()); in GetAbsolutePos() local
83 if (aPt.X()<aBound.Left ()) aPt.X()=aBound.Left (); in GetAbsolutePos()
84 if (aPt.X()>aBound.Right ()) aPt.X()=aBound.Right (); in GetAbsolutePos()
85 if (aPt.Y()<aBound.Top ()) aPt.Y()=aBound.Top (); in GetAbsolutePos()
86 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.cxx1721 Rectangle aBound(pObj->GetCurrentBoundRect()); in MoveSdrDrag() local
1732 if (aPt.X()<aBound.Left() ) aPt1.X()-=aPt.X()-aBound.Left() ; in MoveSdrDrag()
1733 if (aPt.X()>aBound.Right() ) aPt1.X()-=aPt.X()-aBound.Right() ; in MoveSdrDrag()
1734 if (aPt.Y()<aBound.Top() ) aPt1.Y()-=aPt.Y()-aBound.Top() ; in MoveSdrDrag()
1735 if (aPt.Y()>aBound.Bottom()) aPt1.Y()-=aPt.Y()-aBound.Bottom(); in MoveSdrDrag()
3037 Rectangle aBound(aTempPolyPoly[n1st].GetBoundRect()); in _MovAllPoints() local
3042 aBound.Union(aTempPolyPoly[n1st].GetBoundRect()); in _MovAllPoints()
3045 Point aCtr0(aBound.Center()); in _MovAllPoints()
/aoo42x/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 …]
/aoo42x/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()
1504 const SwRect aBound( pAnchoredObj->GetObjRectWithSpaces() ); in InitAnchoredObjList() local
1505 if ( nRight < (aBound.*fnRect->fnGetLeft)() || in InitAnchoredObjList()
1507 (aBound.*fnRect->fnGetBottom)() ) > 0 || in InitAnchoredObjList()
1508 nLeft > (aBound.*fnRect->fnGetRight)() || in InitAnchoredObjList()
1509 (aBound.*fnRect->fnGetHeight)() > in InitAnchoredObjList()
1594 Min( nMinBottom, aBound.Left() ) : in InitAnchoredObjList()
1641 const SwRect aBound( pAnchoredObj->GetObjRectWithSpaces() ); in CalcMinBottom() local
1642 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()
/aoo42x/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()
/aoo42x/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()
/aoo42x/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 …]
/aoo42x/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()
/aoo42x/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()
/aoo42x/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 331 milliseconds

12