/trunk/main/reportdesign/source/ui/report/ |
H A D | SectionWindow.cxx | 238 aOutputSize.Width() -= aThumbPos.X(); in Resize() 248 … bShowEndMarker = m_pParent->getView()->GetTotalWidth() <= (aThumbPos.X() + aOutputSize.Width() ); in Resize() 260 aSectionSize.Width() = aOutputSize.Width() - (long)aStartWidth; in Resize() 262 aSectionSize.Width() -= (long)aEndWidth; in Resize() 268 …m_aSplitter.SetPosSizePixel(aReportPos,Size(aSectionSize.Width(),m_aSplitter.GetSizePixel().Height… in Resize() 273 aReportPos.X() += aSectionSize.Width(); in Resize()
|
/trunk/main/oox/source/drawingml/ |
H A D | fillproperties.cxx | 94 if( !aSizeHmm.Width && !aSizeHmm.Height ) in lclGetOriginalSize() 291 if( (aOriginalSize.Width > 0) && (aOriginalSize.Height > 0) ) in pushToPropMap() 295 …Int32 nFillBmpSizeX = getLimitedValue< sal_Int32, double >( aOriginalSize.Width * fScaleX, 1, SAL_… in pushToPropMap() 302 …tervalValue< sal_Int16 >( maBlipProps.moTileOffsetX.get( 0 ) / 3.6 / aOriginalSize.Width, 0, 100 ); in pushToPropMap() 375 if ( aOriginalSize.Width && aOriginalSize.Height ) in pushToPropMap() 379 …aGraphCrop.Left = static_cast< sal_Int32 >( ( static_cast< double >( aOriginalSize.Width ) * oClip… in pushToPropMap() 383 …aGraphCrop.Right = static_cast< sal_Int32 >( ( static_cast< double >( aOriginalSize.Width ) * oCli… in pushToPropMap()
|
/trunk/main/sw/source/core/bastyp/ |
H A D | swrect.cxx | 67 return Point( Left() + Width() / 2, in Center() 251 void SwRect::_Left( const long nLeft ){ m_Size.Width() += m_Point.getX() - nLeft; m_Point.setX(nLef… in _Left() 263 void SwRect::AddWidth( const long nAdd ) { m_Size.Width() += nAdd; } in AddWidth() 265 void SwRect::SubLeft( const long nSub ){ m_Size.Width() += nSub; m_Point.X() -= nSub; } in SubLeft() 266 void SwRect::AddRight( const long nAdd ){ m_Size.Width() += nAdd; } in AddRight() 327 << ',' << rRect.Width() << 'x' << rRect.Height() << "] "; in operator <<()
|
/trunk/main/vcl/source/control/ |
H A D | edit.cxx | 1206 mnXOffset += aOutSize.Width() / 5; in ImplShowCursor() 1217 mnXOffset -= aOutSize.Width() / 5; in ImplShowCursor() 1246 long nOutWidth = GetOutputSizePixel().Width(); in ImplAlign() 1954 ((nOffX+nTextWidth) > aSize.Width()) ) in Draw() 1964 aPos.X() += (aSize.Width() - nTextWidth) / 2; in Draw() 1969 aPos.X() += aSize.Width() - nTextWidth; in Draw() 2152 aPos = Point( aSize.Width()/2, aSize.Height()/2 ); in Command() 2863 if( aSize.Width() < aMinSize.Width() ) in CalcMinimumSize() 2864 aSize.Width() = aMinSize.Width(); in CalcMinimumSize() 2911 aSz.Width() *= nChars; in CalcSize() [all …]
|
/trunk/main/sd/source/ui/func/ |
H A D | fuzoom.cxx | 154 aScroll.X() /= aWorkSize.Width() / aPageSize.Width(); in MouseMove() 200 if ( aZoomSizePixel.Width() < (long) nTol && aZoomSizePixel.Height() < (long) nTol ) in MouseButtonUp() 205 aSize.Width() /= 2; in MouseButtonUp() 207 aPos.X() -= aSize.Width() / 2; in MouseButtonUp()
|
/trunk/main/editeng/source/outliner/ |
H A D | outliner.cxx | 799 pPara->aBulSize.Width() = -1; in ImplCheckNumBulletItem() 1557 if( pPara->aBulSize.Width() == -1 ) in ImplGetBulletSize() 1573 pPara->aBulSize.Width() = pRefDev->GetTextWidth( aBulletText ); in ImplGetBulletSize() 1682 if ( nBulletWidth < aBulletSize.Width() ) // Bullet macht sich Platz in ImpCalcBulletArea() 1683 nBulletWidth = aBulletSize.Width(); in ImpCalcBulletArea() 1725 aTopLeft.X() += nBulletWidth - aBulletSize.Width(); in ImpCalcBulletArea() 1729 aTopLeft.X() += ( nBulletWidth - aBulletSize.Width() ) / 2; in ImpCalcBulletArea() 1751 aBulletSize.Width() = aSz.Height(); in ImpCalcBulletArea() 1752 aBulletSize.Height() = aSz.Width(); in ImpCalcBulletArea() 1756 aBulletPos.X() = GetPaperSize().Width() - aBulletDocPos.X() - aBulletSize.Width(); in ImpCalcBulletArea() [all …]
|
/trunk/main/vcl/unx/generic/gdi/ |
H A D | salbmp.cxx | 117 if( rSize.Width() && rSize.Height() ) in ImplCreateDIB() 158 pDIB->mnWidth = rSize.Width(); in ImplCreateDIB() 620 aTwoRect.mnSrcWidth = aTwoRect.mnDestWidth = aSize.Width(); in ImplGetDDB() 623 else if( aTwoRect.mnSrcWidth+aTwoRect.mnSrcX > aSize.Width() || in ImplGetDDB() 629 if( aTwoRect.mnSrcX >= aSize.Width() || in ImplGetDDB() 633 if( aTwoRect.mnSrcWidth+aTwoRect.mnSrcX > aSize.Width() ) in ImplGetDDB() 635 aTwoRect.mnSrcWidth = aSize.Width()-aTwoRect.mnSrcX; in ImplGetDDB() 639 aTwoRect.mnSrcWidth = aSize.Width(); in ImplGetDDB() 768 aSize.Width() = mpDIB->mnWidth, aSize.Height() = mpDIB->mnHeight; in GetSize() 770 aSize.Width() = mpDDB->ImplGetWidth(), aSize.Height() = mpDDB->ImplGetHeight(); in GetSize()
|
/trunk/main/cui/source/dialogs/ |
H A D | hltpbase.cxx | 401 if( aDlgPos.X()+(1.05*aDlgSize.Width())+aExtraWndSize.Width() > aScreen.Right() ) in ShowMarkWnd() 403 if( aDlgPos.X() - ( 0.05*aDlgSize.Width() ) - aExtraWndSize.Width() < 0 ) in ShowMarkWnd() 412 …MoveToExtraWnd( Point(0,0) - Point( long(0.05*aDlgSize.Width()), 0 ) - Point( aExtraWndSize.Width(… in ShowMarkWnd() 422 mpMarkWnd->SetSizePixel( Size( aExtraWndSize.Width(), aDlgSize.Height() ) ); in ShowMarkWnd()
|
H A D | colorpicker.cxx | 459 const sal_Int32 nWidth = aSize.Width(); in UpdateBitmap() 609 else if( nX >= aSize.Width() ) in ShowPosition() 610 nX = aSize.Width() - 1L; in ShowPosition() 625 mdX = (double)nX / (double)(aSize.Width()-1); in ShowPosition() 672 Point aPos( mdX * aSize.Width(), (1.0 - mdY) * aSize.Height() ); in KeyMove() 676 aPos.X() += aSize.Width(); in KeyMove() 677 else if( aPos.X() >= aSize.Width() ) in KeyMove() 678 aPos.X() -= aSize.Width(); in KeyMove() 1014 int x = aSize.Width(); in Paint() 1244 aPos.X() -= aSize.Width(); in ColorPickerDialog() [all …]
|
/trunk/main/vcl/unx/gtk/window/ |
H A D | gtkframe.cxx | 608 maGeometry.nWidth = aDefSize.Width(); in InitCommon() 1100 aSize.Width() * 4, in bitmapToPixbuf() 1212 nScreenWidth = aScreenSize.Width(); in Center() 1244 long w = aScreenSize.Width(); in calcDefaultSize() 1252 if( aScreenSize.Width() >= 800 ) in calcDefaultSize() 1254 if( aScreenSize.Width() >= 1024 ) in calcDefaultSize() 1460 aGeo.max_width = m_aMaxSize.Width(); in setMinMaxSize() 1556 if( nX > (long)aScreenSize.Width() - 10 ) in SetPosSize() 1557 nX = (long)aScreenSize.Width() - 10; in SetPosSize() 2590 if( aSize.Width() && aSize.Height() ) in SetBackgroundBitmap() [all …]
|
/trunk/main/dbaccess/source/ui/control/ |
H A D | FieldDescControl.cxx | 343 long nTemp = _pWindow->GetSizePixel().Width() + _pWindow->GetPosPixel().X(); in getMaxXPosition() 354 long nVScrollWidth = m_pVertScroll->GetSizePixel().Width(); in CheckScrollBars() 356 long nNewHWidth = szOverallSize.Width() - nVScrollWidth; in CheckScrollBars() 372 long lMaxXAvailable = szOverallSize.Width(); in CheckScrollBars() 874 pFormat->SetPosPixel(Point(ptSamplePos.X() + szSampleSize.Width() + 5, ptSamplePos.Y())); in ArrangeAggregates() 1175 aSize.Width() = LogicToPixel(Size(m_nWidth, 0),MAP_APPFONT).Width(); in SetPosSize() 1182 aSize.Width() = CONTROL_WIDTH_1; in SetPosSize() 1185 aSize.Width() = CONTROL_WIDTH_2; in SetPosSize() 1188 aSize.Width() = CONTROL_WIDTH_3; in SetPosSize() 1191 aSize.Width() = CONTROL_WIDTH_4; in SetPosSize() [all …]
|
/trunk/main/wizards/com/sun/star/wizards/document/ |
H A D | TimeStampControl.java | 75 nreldatewidth = 1.0 / ((double) getSize().Width / (double) nDateWidth); in TimeStampControl() 122 int ndatewidth = (int) (nreldatewidth * (double) _aSize.Width); in setSize() 123 int ntimewidth = (int) (nreltimewidth * (double) _aSize.Width); in setSize() 135 … int ncontrolwidth = oDateControl.xShape.getSize().Width + oTimeControl.xShape.getSize().Width; in getSize()
|
/trunk/main/sc/source/ui/view/ |
H A D | notemark.cxx | 64 aSizePixel.Width() += pRightWin->GetOutputSizePixel().Width(); in ScNoteMarker() 142 aOrigin.X() -= rMove.Width(); in lcl_MoveMapMode() 159 lcl_MoveMapMode( aMapMode, Size( aWinSize.Width(), 0 ) ) ); in Draw() 180 lcl_MoveMapMode( aMapMode, Size( aWinSize.Width(), 0 ) ), in InvalidateWin()
|
/trunk/main/sfx2/source/appl/ |
H A D | shutdowniconunx.cxx | 111 Size aSize( pSalBitmap->Width(), pSalBitmap->Height() ); in ResIdToPixbuf() 112 g_return_val_if_fail( Size( pSalAlpha->Width(), pSalAlpha->Height() ) == aSize, NULL ); in ResIdToPixbuf() 115 guchar *pPixbufData = ( guchar * )g_malloc( 4 * aSize.Width() * aSize.Height() ); in ResIdToPixbuf() 120 for( nX = 0; nX < pSalBitmap->Width(); nX++ ) in ResIdToPixbuf() 144 aSize.Width(), aSize.Height(), in ResIdToPixbuf() 145 aSize.Width() * 4, in ResIdToPixbuf()
|
/trunk/main/sw/source/filter/html/ |
H A D | htmlforw.cxx | 737 rSz.Width() = nCols; in GetControlSize() 895 if( aSz.Width() ) in OutHTML_DrawFrmFmtAsControl() 897 += ByteString::CreateFromInt32( aSz.Width() ); in OutHTML_DrawFrmFmtAsControl() 927 if( aSz.Width() ) in OutHTML_DrawFrmFmtAsControl() 961 if( aSz.Width() ) in OutHTML_DrawFrmFmtAsControl() 963 += ByteString::CreateFromInt32( aSz.Width() ); in OutHTML_DrawFrmFmtAsControl() 1035 if( (aTwipSz.Width() || aTwipSz.Height()) && in OutHTML_DrawFrmFmtAsControl() 1041 if( !aPixelSz.Width() && aTwipSz.Width() ) in OutHTML_DrawFrmFmtAsControl() 1042 aPixelSz.Width() = 1; in OutHTML_DrawFrmFmtAsControl() 1047 if( aPixelSz.Width() ) in OutHTML_DrawFrmFmtAsControl() [all …]
|
/trunk/main/dbaccess/source/ui/app/ |
H A D | AppDetailPageHelper.cxx | 1095 long nOutputWidth = aOutputSize.Width(); in Resize() 1107 … m_aFL.SetPosSizePixel( Point(nHalfOutputWidth , 0 ), Size(aFLSize.Width(), nOutputHeight ) ); in Resize() 1114 …m_aBorder.SetPosSizePixel(Point(nHalfOutputWidth + aFLSize.Width() + n6PPT, aTBSize.getHeight() + … in Resize() 1115 … Size(nHalfOutputWidth - aFLSize.Width() - n6PPT, nOutputHeight - 2*n6PPT - aTBSize.getHeight()) ); in Resize() 1441 if( aNewSize.Width() && aNewSize.Height() ) in ImplGetGraphicCenterRect() 1444 const double fGrfWH = (double) aNewSize.Width() / aNewSize.Height(); in ImplGetGraphicCenterRect() 1445 const double fWinWH = (double) aWinSize.Width() / aWinSize.Height(); in ImplGetGraphicCenterRect() 1449 aNewSize.Width() = (long) ( aWinSize.Height() * fGrfWH ); in ImplGetGraphicCenterRect() 1454 aNewSize.Width() = aWinSize.Width(); in ImplGetGraphicCenterRect() 1455 aNewSize.Height()= (long) ( aWinSize.Width() / fGrfWH); in ImplGetGraphicCenterRect() [all …]
|
/trunk/main/sfx2/source/doc/ |
H A D | new.cxx | 119 DBG_ASSERT( aTmpSize.Height()*aTmpSize.Width(), in ImpPaint() 122 long nWidth = pWindow->GetOutputSize().Width() - 2*FRAME; in ImpPaint() 127 double dRatio=((double)aTmpSize.Width())/aTmpSize.Height(); in ImpPaint() 139 aPoint=Point((sal_uInt16)((nWidth-aSize.Width())/2),0); in ImpPaint() 197 …DBG_ASSERT( aTmpSize.Height() * aTmpSize.Width(), "size of first page is 0, overload GetFirstPageS… in Paint() 537 aSize.Width() += nSizeOffset; in AdjustPosSize_Impl() 638 Size(nMoveOffset, nMoveOffset), MAP_APPFONT).Width(); in SfxNewFileDialog_Impl() 640 Size(nExpandSize, nExpandSize), MAP_APPFONT).Width(); in SfxNewFileDialog_Impl()
|
/trunk/main/vcl/os2/source/gdi/ |
H A D | salbmp.cxx | 188 aInfoHeader.cx = aSize.Width(); in Create() 257 SIZEL aSizeL = { rSalBmp.maSize.Width(), nLines }; in Create() 345 …if ( rSize.Width() && rSize.Height() && ( nBits == 1 || nBits == 4 || nBits == 8 || nBits == 24 ) ) in ImplCreateDIB() 347 const ULONG nImageSize = AlignedWidth4Bytes( nBits * rSize.Width() ) * rSize.Height(); in ImplCreateDIB() 359 pBIH->cx = rSize.Width(); in ImplCreateDIB() 569 pBuffer->mnWidth = maSize.Width(); in AcquireBuffer() 571 pBuffer->mnScanlineSize = AlignedWidth4Bytes( maSize.Width() * pBIH->cBitCount ); in AcquireBuffer() 636 ULONG nWidthAl = AlignedWidth4Bytes( rSizePixel.Width() * ( bRLE4 ? 4UL : 8UL ) ); in ImplDecodeRLEBuffer()
|
/trunk/main/editeng/source/editeng/ |
H A D | editdbg.cxx | 390 aPortionStr += ByteString::CreateFromInt32( pPortion->GetSize().Width() ); in ShowEditEngineData() 459 fprintf( fp, "\nPaperSize: %li x %li", pEE->GetPaperSize().Width(), pEE->GetPaperSize().Height() ); in ShowEditEngineData() 460 …fprintf( fp, "\nMaxAutoPaperSize: %li x %li", pEE->GetMaxAutoPaperSize().Width(), pEE->GetMaxAutoP… in ShowEditEngineData() 461 …fprintf( fp, "\nMinAutoPaperSize: %li x %li", pEE->GetMinAutoPaperSize().Width(), pEE->GetMinAutoP… in ShowEditEngineData() 470 …, dY=%li, MapMode = %i", aR.TopLeft().X(), aR.TopLeft().Y(), aR.GetSize().Width(), aR.GetSize().He… in ShowEditEngineData() 472 …nY=%li, dX=%li, dY=%li", aR.TopLeft().X(), aR.TopLeft().Y(), aR.GetSize().Width(), aR.GetSize().He… in ShowEditEngineData() 515 aDebStr += ByteString::CreateFromInt32( pPortion->GetSize().Width() ); in GetPortionInfo() 543 aDebStr += ByteString::CreateFromInt32( pPortion->GetSize().Width() ); in GetTextPortionInfo()
|
/trunk/main/starmath/source/ |
H A D | node.cxx | 272 aFntSize.Width() = 0; in SetFontSize() 960 + Point((rSymSize.Width() * 70) / 100, in GetExtraPos() 1686 aTmpSize.Width() *= 182; in Arrange() 1687 aTmpSize.Width() /= 267; in Arrange() 2205 aToSize.Width() = nNewWidth; in AdaptToX() 2351 aToSize.Width() = nWidth; in AdaptToX() 2365 long nWidth = aToSize.Width(), in Arrange() 2723 aFntSize.Width() = nWidth; in AdaptToX() 2734 aFntSize.Width() *= nWidth; in AdaptToX() 2747 if (aFntSize.Width() == 0) in AdaptToY() [all …]
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterButton.cxx | 205 sal_Int32(0.5 + maCenter.X - maButtonSize.Width/2), in SetCenter() 207 maButtonSize.Width, in SetCenter() 256 if (maButtonSize.Width < 0) in GetSize() 447 sal_Int32(0.5 + aTextSize.Width + 2*gnHorizontalBorder), in CalculateButtonSize() 466 const awt::Rectangle aBox(0,0, rSize.Width, rSize.Height); in RenderButton() 487 aRenderState.AffineTransform.m02 = (rSize.Width - aTextBBox.X2 + aTextBBox.X1)/2; in RenderButton() 539 if (maButtonSize.Height<=0 && maButtonSize.Width<= 0) in SetupButtonBitmaps()
|
/trunk/main/svtools/source/filter/ |
H A D | FilterConfigItem.cxx | 347 pPropWidth->Value >>= aRetValue.Width; in ReadSize() 355 aAny >>= aRetValue.Width; in ReadSize() 367 aWidth.Value <<= aRetValue.Width; in ReadSize() 489 aWidth.Value <<= rNewValue.Width; in WriteSize() 500 sal_Int32 nOldWidth = rNewValue.Width; in WriteSize() 515 if ( ( nOldWidth != rNewValue.Width ) || ( nOldHeight != rNewValue.Height ) ) in WriteSize() 517 aAny <<= rNewValue.Width; in WriteSize()
|
/trunk/main/sw/source/ui/utlui/ |
H A D | navipi.cxx | 649 aMinOutSizePixel.Width(),nZoomOutInit)); in _ZoomOut() 693 aMinOutSizePixel.Width(), aSz.Height())); in _ZoomIn() 723 aMinOutSizePixel.Width() = nWishWidth; in Resize() 728 aMinOutSizePixel.Width() = 0; in Resize() 738 aNewSize.Width() -= 2 * nDist; in Resize() 743 aDocLBSz.Width() = aNewSize.Width(); in Resize() 753 aDocLBSz.Width(), aDocLBSz.Height(), in Resize() 859 nWishWidth = aContentToolboxSize.Width(); in SwNavigationPI() 874 if (aTmpParentSize.Width() < aMinSize.Width() in SwNavigationPI()
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | winwmf.cxx | 273 pOut->DrawRoundRect( ReadRectangle(), Size( aSize.Width() / 2, aSize.Height() / 2 ) ); in ReadRecordParams() 572 ( ( nSx + nSxe ) <= aBmp.GetSizePixel().Width() ) && in ReadRecordParams() 615 … if ( aDestSize.Width() && aDestSize.Height() ) // #92623# do not try to read buggy bitmaps in ReadRecordParams() 623 ( ( nSx + nSxe ) <= aBmp.GetSizePixel().Width() ) && in ReadRecordParams() 650 for ( sal_Int32 x = 0; x < pBmp->Width(); x++ ) in ReadRecordParams() 659 nCount = pBmp->Height() * pBmp->Width(); in ReadRecordParams() 759 aLogFont.lfWidth = aFontSize.Width(); in ReadRecordParams() 1051 if( ( labs( aWMFSize.Width() ) > 1 ) && ( labs( aWMFSize.Height() ) > 1 ) ) in ReadHeader() 1056 aDevExt = Size( labs( aSize100.Width() ), labs( aSize100.Height() ) ); in ReadHeader() 1155 … pOut->SetrclFrame( Rectangle(0, 0, aMeta.GetPrefSize().Width(), aMeta.GetPrefSize().Height() )); in ReadWMF() [all …]
|
/trunk/main/framework/qa/complex/framework/recovery/ |
H A D | RecoveryTest.java | 278 ok &= oldRect.Width == newRect.Width; in compareWindowPositions() 288 msg += "Width : " + oldRect.Width + " -> " + newRect.Width + "\n"; in compareWindowPositions() 613 size.Width = screenDim.width; in makeWindowPositionRage() 678 xWindow.setPosSize(posSize.X, posSize.Y, posSize.Width, posSize.Height, in positioningDocument() 681 System.out.println("x: "+test.X+" y:"+test.Y+" width:"+test.Width+" height:"+test.Height); in positioningDocument() 694 int maxWidth = windowMaxSize.Width-posSize.Y; in makePosZize() 696 int width = rand.nextInt((windowMaxSize.Width-posSize.Y) + 1); in makePosZize() 700 posSize.Width = (width < (maxWidth / 2)) ? width + (maxWidth / 2) : width; in makePosZize()
|