/trunk/main/sw/source/ui/index/ |
H A D | cnttab.cxx | 627 long nDiffWidth = GetSizePixel().Width() - aSize.Width(); in IMPL_LINK() 822 long nWidth = rHB.GetSizePixel().Width(); in SwAddStylesDlg_Impl() 1884 aSize.Width() = aTextSize.Width() + EDIT_MINWIDTH; in AdjustSize() 2057 if((aPos.X() + aSize.Width()) > GetSizePixel().Width()) in RequestHelp() 2058 aSize.Width() = GetSizePixel().Width() - aPos.X(); in RequestHelp() 2337 aTempSz.Width() += nDiff; in lcl_ChgWidth() 2430 nDiff = aLevelFLSize.Width(); in ActivatePage() 3328 aControlPos.X() += aControlSize.Width(); in InsertItem() 3916 long nMove = aCompleteSize.Width() - aRightSize.Width() - aRightPos.X(); in Resize() 3920 aMiddleSize.Width() += nMove; in Resize() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | porref.cxx | 41 if( Width() ) in Paint() 69 if( !Width() && rInf.OnWin() && SwViewOption::IsFieldShadings() && in GetViewWidth() 73 pThis->nViewWidth = rInf.GetTxtSize( ' ' ).Width(); in GetViewWidth() 96 if( Width() ) in Paint()
|
H A D | portox.cxx | 41 if( Width() ) in Paint() 70 if( !Width() && rInf.OnWin() && in GetViewWidth() 75 pThis->nViewWidth = rInf.GetTxtSize( ' ' ).Width(); in GetViewWidth() 98 if( Width() ) in Paint()
|
/trunk/main/oox/source/drawingml/chart/ |
H A D | converterbase.cxx | 367 orRect.X = lclCalcPosition( rChartSize.Width, mrModel.mfX, mrModel.mnXMode ); in calcAbsRectangle() 371 … orRect.Width = lclCalcSize( orRect.X, rChartSize.Width, mrModel.mfW, mrModel.mnWMode ); in calcAbsRectangle() 373 return (orRect.Width > 0) && (orRect.Height > 0); in calcAbsRectangle() 409 lclCalcPosition( rChartSize.Width, mrModel.mfX, mrModel.mnXMode ), in convertFromModel() 422 aShapePos.Y += static_cast< sal_Int32 >( fSin * aShapeSize.Width + 0.5 ); in convertFromModel()
|
/trunk/main/chart2/source/view/main/ |
H A D | VLegendSymbolFactory.cxx | 134 xLine->setSize( awt::Size( rEntryKeyAspectRatio.Width, 0 )); in createSymbol() 141 … const sal_Int32 nSize = std::min(rEntryKeyAspectRatio.Width,rEntryKeyAspectRatio.Height); in createSymbol() 146 … drawing::Position3D aPos( rEntryKeyAspectRatio.Width/2, rEntryKeyAspectRatio.Height/2, 0 ); in createSymbol() 184 … sal_Int32 nSize = std::min( rEntryKeyAspectRatio.Width, rEntryKeyAspectRatio.Height ); in createSymbol() 186 …xShape->setPosition( awt::Point( rEntryKeyAspectRatio.Width/2-nSize/2, rEntryKeyAspectRatio.Height… in createSymbol()
|
/trunk/main/sw/source/core/view/ |
H A D | vdraw.cxx | 336 aSz.Width() = (aRect.Right() - aBound.Left()) - MINFLY; in NotifySizeChg() 339 if ( aSz.Width() || aSz.Height() ) in NotifySizeChg() 343 aSz.Width() = aSz.Height() = 0; in NotifySizeChg() 345 aSz.Width() = (aBound.Bottom() - aRect.Top()) - MINFLY; in NotifySizeChg() 348 if ( aSz.Width() || aSz.Height() ) in NotifySizeChg()
|
/trunk/main/sd/source/ui/sidebar/ |
H A D | MasterPageContainer.cxx | 705 nWidth = aPageSize.Width(); in UpdatePreviewSizePixel() 711 maSmallPreviewSizePixel.Width() = SMALL_PREVIEW_WIDTH; in UpdatePreviewSizePixel() 712 maLargePreviewSizePixel.Width() = LARGE_PREVIEW_WIDTH; in UpdatePreviewSizePixel() 714 int nNewSmallHeight ((maSmallPreviewSizePixel.Width()-2) * nHeight / nWidth + 2); in UpdatePreviewSizePixel() 715 int nNewLargeHeight ((maLargePreviewSizePixel.Width()-2) * nHeight / nWidth + 2); in UpdatePreviewSizePixel() 904 if (pDescriptor->maLargePreview.GetSizePixel().Width() != 0) in GetPreviewForToken() 953 if (pDescriptor->maLargePreview.GetSizePixel().Width() != 0) in GetPreviewState() 1071 if (rPreview.GetSizePixel().Width() == 0) in GetPreviewSubstitution() 1086 if (rPreview.GetSizePixel().Width() == 0) in GetPreviewSubstitution()
|
/trunk/main/sw/source/ui/dbui/ |
H A D | mailmergehelper.cxx | 237 Point aSrollPos(aSize.Width() - aScrollSize.Width(), 0); in SwAddressPreview() 373 aSize.Width() -= aVScrollBar.GetSizePixel().Width(); in Paint() 376 Size aPartSize( aSize.Width()/pImpl->nColumns, aSize.Height()/pImpl->nRows ); in Paint() 377 aPartSize.Width() -= 2; in Paint() 388 Point aPos(nCol * aPartSize.Width(), (nRow) * aPartSize.Height()); in Paint() 412 Size aPartSize( aSize.Width()/pImpl->nColumns, aSize.Height()/pImpl->nRows ); in MouseButtonDown() 418 sal_uInt32 nCol = rMousePos.X() / aPartSize.Width(); in MouseButtonDown()
|
/trunk/main/sc/source/ui/view/ |
H A D | tabview2.cxx | 734 aWinSize.Width() += GetGridWidth( SC_SPLIT_LEFT ); in CalcZoom() 748 nPPTX, nPPTY, nTest, aWinSize.Width(), aWinSize.Height(), in CalcZoom() 805 GetOutputSizePixel().Width(); in CalcZoom() 808 aWinSize.Width() += nOtherWidth; in CalcZoom() 811 aPageSize.Width() += pDoc->GetColWidth( nCol, nCurTab ); in CalcZoom() 813 else if ( nOtherWidth > aWinSize.Width() ) in CalcZoom() 814 aWinSize.Width() = nOtherWidth; in CalcZoom() 835 long nZoomX = (long) ( aWinSize.Width() * 100 / in CalcZoom() 836 ( aPageSize.Width() * nPPTX ) ); in CalcZoom()
|
H A D | preview.cxx | 367 DrawRect(Rectangle( 0, 0, aWinSize.Width(), -aOffset.Y() )); in DoPrint() 455 aLocalPageSize.Width() = (long) (aLocalPageSize.Width() * HMM_PER_TWIPS ); in DoPrint() 477 long nPageEndX = aLocalPageSize.Width() - aOffset.X(); in DoPrint() 483 Point aWinEnd( aWinSize.Width(), aWinSize.Height() ); in DoPrint() 776 aWinSize.Width() -= 2 * aMarginSize.Width(); in GetOptimalZoom() 780 if ( aLocalPageSize.Width() && aLocalPageSize.Height() ) in GetOptimalZoom() 782 long nZoomX = (long) ( aWinSize.Width() * 100 / ( aLocalPageSize.Width() * nWinScaleX )); in GetOptimalZoom() 1020 long nWidth = (long) lcl_GetDocPageSize(pDocShell->GetDocument(), nTab).Width(); in MouseButtonUp() 1269 long nWidth = (long) lcl_GetDocPageSize(pDocShell->GetDocument(), nTab).Width(); in MouseMove() 1534 long nWidth = (long) lcl_GetDocPageSize( pDocShell->GetDocument(), nTab ).Width(); in DrawInvert()
|
/trunk/main/cui/source/options/ |
H A D | optpath.cxx | 233 pHeaderBar->SetPosSizePixel( Point( 0, 0 ), Size( aBoxSize.Width(), 20 ) ); in SvxPathTabPage() 237 aSz.Width() = TAB_WIDTH1; in SvxPathTabPage() 239 LogicToPixel( aSz, MapMode( MAP_APPFONT ) ).Width(), in SvxPathTabPage() 241 aSz.Width() = TAB_WIDTH2; in SvxPathTabPage() 243 LogicToPixel( aSz, MapMode( MAP_APPFONT ) ).Width(), in SvxPathTabPage() 256 Size( aBoxSize.Width(), aBoxSize.Height() - aHeadSize.Height() ) ); in SvxPathTabPage() 702 long nBarWidth = pHeaderBar->GetSizePixel().Width(); in IMPL_LINK() 712 aSz.Width() = _nWidth + nTmpSz; in IMPL_LINK() 714 pPathBox->SetTab( i, PixelToLogic( aSz, MapMode(MAP_APPFONT) ).Width(), MAP_APPFONT ); in IMPL_LINK()
|
/trunk/main/sw/source/ui/fldui/ |
H A D | FldRefTreeListBox.cxx | 62 if((aPos.X() + aSize.Width()) > GetSizePixel().Width()) in RequestHelp() 63 aSize.Width() = GetSizePixel().Width() - aPos.X(); in RequestHelp()
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterNotesView.cxx | 496 geometry::RealRectangle2D aNewTextBoundingBox (0,0,aWindowBox.Width, aWindowBox.Height); in Layout() 504 sal_Int32(aToolBarSize.Width + 0.5), nToolBarHeight, in Layout() 514 (aWindowBox.Width + aToolBarSize.Width) / 2, in Layout() 620 awt::Rectangle(0,sal_Int32(maTextBoundingBox.Y2),aWindowBox.Width,aWindowBox.Height), in PaintToolBar() 630 geometry::RealPoint2D(aWindowBox.Width,mnSeparatorYLocation), in PaintToolBar() 643 if (aBox.Width <= 0 || aBox.Height <= 0) in PaintText()
|
/trunk/main/reportdesign/source/ui/report/ |
H A D | propbrw.cxx | 208 m_xBrowserComponentWindow->setPosSize(0, 0, aPropWinSize.Width(), aPropWinSize.Height(), in DBG_NAME() 466 aMinSize.Width += 4; in getMinimumSize() 468 aSize.setWidth( aMinSize.Width ); in getMinimumSize() 484 if( aSize.Width() < aMinSize.Width() ) in Resize() 486 aSize.setWidth( aMinSize.Width() ); in Resize() 501 m_xBrowserComponentWindow->setPosSize(0, 0, aSize.Width(), aSize.Height(), in Resize()
|
/trunk/main/canvas/source/vcl/ |
H A D | spritecanvashelper.cxx | 403 rTargetSizePixel.Width(), in scrollUpdate() 549 … ::std::min( static_cast< sal_Int32 >(rTargetSizePixel.Width() - aOutputPosition.X()), in genericUpdate() 556 if( aOutputSize.Width() == 0 && in genericUpdate() 567 if( aCurrOutputSize.Width() < aOutputSize.Width() || in genericUpdate() 699 rVDevSize.Width()*rVDevSize.Height() * BYTES_PER_PIXEL + in renderMemUsage() 700 … rBackBufferSize.Width()*rBackBufferSize.Height() * BYTES_PER_PIXEL ); in renderMemUsage()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdomeas.cxx | 430 long nNeedSiz=!rRec.bTextRota90 ? rPol.aTextSize.Width() : rPol.aTextSize.Height(); in ImpCalcGeometrics() 514 long nNeedSiz=!rRec.bTextRota90 ? rPol.aTextSize.Width() : rPol.aTextSize.Height(); in ImpCalcGeometrics() 527 long nTextWdt=rRec.bTextRota90 ? rPol.aTextSize.Height() : rPol.aTextSize.Width(); in ImpCalcGeometrics() 649 if (aTextSize2.Width()<1) aTextSize2.Width()=1; in TakeUnrotatedSnapRect() 651 aTextSize2.Width()+=GetTextLeftDistance()+GetTextRightDistance(); in TakeUnrotatedSnapRect() 676 default: aTextPos.X()=aPt1b.X(); aTextSize2.Width()=nLen; in TakeUnrotatedSnapRect() 691 aTextPos.X()+=aTextSize2.Width(); in TakeUnrotatedSnapRect() 702 case SDRMEASURETEXT_BREAKEDLINE: aTextPos.Y()=aPt1b.Y()+aTextSize2.Width()/2; break; in TakeUnrotatedSnapRect() 704 if (!bBelowRefEdge) aTextPos.Y()=aPt1b.Y()+aTextSize2.Width()+nLWdt; in TakeUnrotatedSnapRect() 709 else aTextPos.Y()=aPt1b.Y()+aTextSize2.Width()+nLWdt; in TakeUnrotatedSnapRect() [all …]
|
/trunk/main/svtools/source/control/ |
H A D | toolbarmenuacc.cxx | 364 const Point aSize( aRect.Width, aRect.Height ); in containsPoint() 414 aRet.Width = aOutSize.Width(); in getBounds() 447 return awt::Size( aOutSize.Width(), aOutSize.Height() ); in getSize() 894 const Point aSize( aRect.Width, aRect.Height ); in containsPoint() 925 aRet.Width = aRect.GetWidth(); in getBounds() 965 aRet.Width = aRect.Width; in getSize()
|
/trunk/main/dbaccess/source/ui/dlg/ |
H A D | dsselect.cxx | 129 Size aNewSize(3 * aOldSize.Width() / 4, aOldSize.Height()); in ODatasourceSelectDialog() 132 sal_Int32 nLostPixels = aOldSize.Width() - aNewSize.Width(); in ODatasourceSelectDialog() 136 m_aDescription.SetSizePixel(Size(aOldSize.Width() - nLostPixels, aOldSize.Height())); in ODatasourceSelectDialog() 148 SetSizePixel(Size(aOldSize.Width() - nLostPixels, aOldSize.Height())); in ODatasourceSelectDialog()
|
/trunk/main/sd/source/ui/view/ |
H A D | outlview.cxx | 1991 const float fImageRatio = (float)aImageSize.Height() / (float)aImageSize.Width(); in IMPL_LINK() 1992 aImageSize.Width() = (long)( fImageRatio * fImageHeight ); in IMPL_LINK() 1996 aImagePos.X() += aOutSize.Width() - aImageSize.Width() - aOffset.Width() ; in IMPL_LINK() 2006 Point aTextPos( aImagePos.X() - aOffset.Width(), pInfo->mrStartPos.Y() ); in IMPL_LINK() 2016 aTextSz.Width() = pInfo->mpOutDev->GetTextWidth( aPageText ); in IMPL_LINK() 2024 aTextPos.X() -= aTextSz.Width(); in IMPL_LINK() 2028 aTextPos.X() += aTextSz.Width(); in IMPL_LINK() 2033 aTextPos.Y() -= aTextSz.Width(); in IMPL_LINK() 2052 sal_Int32 nWidth = pActWin->LogicToPixel( aSize ).Width() * 5; 2057 aSize.Width() = pActWin->GetTextWidth(aBulletStr); [all …]
|
/trunk/main/extensions/source/propctrlr/ |
H A D | browserline.cxx | 233 aTitlePos.X() += aIndent.Width(); in impl_layoutComponents() 234 aTitleSize.Width() -= aIndent.Width(); in impl_layoutComponents() 246 …Size aControlSize( m_aOutputSize.Width() - 4 - m_nNameWidth - nBrowseButtonSize - 4, m_pControlWin… in impl_layoutComponents() 248 aControlSize.Width() -= nBrowseButtonSize + 4; in impl_layoutComponents() 254 Point aButtonPos( m_aOutputSize.Width() - 4 - nBrowseButtonSize, m_aLinePos.Y() + 2 ); in impl_layoutComponents()
|
/trunk/main/svx/source/unodraw/ |
H A D | unoshap4.cxx | 157 Size aTmp( aVisArea.X + aVisArea.Width, aVisArea.Y + aVisArea.Height ); in setPropertyValueImpl() 166 …xObj->setVisualAreaSize( embed::Aspects::MSOLE_CONTENT, awt::Size( aTmp.Width(), aTmp.Height() ) ); in setPropertyValueImpl() 322 aVisArea = awt::Rectangle( 0, 0, aTmp.Width(), aTmp.Height() ); in getPropertyValueImpl() 332 rValue <<= awt::Size( aTmp.Width(), aTmp.Height() ); in getPropertyValueImpl() 475 aRect.SetSize( Size( aSz.Width, aSz.Height ) ); in createObject() 485 aSz.Width = aSize.Width(); in createObject() 538 aRect.SetSize( Size( aSz.Width, aSz.Height ) ); in createLink() 548 aSz.Width = aSize.Width(); in createLink()
|
/trunk/main/vcl/source/gdi/ |
H A D | bitmapex.cxx | 466 if( aBitmapSize.Width() && aBitmapSize.Height() ) in Scale() 468 bRet = Scale( (double) rNewSize.Width() / aBitmapSize.Width(), in Scale() 774 if(nX >= 0 && nX < aBitmapSize.Width() && nY >= 0 && nY < aBitmapSize.Height()) in GetTransparency() 948 const sal_uInt32 nSourceWidth(GetSizePixel().Width()); in getTransformed() 1098 for(sal_uInt32 x(0L); x < (sal_uInt32)pContent->Width(); x++) in ModifyBitmapEx() 1117 for(sal_uInt32 x(0L); x < (sal_uInt32)pContent->Width(); x++) in ModifyBitmapEx() 1134 for(sal_uInt32 x(0L); x < (sal_uInt32)pContent->Width(); x++) in ModifyBitmapEx() 1185 const sal_uInt32 nW(rSize.Width()); in createBlendFrame() 1237 const long nW(rSize.Width()); in createBlendFrame()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | viewdraw.cxx | 155 if(rVisArea.Width() > aDocSize.Width()) in ExecDraw() 156 aStartPos.X() = aDocSize.Width() / 2 + rVisArea.Left(); in ExecDraw() 200 if( rVisArea.Width() > aDocSize.Width()) in ExecDraw() 201 aPos.X() = aDocSize.Width() / 2 + rVisArea.Left(); in ExecDraw() 206 if( aPrefSize.Width() && aPrefSize.Height() ) in ExecDraw()
|
/trunk/main/sw/source/ui/shells/ |
H A D | grfsh.cxx | 167 SwFmtFrmSize aFrmSize( ATT_VAR_SIZE, pRect->Width(), pRect->Height()); in Execute() 178 aFrmSize.SetWidth( pRect->Width() ); in Execute() 189 aSizeCopy.SetWidth(rSh.GetAnyCurRect(RECT_FLY_EMBEDDED).Width()); in Execute() 199 if( 0xff == aSz.Width() ) aSz.Width() = 0; in Execute() 269 aSize.SetWidth( rSz.Width() ); in Execute() 276 aSize.SetWidthPercent( static_cast< sal_uInt8 >( rRelativeSize.Width() ) ); in Execute()
|
/trunk/main/extensions/source/bibliography/ |
H A D | toolbar.cxx | 228 a2Size.Width()=100; in BibToolBar() 629 if ( !aSize.Width() ) in AdjustToolBox() 630 aSize.Width() = aOldSize.Width(); in AdjustToolBox() 636 (aSize.Width() && aSize.Width() != aTbSize.Width()) || in AdjustToolBox()
|