/trunk/main/sc/source/ui/app/ |
H A D | client.cxx | 118 Size aSize = pPage->GetSize(); in RequestNewObjectArea() local 119 if ( aSize.Width() < 0 ) in RequestNewObjectArea() 121 aPos.X() = aSize.Width() + 1; // negative in RequestNewObjectArea() 122 aSize.Width() = -aSize.Width(); // positive in RequestNewObjectArea() 124 Rectangle aPageRect( aPos, aSize ); in RequestNewObjectArea()
|
H A D | inputwin.cxx | 520 Size aSize = aTextWindow.GetSizePixel(); in Resize() local 523 aTextWindow.SetSizePixel( aSize ); in Resize() 791 Size aSize(1,TBX_WINDOW_HEIGHT); in ScTextWnd() local 794 aSize.Height() = aMinEditSize.Height(); in ScTextWnd() 795 SetSizePixel ( aSize ); in ScTextWnd() 841 Size aSize = GetOutputSizePixel(); in Resize() local 842 long nDiff = aSize.Height() in Resize() 850 aSize.Width() -= 2 * TEXT_STARTPOS - 1; in Resize() 854 aSize ) ) ); in Resize() 1419 aSize.Width() += 25; // ?? in ScPosWnd() [all …]
|
/trunk/main/svtools/source/control/ |
H A D | headbar.cxx | 1020 Rectangle aRect( aPos, aSize ); in Draw() 1074 Size aSize = GetOutputSizePixel(); in Resize() local 1077 mnDX = aSize.Width(); in Resize() 1078 mnDY = aSize.Height(); in Resize() 1602 Size aSize( 0, GetTextHeight() ); in CalcWindowSizePixel() local 1610 nImageHeight += aSize.Height(); in CalcWindowSizePixel() 1615 aSize.Width() += pItem->mnSize; in CalcWindowSizePixel() 1621 aSize.Height() = nMaxImageSize; in CalcWindowSizePixel() 1625 aSize.Height() += 4; in CalcWindowSizePixel() 1627 aSize.Height() += 2; in CalcWindowSizePixel() [all …]
|
/trunk/main/sw/source/ui/shells/ |
H A D | grfshex.cxx | 115 Size aSize; in InsertMediaDlg() local 126 aSize = pWindow->PixelToLogic( aPrefSize, MAP_TWIP ); in InsertMediaDlg() 128 aSize = Application::GetDefaultDevice()->PixelToLogic( aPrefSize, MAP_TWIP ); in InsertMediaDlg() 131 aSize = Size( 2835, 2835 ); in InsertMediaDlg() 133 SdrMediaObj* pObj = new SdrMediaObj( Rectangle( aPos, aSize ) ); in InsertMediaDlg()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | wrtw8esh.cxx | 1574 Size aSize( rGrf.GetPrefSize() ); in WriteGrfBullet() local 1577 aSize = Application::GetDefaultDevice()->PixelToLogic(aSize, aMap100mm ); in WriteGrfBullet() 1581 aSize = OutputDevice::LogicToLogic( aSize,rGrf.GetPrefMapMode(), aMap100mm ); in WriteGrfBullet() 1584 Rectangle aRect( aEmptyPoint, aSize ); in WriteGrfBullet() 1667 aSize, aMap100mm ); in WriteGrfFlyFrame() 1671 aSize = OutputDevice::LogicToLogic( aSize, in WriteGrfFlyFrame() 1824 aRect.Width = aSize.Width; in WriteOLEFlyFrame() 1825 aRect.Height = aSize.Height; in WriteOLEFlyFrame() 1876 aSize, aMap100mm); in WriteBrushAttr() 1880 aSize = OutputDevice::LogicToLogic(aSize, in WriteBrushAttr() [all …]
|
/trunk/main/svx/source/xoutdev/ |
H A D | xtabdash.cxx | 149 const Size aSize((rSize.Width() * 5 * 2) / 2, rSize.Height() * nFactor); in ImpCreateBitmapForXDash() local 154 aLine.append(basegfx::B2DPoint(0.0, aSize.Height() / 2.0)); in ImpCreateBitmapForXDash() 155 aLine.append(basegfx::B2DPoint(aSize.Width(), aSize.Height() / 2.0)); in ImpCreateBitmapForXDash() 203 aVirtualDevice.SetOutputSizePixel(aSize); in ImpCreateBitmapForXDash() 215 aVirtualDevice.DrawCheckered(aNull, aSize, nLen, aW, aG); in ImpCreateBitmapForXDash()
|
/trunk/main/starmath/source/ |
H A D | rect.cxx | 94 DBG_ASSERT(aSize == Size(0, 0), "Sm: ooops..."); in SmRect() 107 aSize(rRect.aSize) in SmRect() 143 aSize = Size(rDev.GetTextWidth(rText), rDev.GetTextHeight()); in BuildRect() 256 : aSize(nWidth, nHeight) in SmRect() 276 { aSize.Width() = GetRight() - nLeft + 1; in SetLeft() 285 aSize.Width() = nRight - GetLeft() + 1; in SetRight() 292 aSize.Height() = nBottom - GetTop() + 1; in SetBottom() 299 { aSize.Height() = GetBottom() - nTop + 1; in SetTop()
|
/trunk/main/oox/source/drawingml/ |
H A D | shape.cxx | 272 awt::Size aSize( pShapeRect ? awt::Size( pShapeRect->Width, pShapeRect->Height ) : maSize ); in createAndInsert() local 274 …awt::Rectangle aShapeRectHmm( aPosition.X / 360, aPosition.Y / 360, aSize.Width / 360, aSize.Heigh… in createAndInsert() 280 if( aSize.Width != 1 || aSize.Height != 1) in createAndInsert() 284 aSize.Width ? aSize.Width / 360.0 : 1.0, in createAndInsert() 285 aSize.Height ? aSize.Height / 360.0 : 1.0 ); in createAndInsert()
|
/trunk/main/sfx2/source/view/ |
H A D | frame.cxx | 801 Size aSize( GetWindow().GetOutputSizePixel() ); in SetToolSpaceBorderPixel_Impl() local 803 if ( aSize.Width() > nDeltaX ) in SetToolSpaceBorderPixel_Impl() 804 aSize.Width() -= nDeltaX; in SetToolSpaceBorderPixel_Impl() 806 aSize.Width() = 0; in SetToolSpaceBorderPixel_Impl() 809 if ( aSize.Height() > nDeltaY ) in SetToolSpaceBorderPixel_Impl() 810 aSize.Height() -= nDeltaY; in SetToolSpaceBorderPixel_Impl() 812 aSize.Height() = 0; in SetToolSpaceBorderPixel_Impl() 820 pF->GetWindow().SetPosSizePixel( aPos, aSize ); in SetToolSpaceBorderPixel_Impl() 826 Size aSize( GetWindow().GetOutputSizePixel() ); in GetTopOuterRectPixel_Impl() local 828 return ( Rectangle ( aPoint, aSize ) ); in GetTopOuterRectPixel_Impl()
|
/trunk/main/vcl/source/gdi/ |
H A D | image.cxx | 574 Size aSize( mpImplData->maImageSize ); in GetAsHorizontalStrip() local 578 aSize.Width() *= nCount; in GetAsHorizontalStrip() 590 Bitmap aPixels( aSize, aTempl.GetBitmap().GetBitCount() ); in GetAsHorizontalStrip() 592 aResult = BitmapEx( aPixels, AlphaMask( aSize ) ); in GetAsHorizontalStrip() 594 aResult = BitmapEx( aPixels, Bitmap( aSize, aTempl.GetMask().GetBitCount() ) ); in GetAsHorizontalStrip() 622 Size aSize( rBitmapEx.GetSizePixel() ); in InsertFromHorizontalStrip() local 625 aSize.Width() /= nItems; in InsertFromHorizontalStrip() 626 ImplInit( nItems, aSize ); in InsertFromHorizontalStrip() 630 BitmapEx aBitmap( rBitmapEx, Point( nIdx * aSize.Width(), 0 ), aSize ); in InsertFromHorizontalStrip()
|
H A D | bitmap4.cxx | 240 const Size aSize( maPrefSize ); in ImplConvolute3() local 245 maPrefSize = aSize; in ImplConvolute3() 371 const Size aSize( maPrefSize ); in ImplMedianFilter() local 376 maPrefSize = aSize; in ImplMedianFilter() 498 const Size aSize( maPrefSize ); in ImplSobelGrey() local 503 maPrefSize = aSize; in ImplSobelGrey() 612 const Size aSize( maPrefSize ); in ImplEmbossGrey() local 617 maPrefSize = aSize; in ImplEmbossGrey() 750 const Size aSize( maPrefSize ); in ImplSepia() local 755 maPrefSize = aSize; in ImplSepia() [all …]
|
/trunk/main/sc/source/ui/navipi/ |
H A D | navipi.cxx | 1271 Size aSize = GetParent()->GetOutputSizePixel(); in ShowList() local 1280 aSize.Height() = nListModeHeight; in ShowList() 1289 nListModeHeight = aSize.Height(); in ShowList() 1291 aSize.Height() = aInitSize.Height(); in ShowList() 1300 pFloat->SetOutputSizePixel( aSize ); in ShowList() 1308 aFloating.Height() = aSize.Height(); in ShowList() 1327 aSize.Height() = nListModeHeight; in ShowScenarios() 1340 nListModeHeight = aSize.Height(); in ShowScenarios() 1342 aSize.Height() = aInitSize.Height(); in ShowScenarios() 1351 pFloat->SetOutputSizePixel( aSize ); in ShowScenarios() [all …]
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | res_Trendline.cxx | 54 Size aSize( rControl.GetSizePixel()); in lcl_AdjustControlSize() local 55 aSize.setWidth( rControl.CalcMinimumSize().Width()); in lcl_AdjustControlSize() 56 rControl.SetSizePixel( aSize ); in lcl_AdjustControlSize() 61 Size aSize( rControl.GetSizePixel()); in lcl_AdjustControlSize() local 63 aSize.setWidth( nRightEdge - aPosition.getX()); in lcl_AdjustControlSize() 64 rControl.SetSizePixel( aSize ); in lcl_AdjustControlSize()
|
H A D | tp_Scale.cxx | 230 Size aSize( aTxtMin.GetSizePixel() ); in AdjustControlPositions() local 231 aSize.Width() = nLabelWidth; in AdjustControlPositions() 232 aTxtMin.SetSizePixel(aSize); in AdjustControlPositions() 233 aTxtMax.SetSizePixel(aSize); in AdjustControlPositions() 234 aTxtMain.SetSizePixel(aSize); in AdjustControlPositions() 235 aTxtHelp.SetSizePixel(aSize); in AdjustControlPositions() 236 aTxtHelpCount.SetSizePixel(aSize); in AdjustControlPositions() 237 aTxtOrigin.SetSizePixel(aSize); in AdjustControlPositions() 238 m_aTxt_TimeResolution.SetSizePixel(aSize); in AdjustControlPositions() 239 m_aTxt_AxisType.SetSizePixel(aSize); in AdjustControlPositions()
|
/trunk/main/wizards/com/sun/star/wizards/document/ |
H A D | Shape.java | 51 protected Size aSize; field in Shape 59 this.aSize = _aSize; in Shape() 69 this.aSize = _aSize; in Shape() 93 if (aSize != null) in createShape() 95 xShape.setSize(aSize); in createShape()
|
/trunk/main/basebmp/test/ |
H A D | bmptest.cxx | 144 const basegfx::B2ISize aSize(10,10); in SetUp() local 145 mpDevice1bpp = createBitmapDevice( aSize, in SetUp() 148 mpDevice32bpp = createBitmapDevice( aSize, in SetUp() 152 mpBmp1bpp = createBitmapDevice( aSize, in SetUp() 155 mpBmp32bpp = createBitmapDevice( aSize, in SetUp()
|
/trunk/main/slideshow/source/engine/ |
H A D | tools.cxx | 557 const ::basegfx::B2DSize aSize( in getSpriteTransformation() local 564 aSize.getX() / in getSpriteTransformation() 568 aSize.getY() / in getSpriteTransformation() 670 ::basegfx::B2DSize aSize; in getShapePosSize() 671 aSize.setX( fabs( pAttr->isWidthValid() ? in getShapePosSize() 674 aSize.setY( fabs( pAttr->isHeightValid() ? in getShapePosSize() 689 return ::basegfx::B2DRectangle( aPos - 0.5*aSize, in getShapePosSize() 690 aPos + 0.5*aSize ); in getShapePosSize()
|
/trunk/main/svx/source/tbxctrls/ |
H A D | colrctrl.cxx | 383 Size aSize = GetOutputSizePixel(); in SetSize() local 384 aSize.Width() -= 4; in SetSize() 385 aSize.Height() -= 4; in SetSize() 388 nCols = (sal_uInt16) ( aSize.Width() / aItemSize.Width() ); in SetSize() 389 nLines = (sal_uInt16) ( (float) aSize.Height() / (float) aItemSize.Height() /*+ 0.35*/ ); in SetSize() 406 nCols = (sal_uInt16) ( ( aSize.Width() - nScrollWidth ) / aItemSize.Width() ); in SetSize() 418 aColorSet.SetPosSizePixel( Point( 2, 2 ), aSize ); in SetSize()
|
/trunk/main/avmedia/source/win/ |
H A D | player.cxx | 509 awt::Size aSize( 0, 0 ); in getPreferredPlayerWindowSize() local 516 aSize.Width = nWidth; in getPreferredPlayerWindowSize() 517 aSize.Height = nHeight; in getPreferredPlayerWindowSize() 520 return aSize; in getPreferredPlayerWindowSize() 531 awt::Size aSize( getPreferredPlayerWindowSize() ); in createPlayerWindow() local 533 if( mpVW && aSize.Width > 0 && aSize.Height > 0 ) in createPlayerWindow()
|
/trunk/main/framework/source/uielement/ |
H A D | toolbarwrapper.cxx | 198 ::Size aSize( pToolBar->CalcWindowSizePixel() ); in initialize() 199 aSize.Width() = aActSize.Width(); in initialize() 200 pToolBar->SetOutputSizePixel( aSize ); in initialize() 213 ::Size aSize( pToolBar->CalcWindowSizePixel() ); in initialize() 214 aSize.Width() = aActSize.Width(); in initialize() 215 pToolBar->SetOutputSizePixel( aSize ); in initialize()
|
/trunk/main/sc/source/ui/view/ |
H A D | reffact.cxx | 79 anInfo.aSize = pWnd->GetSizePixel(); in SFX_IMPL_MODELESSDIALOG() 234 pInfo->aSize.Height()=nScSimpleRefHeight; in ScSimpleRefDlgWrapper() 235 pInfo->aSize.Width()=nScSimpleRefWidth; in ScSimpleRefDlgWrapper() 248 void ScSimpleRefDlgWrapper::SetDefaultPosSize(Point aPos, Size aSize, sal_Bool bSet) in SetDefaultPosSize() argument 255 nScSimpleRefHeight=aSize.Height(); in SetDefaultPosSize() 256 nScSimpleRefWidth=aSize.Width(); in SetDefaultPosSize()
|
/trunk/main/svx/source/dialog/ |
H A D | _bmpmask.cxx | 1164 const Size aSize( aBmpEx.GetSizePixel() ); in Mask() local 1166 if( aSize.Width() && aSize.Height() ) in Mask() 1187 const Size aSize( aBmpEx.GetSizePixel() ); in Mask() local 1189 if( aSize.Width() && aSize.Height() ) in Mask() 1196 Size aSize( aBitmap.GetSizePixel() ); in Mask() local 1198 if ( aSize.Width() && aSize.Height() ) in Mask() 1221 Size aSize( aMtf.GetPrefSize() ); in Mask() local 1222 if ( aSize.Width() && aSize.Height() ) in Mask()
|
/trunk/main/avmedia/source/xine/ |
H A D | player.cxx | 196 awt::Size aSize( 0, 0 ); in getPreferredPlayerWindowSize() local 198 return aSize; in getPreferredPlayerWindowSize() 207 awt::Size aSize( getPreferredPlayerWindowSize() ); in createPlayerWindow() local 209 if( aSize.Width > 0 && aSize.Height > 0 ) in createPlayerWindow()
|
/trunk/main/sw/source/ui/dbui/ |
H A D | mailmergehelper.cxx | 233 Size aSize(GetOutputSizePixel()); in SwAddressPreview() local 235 aScrollSize.Height() = aSize.Height(); in SwAddressPreview() 237 Point aSrollPos(aSize.Width() - aScrollSize.Width(), 0); in SwAddressPreview() 369 Size aSize = GetOutputSizePixel(); in Paint() local 373 aSize.Width() -= aVScrollBar.GetSizePixel().Width(); in Paint() 376 Size aPartSize( aSize.Width()/pImpl->nColumns, aSize.Height()/pImpl->nRows ); in Paint() 411 Size aSize(GetOutputSizePixel()); in MouseButtonDown() local 412 Size aPartSize( aSize.Width()/pImpl->nColumns, aSize.Height()/pImpl->nRows ); in MouseButtonDown()
|
/trunk/main/chart2/source/view/charttypes/ |
H A D | BarChart.cxx | 779 … drawing::Direction3D aSize = aTransformedRightDeepTop - aTransformedLeftBottomFront; in createShapes() local 788 … aSize = drawing::Direction3D(aSize.DirectionY,aSize.DirectionX,aSize.DirectionZ); in createShapes() 791 if( aSize.DirectionX < 0 ) in createShapes() 792 aSize.DirectionX *= -1.0; in createShapes() 793 if( aSize.DirectionZ < 0 ) in createShapes() 794 aSize.DirectionZ *= -1.0; in createShapes() 799 … xPointGroupShape_Shapes, aTransformedBottom, aSize, fTopHeight, nRotateZAngleHundredthDegree in createShapes()
|