| /AOO41X/main/sw/source/core/txtnode/ |
| H A D | txtedt.cxx | 738 Boundary aBound; in NextWord() local 774 aBound = pBreakIt->GetBreakIter()->getWordBoundary( rText, nBegin, in NextWord() 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() 794 nBegin = Max( static_cast< xub_StrLen >(aBound.startPos), nBegin ); in NextWord() 796 if (static_cast< xub_StrLen >(aBound.endPos) > nBegin) in NextWord() 797 nLen = static_cast< xub_StrLen >(aBound.endPos) - nBegin; in NextWord() 802 if ( aBound.startPos <= nBegin ) in NextWord() 804 ASSERT( aBound.endPos >= nBegin, "Unexpected aBound result" ) in NextWord() [all …]
|
| /AOO41X/main/sw/source/core/view/ |
| H A D | vdraw.cxx | 350 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()
|
| /AOO41X/main/sw/source/core/access/ |
| H A D | accpara.cxx | 2915 i18n::Boundary aBound; in getTextAtIndex() local 2916 sal_Bool bWord = GetTextBoundary( aBound, rText, nIndex, nTextType ); in getTextAtIndex() 2918 DBG_ASSERT( aBound.startPos >= 0, "illegal boundary" ); in getTextAtIndex() 2919 DBG_ASSERT( aBound.startPos <= aBound.endPos, "illegal boundary" ); in getTextAtIndex() 2924 aResult.SegmentText = rText.copy( aBound.startPos, aBound.endPos - aBound.startPos ); in getTextAtIndex() 2925 aResult.SegmentStart = aBound.startPos; in getTextAtIndex() 2926 aResult.SegmentEnd = aBound.endPos; in getTextAtIndex() 2949 i18n::Boundary aBound; in getTextBeforeIndex() local 2951 aBound.startPos = aBound.endPos = nIndex; in getTextBeforeIndex() 2954 sal_Bool bTmp = GetTextBoundary( aBound, rText, nIndex, nTextType ); in getTextBeforeIndex() [all …]
|
| H A D | accfrmobj.cxx | 315 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()
|
| /AOO41X/main/vcl/source/gdi/ |
| H A D | gdimtf.cxx | 1513 Rectangle aBound; in GetBoundRect() local 1533 ImplActionBounds( aBound, in GetBoundRect() 1543 ImplActionBounds( aBound, in GetBoundRect() 1567 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( aRect, aMapVDev.GetMapMode(), GetPrefMapMode() ),… in GetBoundRect() 1574 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( pAct->GetRect(), aMapVDev.GetMapMode(), GetPrefMa… in GetBoundRect() 1581 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( pAct->GetRect(), aMapVDev.GetMapMode(), GetPrefMa… in GetBoundRect() 1588 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( pAct->GetRect(), aMapVDev.GetMapMode(), GetPrefMa… in GetBoundRect() 1597 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( pAct->GetRect(), aMapVDev.GetMapMode(), GetPrefMa… in GetBoundRect() 1606 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( pAct->GetRect(), aMapVDev.GetMapMode(), GetPrefMa… in GetBoundRect() 1615 …ImplActionBounds( aBound, aMapVDev.LogicToLogic( pAct->GetRect(), aMapVDev.GetMapMode(), GetPrefMa… in GetBoundRect() [all …]
|
| H A D | outdev6.cxx | 874 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 D | impvect.cxx | 955 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()
|
| /AOO41X/main/svx/source/svdraw/ |
| H A D | svdglue.cxx | 55 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 D | svdedtv1.cxx | 1827 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 D | svdxcgv.cxx | 621 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 D | svddrgmt.cxx | 1724 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()
|
| /AOO41X/main/sw/source/ui/wrtsh/ |
| H A D | wrtsh1.cxx | 347 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() 368 aGrfSize.Width() = ((BigInt)aBound.Height()) * aTempWidth / aTempHeight; in Insert() 558 SwRect aBound; in InsertOleObject() local 559 CalcBoundRect( aBound, aFrmMgr.GetAnchor() ); in InsertOleObject() 566 if ( aSz.Width() > aBound.Width() ) in InsertOleObject() [all …]
|
| /AOO41X/main/sw/source/core/text/ |
| H A D | txtfly.cxx | 883 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() 1589 Max( nMinBottom, (aBound.*fnRect->fnGetBottom)() ); in InitAnchoredObjList() 1635 const SwRect aBound( pAnchoredObj->GetObjRectWithSpaces() ); in CalcMinBottom() local [all …]
|
| H A D | guess.cxx | 544 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 D | txthyph.cxx | 249 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 D | itratr.cxx | 859 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()
|
| /AOO41X/main/vcl/source/control/ |
| H A D | spinfld.cxx | 113 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 D | lstbox.cxx | 694 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()
|
| /AOO41X/main/svx/source/unodraw/ |
| H A D | UnoGraphicExporter.cxx | 970 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()
|
| /AOO41X/main/svtools/source/contnr/ |
| H A D | svimpicn.cxx | 2317 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 D | imivctl1.cxx | 2237 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 …]
|
| /AOO41X/main/tools/source/generic/ |
| H A D | poly2.cxx | 316 const Rectangle aBound( GetBoundRect() ); in Optimize() local 318 fArea = ( aBound.GetWidth() + aBound.GetHeight() ) * 0.5; in Optimize()
|
| H A D | poly.cxx | 888 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()
|
| /AOO41X/main/sw/source/core/frmedt/ |
| H A D | fews.cxx | 1321 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()
|
| /AOO41X/main/vcl/source/window/ |
| H A D | decoview.cxx | 776 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()
|