| /AOO41X/main/sdext/source/presenter/ |
| H A D | PresenterPaneBorderManager.cxx | 450 awt::Rectangle aBox (aOldBox); in mouseDragged() local 451 sal_Int32 nRight = aBox.X + aBox.Width; in mouseDragged() 452 sal_Int32 nBottom = aBox.Y + aBox.Height; in mouseDragged() 459 aBox.X += nDiffX; aBox.Y += nDiffY; in mouseDragged() 463 aBox.X += nDiffX; aBox.Y += nDiffY; in mouseDragged() 466 nRight += nDiffX; aBox.Y += nDiffY; in mouseDragged() 469 aBox.X += nDiffX; in mouseDragged() 475 aBox.X += nDiffX; nBottom += nDiffY; in mouseDragged() 486 aBox.Width = nRight - aBox.X; in mouseDragged() 487 aBox.Height = nBottom - aBox.Y; in mouseDragged() [all …]
|
| H A D | PresenterScrollBar.cxx | 604 const geometry::RealRectangle2D aBox, in Repaint() argument 610 PresenterGeometryHelper::ConvertRectangle(aBox), in Repaint() 642 geometry::RealRectangle2D aBox (aLocalBox); in PaintBitmap() local 643 aBox.X1 += aWindowBox.X; in PaintBitmap() 644 aBox.Y1 += aWindowBox.Y; in PaintBitmap() 645 aBox.X2 += aWindowBox.X; in PaintBitmap() 646 aBox.Y2 += aWindowBox.Y; in PaintBitmap() 655 PresenterGeometryHelper::ConvertRectangle(aBox)), in PaintBitmap() 665 1,0,aBox.X1 + (aBox.X2-aBox.X1 - aBitmapSize.Width)/2, in PaintBitmap() 666 0,1,aBox.Y1 + (aBox.Y2-aBox.Y1 - aBitmapSize.Height)/2), in PaintBitmap() [all …]
|
| H A D | PresenterWindowManager.cxx | 883 awt::Rectangle aBox = mxParentWindow->getPosSize(); in LayoutStandardMode() local 887 const double nHorizontalSlideDivide (aBox.Width / nGoldenRatio); in LayoutStandardMode() 900 nSlidePreviewTop = (aBox.Height - aCurrentSlideOuterBox.Height) / 2; in LayoutStandardMode() 917 aBox.Width - nHorizontalSlideDivide - 1.5*nGap, in LayoutStandardMode() 921 aBox.Width - aNextSlideOuterBox.Width - nGap, in LayoutStandardMode() 935 awt::Rectangle aBox = mxParentWindow->getPosSize(); in LayoutNotesMode() local 941 const double nPrimaryWidth (aBox.Width / nGoldenRatio); in LayoutNotesMode() 942 const double nSecondaryWidth (aBox.Width - nPrimaryWidth); in LayoutNotesMode() 955 nSlidePreviewTop = (aBox.Height in LayoutNotesMode() 959 aBox.Width - aNotesViewOuterSize.Width - nGap, in LayoutNotesMode() [all …]
|
| H A D | PresenterClock.cxx | 1316 geometry::RealRectangle2D aBox (xLayout->queryTextBounds()); in Paint() local 1328 = (maWindowSize.Width - (aBox.X2-aBox.X1+1)) / 2 - aBox.X1; in Paint() 1330 = (maWindowSize.Height - (aBox.Y2-aBox.Y1+1)) / 2 - aBox.Y1; in Paint() 1415 geometry::RealRectangle2D aBox (xLayout->queryTextBounds()); in CreateFont() local 1416 if (aBox.X2<=aBox.X1 || aBox.Y2<=aBox.Y1) in CreateFont() 1418 const double nHorizontalFactor = maWindowSize.Width / (aBox.X2-aBox.X1+1); in CreateFont() 1419 const double nVerticalFactor = maWindowSize.Height / (aBox.Y2-aBox.Y1+1); in CreateFont()
|
| /AOO41X/main/sfx2/source/sidebar/ |
| H A D | DeckLayouter.cxx | 64 Rectangle aBox (PlaceDeckTitle(rDeckTitleBar, aContentArea)); in LayoutDeck() local 76 aBox = LayoutPanels( in LayoutDeck() 77 aBox, in LayoutDeck() 84 UpdateFiller(rFiller, aBox); in LayoutDeck() 98 … Rectangle aBox (PlaceVerticalScrollBar(rVerticalScrollBar, aContentArea, bShowVerticalScrollBar)); in LayoutPanels() local 100 const sal_Int32 nWidth (aBox.GetWidth()); in LayoutPanels() 110 sal_Int32 nAvailableHeight (aBox.GetHeight()); in LayoutPanels() 111 GetRequestedSizes(rLayoutItems, nAvailableHeight, aBox); in LayoutPanels() 112 const sal_Int32 nTotalDecorationHeight (aBox.GetHeight() - nAvailableHeight); in LayoutPanels() 166 aBox.GetHeight(), in LayoutPanels() [all …]
|
| H A D | Deck.cxx | 185 Rectangle aBox( in Paint() local 192 aBox, in Paint() 199 aBox.Left() += aPadding.Left(); in Paint() 200 aBox.Top() += aPadding.Top(); in Paint() 201 aBox.Right() -= aPadding.Right(); in Paint() 202 aBox.Bottom() -= aPadding.Bottom(); in Paint() 206 aBox, in Paint()
|
| /AOO41X/main/filter/source/graphicfilter/idxf/ |
| H A D | dxfreprd.cxx | 306 DXFBoundingBox aBox; in CalcBoundingBox() local 310 CalcBoundingBox(*pB,aBox); in CalcBoundingBox() 311 if (aBox.bEmpty==sal_True) break; in CalcBoundingBox() 312 aP.fx=(aBox.fMinX-pB->aBasePoint.fx)*pE->fXScale+pE->aP0.fx; in CalcBoundingBox() 313 aP.fy=(aBox.fMinY-pB->aBasePoint.fy)*pE->fYScale+pE->aP0.fy; in CalcBoundingBox() 314 aP.fz=(aBox.fMinZ-pB->aBasePoint.fz)*pE->fZScale+pE->aP0.fz; in CalcBoundingBox() 316 aP.fx=(aBox.fMaxX-pB->aBasePoint.fx)*pE->fXScale+pE->aP0.fx; in CalcBoundingBox() 317 aP.fy=(aBox.fMaxY-pB->aBasePoint.fy)*pE->fYScale+pE->aP0.fy; in CalcBoundingBox() 318 aP.fz=(aBox.fMaxZ-pB->aBasePoint.fz)*pE->fZScale+pE->aP0.fz; in CalcBoundingBox() 348 DXFBoundingBox aBox; in CalcBoundingBox() local [all …]
|
| /AOO41X/main/sd/source/ui/slidesorter/view/ |
| H A D | SlsFramePainter.cxx | 71 const Rectangle aBox) const in PaintFrame() 77 maTopLeft.PaintCorner(rDevice, aBox.TopLeft()); in PaintFrame() 78 maTopRight.PaintCorner(rDevice, aBox.TopRight()); in PaintFrame() 79 maBottomLeft.PaintCorner(rDevice, aBox.BottomLeft()); in PaintFrame() 80 maBottomRight.PaintCorner(rDevice, aBox.BottomRight()); in PaintFrame() 81 maLeft.PaintSide(rDevice, aBox.TopLeft(), aBox.BottomLeft(), maTopLeft, maBottomLeft); in PaintFrame() 82 maRight.PaintSide(rDevice, aBox.TopRight(), aBox.BottomRight(), maTopRight, maBottomRight); in PaintFrame() 83 maTop.PaintSide(rDevice, aBox.TopLeft(), aBox.TopRight(), maTopLeft, maTopRight); in PaintFrame() 84 maBottom.PaintSide(rDevice, aBox.BottomLeft(), aBox.BottomRight(), maBottomLeft, maBottomRight); in PaintFrame() 85 maCenter.PaintCenter(rDevice,aBox); in PaintFrame()
|
| H A D | SlsPageObjectPainter.cxx | 222 const Rectangle aBox (mpPageObjectLayouter->GetBoundingBox( in PaintBackground() local 228 rDevice.DrawBitmap(aBox.TopLeft(), rBackground); in PaintBackground() 252 const Rectangle aBox (mpPageObjectLayouter->GetBoundingBox( in PaintPreview() local 265 if (aPreview.GetSizePixel() != aBox.GetSize()) in PaintPreview() 266 rDevice.DrawBitmap(aBox.TopLeft(), aBox.GetSize(), aPreview); in PaintPreview() 268 rDevice.DrawBitmap(aBox.TopLeft(), aPreview); in PaintPreview() 344 const Rectangle aBox (mpPageObjectLayouter->GetBoundingBox( in PaintPageNumber() local 389 rDevice.DrawText(aBox, sPageNumber, TEXT_DRAW_RIGHT | TEXT_DRAW_VCENTER); in PaintPageNumber() 402 const Rectangle aBox (mpPageObjectLayouter->GetBoundingBox( in PaintTransitionEffect() local 408 aBox.TopLeft(), in PaintTransitionEffect() [all …]
|
| H A D | SlsToolTip.cxx | 171 Rectangle aBox ( in DoShow() local 180 if (aBox.Bottom() >= pWindow->GetSizePixel().Height()) in DoShow() 192 aBox.Move(aOffset.X(), aOffset.Y() + aBox.GetHeight() + 3); in DoShow() 195 aBox, in DoShow()
|
| /AOO41X/main/sc/source/core/data/ |
| H A D | scdpoutputimpl.cxx | 142 SvxBoxItem aBox( ATTR_BORDER ); in OutputBlockFrame() local 145 aBox.SetLine(&aOutLine, BOX_LINE_LEFT); in OutputBlockFrame() 147 aBox.SetLine(&aLine, BOX_LINE_LEFT); in OutputBlockFrame() 150 aBox.SetLine(&aOutLine, BOX_LINE_TOP); in OutputBlockFrame() 152 aBox.SetLine(&aLine, BOX_LINE_TOP); in OutputBlockFrame() 155 aBox.SetLine(&aOutLine, BOX_LINE_RIGHT); in OutputBlockFrame() 157 aBox.SetLine(&aLine, BOX_LINE_RIGHT); in OutputBlockFrame() 160 aBox.SetLine(&aOutLine, BOX_LINE_BOTTOM); in OutputBlockFrame() 162 aBox.SetLine(&aLine, BOX_LINE_BOTTOM); in OutputBlockFrame() 177 …rameAreaTab( ScRange( nStartCol, nStartRow, mnTab, nEndCol, nEndRow , mnTab ), &aBox, &aBoxInfo ); in OutputBlockFrame()
|
| /AOO41X/main/sw/source/filter/rtf/ |
| H A D | rtftbl.cxx | 75 SvxBoxItem aBox((const SvxBoxItem&)rSet.Get(RES_BOX, false)); in SetRowBorder() local 76 …aBox.SetDistance( static_cast< sal_uInt16 >(rRow.mbUseLeftRowPad ? rRow.mnLeftRowPad : rRow.mnBrdD… in SetRowBorder() 79 …aBox.SetDistance( static_cast< sal_uInt16 >(rRow.mbUseRightRowPad ? rRow.mnRightRowPad : rRow.mnBr… in SetRowBorder() 82 aBox.SetDistance( static_cast< sal_uInt16 >(rRow.mbUseTopRowPad ? rRow.mnTopRowPad : 0), in SetRowBorder() 85 aBox.SetDistance( static_cast< sal_uInt16 >(rRow.mbUseBottomRowPad ? rRow.mnBottomRowPad : 0), in SetRowBorder() 88 rSet.Put(aBox); in SetRowBorder() 93 SvxBoxItem aBox( *(SvxBoxItem*)pItem ); in SetRowBorder() 94 aBox.SetDistance(rRow.mbUseLeftRowPad ? rRow.mnLeftRowPad : rRow.mnBrdDist, in SetRowBorder() 97 aBox.SetDistance(rRow.mbUseRightRowPad ? rRow.mnRightRowPad : rRow.mnBrdDist, in SetRowBorder() 100 aBox.SetDistance(rRow.mbUseTopRowPad ? rRow.mnTopRowPad : 0, in SetRowBorder() [all …]
|
| /AOO41X/main/sw/source/core/doc/ |
| H A D | tblafmt.cxx | 216 aBox( RES_BOX ), in SwBoxAutoFmt() 234 aBox.SetDistance( 55 ); in SwBoxAutoFmt() 257 aBox( rNew.aBox ), in SwBoxAutoFmt() 301 aBox = rNew.aBox; in operator =() 362 READ( aBox, SvxBoxItem , rVersions.nBoxVersion) in Load() 438 READ( aBox, SvxBoxItem , 10) in LoadOld() 469 aBox.Store( rStream, aBox.GetVersion(SOFFICE_FILEFORMAT_40) ); in Save() 505 rStream << aBox.GetVersion( SOFFICE_FILEFORMAT_40 ); in SaveVerionNo() 930 SvxBoxItem aBox( RES_BOX ); in SwTableAutoFmtTbl() local 931 aBox.SetDistance( 55 ); in SwTableAutoFmtTbl() [all …]
|
| H A D | gctable.cxx | 143 SvxBoxItem aBox( *(SvxBoxItem*)pItem ); in lcl_GCBorder_DelBorder() local 145 aBox.SetLine( 0, BOX_LINE_TOP ); in lcl_GCBorder_DelBorder() 147 aBox.SetLine( 0, BOX_LINE_BOTTOM ); in lcl_GCBorder_DelBorder() 150 pShareFmts->SetAttr( *pBox, aBox ); in lcl_GCBorder_DelBorder() 152 pBox->ClaimFrmFmt()->SetFmtAttr( aBox ); in lcl_GCBorder_DelBorder() 201 SvxBoxItem aBox( *(SvxBoxItem*)pItem ); in lcl_GC_Line_Border() local 202 aBox.SetLine( 0, BOX_LINE_RIGHT ); in lcl_GC_Line_Border() 204 pGCPara->pShareFmts->SetAttr( *pBox, aBox ); in lcl_GC_Line_Border() 206 pBox->ClaimFrmFmt()->SetFmtAttr( aBox ); in lcl_GC_Line_Border()
|
| /AOO41X/main/sw/source/core/docnode/ |
| H A D | ndtbl1.cxx | 701 SvxBoxItem aBox( pCell->GetFmt()->GetBox() ); in SetTabBorders() local 710 aBox.SetLine( pTop, BOX_LINE_TOP ); in SetTabBorders() 715 aBox.SetLine( 0, BOX_LINE_TOP ); in SetTabBorders() 725 aBox.SetLine( pLeft, BOX_LINE_LEFT ); in SetTabBorders() 731 aBox.SetLine( pVert, BOX_LINE_LEFT ); in SetTabBorders() 740 aBox.SetLine( pRight, BOX_LINE_RIGHT ); in SetTabBorders() 745 aBox.SetLine( 0, BOX_LINE_RIGHT ); in SetTabBorders() 755 aBox.SetLine( pBottom, BOX_LINE_BOTTOM ); in SetTabBorders() 761 aBox.SetLine( pHori, BOX_LINE_BOTTOM ); in SetTabBorders() 772 aBox.SetDistance( pSetBox->GetDistance( *pBrd ), *pBrd ); in SetTabBorders() [all …]
|
| /AOO41X/main/sw/source/core/access/ |
| H A D | accfrmobj.cxx | 280 SwRect aBox; in GetBox() local 287 aBox = SwRect( mpFrm->Frm().Left(), mpFrm->Frm().Top()-1, 1, 1 ); in GetBox() 291 aBox = SwRect( mpFrm->Frm() ); in GetBox() 292 aBox.Intersection( mpFrm->GetUpper()->Frm() ); in GetBox() 296 aBox = mpFrm->Frm(); in GetBox() 301 aBox = SwRect( mpDrawObj->GetCurrentBoundRect() ); in GetBox() 305 aBox = SwRect( rAccMap.GetShell()->GetWin()->PixelToLogic( in GetBox() 310 return aBox; in GetBox()
|
| /AOO41X/main/svtools/workben/ |
| H A D | svdem.cxx | 191 ToolBox aBox; member in MyWin 689 aBox( this, WB_BORDER | WB_3DLOOK ), in MyWin() 710 aBox.InsertItem( 1, aBmp ); in MyWin() 711 aBox.InsertItem( 2, aBmp ); in MyWin() 712 aBox.InsertItem( 3, aBmp ); in MyWin() 713 aBox.InsertItem( 4, aBmp ); in MyWin() 714 aBox.InsertSeparator(); in MyWin() 715 aBox.InsertItem( 5, aBmp ); in MyWin() 716 aBox.InsertItem( 6, aBmp ); in MyWin() 717 aBox.InsertItem( 7, aBmp ); in MyWin() [all …]
|
| /AOO41X/main/sw/source/filter/ww1/ |
| H A D | w1sprm.cxx | 258 SvxBoxItem& aBox) in Start() argument 262 aBox.SetDistance(10 + 20 * pBrc->dxpSpaceGet()); in Start() 266 rOut.SetFlyFrmAttr( aBox ); in Start() 268 rOut << aBox; in Start() 295 SvxBoxItem aBox( rBoxItem ); in Start() local 298 aBox.SetLine(SetBorder(&aLine, pBrc), nBrcTrans[nLine] ); in Start() 299 Ww1SingleSprmPBrc::Start(rOut, nId, pBrc, nSize, rMan, aBox); in Start() 539 SvxBoxItem aBox( (SvxBoxItem&)rOut.GetCellAttr( RES_BOX )); in Start() local 543 aBox.SetLine(Ww1SingleSprmPBrc::SetBorder(&aLine, pBrc), in Start() 547 rOut.SetCellBorder( aBox, i - nCellsDeleted ); in Start()
|
| /AOO41X/main/desktop/source/app/ |
| H A D | lockfile2.cxx | 48 QueryBox aBox( NULL, DesktopResId( QBX_USERDATALOCKED ) ); in Lockfile_execWarning() local 51 aBox.SetText( aTitle ); in Lockfile_execWarning() 53 String aMsgText = aBox.GetMessText( ); in Lockfile_execWarning() 60 aBox.SetMessText(aMsgText); in Lockfile_execWarning() 62 return aBox.Execute( ) == RET_YES; in Lockfile_execWarning()
|
| /AOO41X/main/padmin/source/ |
| H A D | adddlg.cxx | 242 QueryBox aBox( this, WB_YES_NO | WB_DEF_NO, aText ); in IMPL_LINK() local 243 aBox.SetText( m_aRemStr ); in IMPL_LINK() 244 if( aBox.Execute() == RET_NO ) in IMPL_LINK() 251 QueryBox aBox( this, WB_YES_NO | WB_DEF_NO, aText ); in IMPL_LINK() local 252 aBox.SetText( m_aRemStr ); in IMPL_LINK() 253 if( aBox.Execute() == RET_NO ) in IMPL_LINK() 441 InfoBox aBox( this, m_aHelpTxt ); in IMPL_LINK() local 442 aBox.Execute(); in IMPL_LINK() 523 InfoBox aBox( this, aText ); in APOldPrinterPage() local 524 aBox.Execute(); in APOldPrinterPage() [all …]
|
| /AOO41X/main/sc/source/ui/docshell/ |
| H A D | docsh4.cxx | 255 QueryBox aBox( 0, WinBits(WB_YES_NO | WB_DEF_YES), aMessage ); in Execute() local 256 bDo = ( aBox.Execute() == RET_YES ); in Execute() 467 QueryBox aBox( GetActiveDialogParent(), WinBits(WB_YES_NO | WB_DEF_YES), in Execute() local 470 nDlgRet=aBox.Execute(); in Execute() 504 QueryBox aBox( GetActiveDialogParent(), WinBits(WB_YES_NO | WB_DEF_YES), in Execute() local 506 if (aBox.Execute() == RET_YES) in Execute() 606 WarningBox aBox( pParent ? pParent : GetActiveDialogParent(), in Execute() local 609 bDo = ( aBox.Execute() == RET_YES ); in Execute() 673 WarningBox aBox( GetActiveDialogParent(), in Execute() local 676 if( aBox.Execute() == RET_YES ) in Execute() [all …]
|
| /AOO41X/main/sc/source/filter/lotus/ |
| H A D | lotattr.cxx | 158 SvxBoxItem aBox( ATTR_BORDER ); in GetPattAttr() local 169 aBox.SetLine( &aTop, BOX_LINE_TOP ); in GetPattAttr() 170 aBox.SetLine( &aLeft, BOX_LINE_LEFT ); in GetPattAttr() 171 aBox.SetLine( &aBottom, BOX_LINE_BOTTOM ); in GetPattAttr() 172 aBox.SetLine( &aRight, BOX_LINE_RIGHT ); in GetPattAttr() 174 rItemSet.Put( aBox ); in GetPattAttr()
|
| /AOO41X/main/sw/source/ui/shells/ |
| H A D | tabsh.cxx | 538 SvxBoxItem aBox( RES_BOX ); in Execute() local 551 aBox = *(SvxBoxItem*)pBoxItem; in Execute() 553 aBox.SetDistance( Max(rCoreBox.GetDistance(),sal_uInt16(55)) ); in Execute() 554 else if ( aBox.GetDistance() < MIN_BORDER_DIST ) in Execute() 555 aBox.SetDistance( Max(rCoreBox.GetDistance(),(sal_uInt16)MIN_BORDER_DIST) ); in Execute() 597 if ( (pBorderLine = aBox.GetTop()) != NULL) in Execute() 598 aBox.SetLine(&aBorderLine, BOX_LINE_TOP), bLine |= sal_True; in Execute() 599 if ((pBorderLine = aBox.GetBottom()) != NULL) in Execute() 600 aBox.SetLine(&aBorderLine, BOX_LINE_BOTTOM), bLine |= sal_True; in Execute() 601 if ((pBorderLine = aBox.GetLeft()) != NULL) in Execute() [all …]
|
| /AOO41X/main/sw/source/filter/ww8/ |
| H A D | ww8par6.cxx | 473 SvxBoxItem aBox(ItemGet<SvxBoxItem>(aSet, RES_BOX)); in SetPageBorder() local 474 short aOriginalBottomMargin = aBox.GetDistance(BOX_LINE_BOTTOM); in SetPageBorder() 479 if (aBox.GetLeft()) in SetPageBorder() 481 nDist = aBox.GetDistance(BOX_LINE_LEFT); in SetPageBorder() 482 …aBox.SetDistance(lcl_MakeSafeNegativeSpacing(static_cast<sal_uInt16>(aLR.GetLeft() - nDist)), BOX_… in SetPageBorder() 484 aSizeArray[WW8_LEFT] - nDist + aBox.GetDistance(BOX_LINE_LEFT); in SetPageBorder() 487 if (aBox.GetRight()) in SetPageBorder() 489 nDist = aBox.GetDistance(BOX_LINE_RIGHT); in SetPageBorder() 490 …aBox.SetDistance(lcl_MakeSafeNegativeSpacing(static_cast<sal_uInt16>(aLR.GetRight() - nDist)), BOX… in SetPageBorder() 492 aSizeArray[WW8_RIGHT] - nDist + aBox.GetDistance(BOX_LINE_RIGHT); in SetPageBorder() [all …]
|
| /AOO41X/main/vcl/source/app/ |
| H A D | stdtext.cxx | 54 ErrorBox aBox( pParent, WB_OK | WB_DEF_OK, aText ); in ShowServiceNotAvailableError() local 55 aBox.Execute(); in ShowServiceNotAvailableError() 59 WarningBox aBox( pParent, WB_OK | WB_DEF_OK, aText ); in ShowServiceNotAvailableError() local 60 aBox.Execute(); in ShowServiceNotAvailableError()
|