/trunk/main/sdext/source/presenter/ |
H A D | PresenterPaneBorderManager.cxx | 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() 469 aBox.X += nDiffX; in mouseDragged() 486 aBox.Width = nRight - aBox.X; in mouseDragged() 487 aBox.Height = nBottom - aBox.Y; in mouseDragged() 488 if (aBox.Width > 20 in mouseDragged() 489 && aBox.Height > 20) in mouseDragged() 493 if (aBox.X != aOldBox.X) in mouseDragged() [all …]
|
H A D | PresenterScrollBar.cxx | 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() 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() 983 aBox.X1 += aWindowBox.X; in PaintComposite() 984 aBox.Y1 += aWindowBox.Y; in PaintComposite() 985 aBox.X2 += aWindowBox.X; in PaintComposite() 986 aBox.Y2 += aWindowBox.Y; in PaintComposite() [all …]
|
H A D | PresenterWindowManager.cxx | 883 awt::Rectangle aBox = mxParentWindow->getPosSize(); in LayoutStandardMode() local 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() 955 nSlidePreviewTop = (aBox.Height in LayoutNotesMode() 959 aBox.Width - aNotesViewOuterSize.Width - nGap, in LayoutNotesMode() 1068 nToolBarWidth = aBox.Width; in LayoutToolBar() 1069 nToolBarHeight = aBox.Height; in LayoutToolBar() 1081 const double nToolBarY (aBox.Height - nToolBarHeight); in LayoutToolBar() [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()
|
/trunk/main/sfx2/source/sidebar/ |
H A D | DeckLayouter.cxx | 78 aBox = LayoutPanels( in LayoutDeck() 79 aBox, in LayoutDeck() 86 UpdateFiller(rFiller, aBox); in LayoutDeck() 102 const sal_Int32 nWidth (aBox.GetWidth()); in LayoutPanels() 168 aBox.GetHeight(), in LayoutPanels() 175 rScrollClipWindow.SetPosSizePixel(aBox.Left(), aBox.Top(), aBox.GetWidth(), aBox.GetHeight()); in LayoutPanels() 180 : aBox.GetHeight()); in LayoutPanels() 182 if (nContentHeight-nY < aBox.GetHeight()) in LayoutPanels() 183 nY = nContentHeight-aBox.GetHeight(); in LayoutPanels() 196 aBox.Top() += nUsedHeight; 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()
|
H A D | Tools.cxx | 150 SvBorder Tools::RectangleToSvBorder (const Rectangle aBox) in RectangleToSvBorder() argument 153 aBox.Left(), in RectangleToSvBorder() 154 aBox.Top(), in RectangleToSvBorder() 155 aBox.Right(), in RectangleToSvBorder() 156 aBox.Bottom()); in RectangleToSvBorder()
|
/trunk/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() 348 DXFBoundingBox aBox; in CalcBoundingBox() local 352 CalcBoundingBox(*pB,aBox); in CalcBoundingBox() 353 if (aBox.bEmpty==sal_True) break; in CalcBoundingBox() 354 aP.fx=aBox.fMinX-pB->aBasePoint.fx; in CalcBoundingBox() 355 aP.fy=aBox.fMinY-pB->aBasePoint.fy; in CalcBoundingBox() 356 aP.fz=aBox.fMinZ-pB->aBasePoint.fz; in CalcBoundingBox() 358 aP.fx=aBox.fMaxX-pB->aBasePoint.fx; in CalcBoundingBox() [all …]
|
/trunk/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 402 const Rectangle aBox (mpPageObjectLayouter->GetBoundingBox( in PaintTransitionEffect() local 408 aBox.TopLeft(), in PaintTransitionEffect() 567 const Rectangle aBox (mpPageObjectLayouter->GetBoundingBox( in CreateBackgroundBitmap() local [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()
|
/trunk/main/sw/source/filter/rtf/ |
H A D | rtftbl.cxx | 75 SvxBoxItem aBox((const SvxBoxItem&)rSet.Get(RES_BOX, false)); in SetRowBorder() local 82 aBox.SetDistance( static_cast< sal_uInt16 >(rRow.mbUseTopRowPad ? rRow.mnTopRowPad : 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() 103 aBox.SetDistance(rRow.mbUseBottomRowPad ? rRow.mnBottomRowPad : 0, in SetRowBorder() 106 rSet.Put(aBox); in SetRowBorder() 347 SvxBoxItem aBox(pFmt->GetBox()); in ReadTable() local [all …]
|
/trunk/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 …mpDoc->ApplyFrameAreaTab( ScRange( nStartCol, nStartRow, mnTab, nEndCol, nEndRow , mnTab ), &aBox… in OutputBlockFrame()
|
/trunk/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 =() 438 READ( aBox, SvxBoxItem , 10) in LoadOld() 469 aBox.Store( rStream, aBox.GetVersion(SOFFICE_FILEFORMAT_40) ); in Save() 928 SvxBoxItem aBox( RES_BOX ); in SwTableAutoFmtTbl() local 929 aBox.SetDistance( 55 ); in SwTableAutoFmtTbl() 931 aBox.SetLine( &aLn, BOX_LINE_LEFT ); in SwTableAutoFmtTbl() 932 aBox.SetLine( &aLn, BOX_LINE_BOTTOM ); 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()
|
/trunk/main/sw/source/core/docnode/ |
H A D | ndtbl1.cxx | 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() 745 aBox.SetLine( 0, BOX_LINE_RIGHT ); in SetTabBorders() 864 SvxBoxItem aBox( pFmt->GetBox() ); in SetTabLineStyle() local 870 if ( aBox.GetTop() ) in SetTabLineStyle() 873 if ( aBox.GetBottom() ) in SetTabLineStyle() 876 if ( aBox.GetLeft() ) in SetTabLineStyle() 879 if ( aBox.GetRight() ) in SetTabLineStyle() [all …]
|
/trunk/main/svtools/workben/ |
H A D | svdem.cxx | 191 ToolBox aBox; member 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() 719 aBox.InsertSpace(); in MyWin() [all …]
|
/trunk/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()
|
/trunk/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()
|
/trunk/main/padmin/source/ |
H A D | adddlg.cxx | 243 aBox.SetText( m_aRemStr ); in IMPL_LINK() 244 if( aBox.Execute() == RET_NO ) in IMPL_LINK() 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() 535 InfoBox aBox( this, aText ); in APOldPrinterPage() local 536 aBox.Execute(); in APOldPrinterPage() [all …]
|
/trunk/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()
|
/trunk/main/sc/source/ui/docshell/ |
H A D | docsh4.cxx | 256 bDo = ( aBox.Execute() == RET_YES ); in Execute() 470 nDlgRet=aBox.Execute(); in Execute() 506 if (aBox.Execute() == RET_YES) in Execute() 609 bDo = ( aBox.Execute() == RET_YES ); in Execute() 673 WarningBox aBox( GetActiveDialogParent(), in Execute() local 676 if( aBox.Execute() == RET_YES ) in Execute() 954 if ( aBox.Execute() == RET_NO ) in Execute() 1045 aBox.Execute(); in Execute() 1085 aBox.Execute(); in Execute() 1179 InfoBox aBox( GetActiveDialogParent(), in ExecuteChangeProtectionDialog() local [all …]
|
/trunk/main/sw/source/ui/shells/ |
H A D | tabsh.cxx | 538 SvxBoxItem aBox( RES_BOX ); in Execute() local 551 aBox = *(SvxBoxItem*)pBoxItem; in Execute() 554 else if ( aBox.GetDistance() < 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() 601 if ((pBorderLine = aBox.GetLeft()) != NULL) in Execute() 602 aBox.SetLine(&aBorderLine, BOX_LINE_LEFT), bLine |= sal_True; in Execute() 603 if ((pBorderLine = aBox.GetRight()) != NULL) in Execute() 613 aCoreSet.Put( aBox ); in Execute() [all …]
|
/trunk/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()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8par6.cxx | 479 if (aBox.GetLeft()) in SetPageBorder() 487 if (aBox.GetRight()) in SetPageBorder() 495 if (aBox.GetTop()) in SetPageBorder() 503 if (aBox.GetBottom()) in SetPageBorder() 511 aSet.Put(aBox); in SetPageBorder() 514 if (aBox.GetLeft()) in SetPageBorder() 516 if (aBox.GetRight()) in SetPageBorder() 518 if (aBox.GetTop()) in SetPageBorder() 520 if (aBox.GetBottom()) in SetPageBorder() 1644 rFlySet.Put( aBox ); in SetFlyBordersShadow() [all …]
|