/trunk/main/sd/source/ui/slidesorter/view/ |
H A D | SlsPageObjectPainter.cxx | 181 const Size aSize (mpPageObjectLayouter->GetSize( in NotifyResize() local 184 if ( maSize!=aSize) in NotifyResize() 186 maSize = aSize; in NotifyResize() 503 const Size aSize (mpPageObjectLayouter->GetSize( in CreateBackgroundBitmap() local 511 aBitmapDevice.SetOutputSizePixel(aSize); in CreateBackgroundBitmap() 517 aBitmapDevice.DrawRect(Rectangle(Point(0,0), aSize)); in CreateBackgroundBitmap() 574 return aBitmapDevice.GetBitmap (Point(0,0),aSize); in CreateBackgroundBitmap()
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterWindowManager.cxx | 1055 geometry::RealSize2D aSize (pToolBarView->GetPresenterToolBar()->GetMinimalSize()); in LayoutToolBar() local 1064 PresenterGeometryHelper::Round(aSize.Width), in LayoutToolBar() 1065 PresenterGeometryHelper::Round(aSize.Height)), in LayoutToolBar() 1073 nToolBarWidth = aSize.Width + 20; in LayoutToolBar() 1074 nToolBarHeight = aSize.Height + 10; in LayoutToolBar() 1335 geometry::RealSize2D aSize; in ProvideBackgroundBitmap() local 1337 aSize.Height = mxParentWindow->getPosSize().Height; in ProvideBackgroundBitmap() 1339 aSize.Height = xBitmap->getSize().Height; in ProvideBackgroundBitmap() 1341 aSize.Width = mxParentWindow->getPosSize().Width; in ProvideBackgroundBitmap() 1343 aSize.Width = xBitmap->getSize().Width; in ProvideBackgroundBitmap() [all …]
|
/trunk/main/chart2/source/model/main/ |
H A D | ChartModel.cxx | 294 awt::Size aSize( xShape->getSize() ); in impl_adjustAdditionalShapesPositionAndSize() local 301 aSize.Width = static_cast< long >( aSize.Width * fWidth ); in impl_adjustAdditionalShapesPositionAndSize() 302 aSize.Height = static_cast< long >( aSize.Height * fHeight ); in impl_adjustAdditionalShapesPositionAndSize() 305 xShape->setSize( aSize ); in impl_adjustAdditionalShapesPositionAndSize() 1045 void SAL_CALL ChartModel::setVisualAreaSize( ::sal_Int64 nAspect, const awt::Size& aSize ) in setVisualAreaSize() argument 1055 (m_aVisualAreaSize.Width != aSize.Width || in setVisualAreaSize() 1056 m_aVisualAreaSize.Height != aSize.Height); in setVisualAreaSize() 1061 impl_adjustAdditionalShapesPositionAndSize( aSize ); in setVisualAreaSize() 1064 m_aVisualAreaSize = aSize; in setVisualAreaSize()
|
/trunk/main/extensions/source/propctrlr/ |
H A D | browserpage.cxx | 59 Size aSize( GetOutputSizePixel() ); in Resize() local 60 aSize.Width() -= LAYOUT_BORDER_LEFT + LAYOUT_BORDER_RIGHT; in Resize() 61 aSize.Height() -= LAYOUT_BORDER_TOP + LAYOUT_BORDER_BOTTOM; in Resize() 62 m_aListBox.SetPosSizePixel( Point( LAYOUT_BORDER_LEFT, LAYOUT_BORDER_TOP ), aSize ); in Resize()
|
/trunk/main/vcl/aqua/source/window/ |
H A D | salnsmenu.mm | 186 NSSize aSize = { 0, [pStatBar thickness] }; 193 aSize.width = 2; 197 const int nY = floor( aSize.height - aPixSize.Height() ) / 2; 198 NSRect aImgRect = NSMakeRect( aSize.width, nY, aPixSize.Width(), aPixSize.Height()); 201 aSize.width += 2 + aImgRect.size.width; 205 [self setFrameSize: aSize];
|
/trunk/main/sw/source/ui/fldui/ |
H A D | FldRefTreeListBox.cxx | 60 Size aSize( pItem->GetSize( this, pEntry ) ); in RequestHelp() local 62 if((aPos.X() + aSize.Width()) > GetSizePixel().Width()) in RequestHelp() 63 aSize.Width() = GetSizePixel().Width() - aPos.X(); in RequestHelp() 66 Rectangle aItemRect( aPos, aSize ); in RequestHelp()
|
/trunk/main/sw/source/ui/frmdlg/ |
H A D | wrap.cxx | 462 Size aSize = rFrmSize.GetSize(); in ActivatePage() local 493 aSize.Width() = aSize.Width() * rFrmSize.GetWidthPercent() / 100; in ActivatePage() 496 aSize.Height() = aSize.Height() * rFrmSize.GetHeightPercent() / 100; in ActivatePage() 498 aVal.nWidth = aSize.Width(); in ActivatePage() 499 aVal.nHeight = aSize.Height(); in ActivatePage() 500 aFrmSize = aSize; in ActivatePage()
|
/trunk/main/dbaccess/source/ui/querydesign/ |
H A D | querycontainerwindow.cxx | 258 Size aSize = GetOutputSizePixel(); in showPreview() local 259 Size aBeamer(aSize.Width(),sal_Int32(aSize.Height()*0.33)); in showPreview() 267 m_pSplitter->SetPosSizePixel( Point(0,aBeamer.Height()), Size(aSize.Width(),nFrameHeight) ); in showPreview() 270 …m_pViewSwitch->SetPosSizePixel(aPos,Size(aBeamer.Width(),aSize.Height() - aBeamer.Height()-nFrameH… in showPreview()
|
/trunk/main/svtools/source/edit/ |
H A D | svmedit.cxx | 893 Size aSize = GetOutputSizePixel(); in Command() local 894 aPos = Point( aSize.Width()/2, aSize.Height()/2 ); in Command() 1393 Size aSize = pDev->LogicToPixel( rSize ); in Draw() local 1410 Rectangle aRect( aPos, aSize ); in Draw() 1441 sal_uLong nLines = (sal_uLong) (aSize.Height() / aTextSz.Height()); in Draw() 1450 … ( ( nOffY < 0 ) || ( (nOffY+aTextSz.Height()) > aSize.Height() ) || ( (nOffX+aTextSz.Width()) > … in Draw() 1452 Rectangle aClip( aPos, aSize ); in Draw() 1453 if ( aTextSz.Height() > aSize.Height() ) in Draw() 1454 …aClip.Bottom() += aTextSz.Height() - aSize.Height() + 1; // Damit HP-Drucker nicht 'weg-optimiere… in Draw() 1460 aTE.SetMaxTextWidth( aSize.Width() ); in Draw()
|
/trunk/main/basebmp/test/ |
H A D | masktest.cxx | 117 const basegfx::B2ISize aSize(10,10); in SetUp() local 118 mpDevice1bpp = createBitmapDevice( aSize, in SetUp() 121 mpDevice32bpp = createBitmapDevice( aSize, in SetUp() 125 mpMask = createBitmapDevice( aSize, in SetUp()
|
/trunk/main/svtools/workben/ |
H A D | svdem.cxx | 572 Size aSize = GetSizePixel(); in Split() local 579 SetSizePixel( Size( nWidth, aSize.Height() ) ); in Split() 1103 Size aSize = aBar.GetSizePixel(); in Resize() local 1104 aBar.SetPosSizePixel( Point( 0, aWinSize.Height()-aSize.Height() ), in Resize() 1105 Size( aWinSize.Width(), aSize.Height() ) ); in Resize() 1107 Size aBarSize = aSize; in Resize() 1109 aSize = aHeadBar.GetSizePixel(); in Resize() 1110 aHeadBar.SetSizePixel( Size( aWinSize.Width(), aSize.Height() ) ); in Resize() 1111 aHeadBar.SetDragSize( aWinSize.Height() - aSize.Height() - aPos.Y() - aBarSize.Height() ); in Resize() 1114 aSize = aPrgsBar.GetSizePixel(); in Resize() [all …]
|
/trunk/main/sw/source/core/txtnode/ |
H A D | swfont.cxx | 249 aSub[SW_LATIN].aSize = aSub[SW_LATIN].Font::GetSize(); in SetDiffFnt() 250 Size aTmpSize = aSub[SW_LATIN].aSize; in SetDiffFnt() 279 aSub[SW_CJK].aSize = aSub[SW_CJK].Font::GetSize(); in SetDiffFnt() 280 Size aTmpSize = aSub[SW_CJK].aSize; in SetDiffFnt() 315 aSub[SW_CTL].aSize = aSub[SW_CTL].Font::GetSize(); in SetDiffFnt() 316 Size aTmpSize = aSub[SW_CTL].aSize; in SetDiffFnt() 480 Size aTmpSize = aSub[SW_LATIN].aSize; in SwFont() 496 Size aTmpSize = aSub[SW_CJK].aSize; in SwFont() 516 Size aTmpSize = aSub[SW_CTL].aSize; in SwFont() 578 aSize = rFont.aSize; in operator =()
|
/trunk/main/odk/examples/DevelopersGuide/Text/ |
H A D | TextDocuments.java | 815 Size aSize = new Size(); in TextFrameExample() local 816 aSize.Height = 400; in TextFrameExample() 817 aSize.Width = 15000; in TextFrameExample() 818 xShape.setSize(aSize); in TextFrameExample() 1335 Size aSize = new Size(); in DrawPageExample() local 1336 aSize.Height = 4000; in DrawPageExample() 1337 aSize.Width = 10000; in DrawPageExample() 1338 xRect.setSize(aSize); in DrawPageExample() 1339 aSize.Height = 3000; in DrawPageExample() 1340 aSize.Width = 6000; in DrawPageExample() [all …]
|
/trunk/main/accessibility/workben/org/openoffice/accessibility/awb/canvas/ |
H A D | MouseObserver.java | 110 Dimension aSize = aShape.GetSize(); in FindCanvasShapeUnderMouse() local 111 if (aSize.getWidth()<aSmallestSize.getWidth() in FindCanvasShapeUnderMouse() 112 || aSize.getHeight()<aSmallestSize.getHeight()) in FindCanvasShapeUnderMouse() 114 aSmallestSize = aSize; in FindCanvasShapeUnderMouse()
|
/trunk/main/sw/source/core/view/ |
H A D | viewsh.cxx | 451 Size aSize( VisArea().SSize() ); in ImplUnlockPaint() local 452 aSize.Width() += 20; in ImplUnlockPaint() 453 aSize.Height()+= 20; in ImplUnlockPaint() 454 if( pVout->SetOutputSize( aSize ) ) in ImplUnlockPaint() 472 VisArea().Pos(), aSize, *pVout ); in ImplUnlockPaint() 1364 aSize.Width() = Min(aSize.Width(), pRect->GetWidth()+2*aPixSz.Width()); in SmoothScroll() 1365 if ( pVout->SetOutputSize( aSize ) ) in SmoothScroll() 1371 aRect.Height( aSize.Height() ); in SmoothScroll() 2645 Size aSize; in GetPageSize() local 2658 aSize = pPage->Frm().SSize(); in GetPageSize() [all …]
|
/trunk/main/framework/source/layoutmanager/ |
H A D | helpers.cxx | 53 bool hasEmptySize( const:: Size& aSize ) in hasEmptySize() argument 55 return ( aSize.Width() == 0 ) && ( aSize.Height() == 0 ); in hasEmptySize() 172 ::Size aSize = ((ToolBox*)pWindow)->CalcWindowSizePixel( 1 ); in lcl_checkUIElement() 173 _rPosSize.Width = aSize.Width(); in lcl_checkUIElement() 174 _rPosSize.Height = aSize.Height(); in lcl_checkUIElement()
|
/trunk/main/sfx2/source/doc/ |
H A D | printhelper.cxx | 86 awt::Size impl_Size_Object2Struct( const Size& aSize ) in impl_Size_Object2Struct() argument 89 aReturnValue.Width = aSize.Width() ; in impl_Size_Object2Struct() 90 aReturnValue.Height = aSize.Height() ; in impl_Size_Object2Struct() 94 Size impl_Size_Struct2Object( const awt::Size& aSize ) in impl_Size_Struct2Object() argument 97 aReturnValue.Width() = aSize.Width ; in impl_Size_Struct2Object() 98 aReturnValue.Height() = aSize.Height ; in impl_Size_Struct2Object() 298 awt::Size aSize = impl_Size_Object2Struct(pPrinter->GetPaperSize() ); in getPrinter() local 299 aPrinter.getArray()[3].Value <<= aSize; in getPrinter()
|
/trunk/main/sd/source/ui/app/ |
H A D | sdmod1.cxx | 801 Size aSize(pPrinter->GetPaperSize()); in ChangeMedium() local 802 Paper ePaper = SvxPaperInfo::GetSvxPaper( aSize, MAP_100TH_MM, sal_True); in ChangeMedium() 807 aSize = SvxPaperInfo::GetPaperSize(ePaper, MAP_100TH_MM); in ChangeMedium() 810 if (aSize.Height() > aSize.Width()) in ChangeMedium() 813 aNewSize.Width() = aSize.Height(); in ChangeMedium() 814 aNewSize.Height() = aSize.Width(); in ChangeMedium() 818 aNewSize = aSize; in ChangeMedium()
|
/trunk/main/sw/source/ui/misc/ |
H A D | outline.cxx | 1081 Size aSize(PixelToLogic(GetOutputSizePixel())); in Paint() local 1082 Rectangle aRect(Point(0,0), aSize); in Paint() 1086 pVDev->SetOutputSize( aSize ); in Paint() 1098 nWidthRelation = sal_uInt16 (nPageWidth / aSize.Width()); in Paint() 1108 sal_uInt16 nXStep = sal_uInt16(aSize.Width() / (3 * MAXLEVEL)); in Paint() 1112 sal_uInt16 nYStep = sal_uInt16((aSize.Height() - 6)/ MAXLEVEL); in Paint() 1248 … Rectangle aRect1(Point(nTextXPos, nYStart + nFontHeight / 2), Size(aSize.Width() / 2, 2)); in Paint() 1252 …Rectangle aRect2(Point(nXStart, nYStart + nLineHeight + nFontHeight / 2 ), Size(aSize.Width() / 2,… in Paint() 1330 DrawOutDev( Point(0,0), aSize, in Paint() 1331 Point(0,0), aSize, in Paint()
|
/trunk/main/svtools/source/contnr/ |
H A D | svtabbx.cxx | 156 Size aSize( *pTabs, 0 ); in SetTabs() local 157 aSize = LogicToLogic( aSize, &aMMSource, &aMMDest ); in SetTabs() 158 long nNewTab = aSize.Width(); in SetTabs() 175 Size aSize( nValue, 0 ); in SetTab() local 176 aSize = LogicToLogic( aSize, &aMMSource, &aMMDest ); in SetTab() 177 nValue = aSize.Width(); in SetTab() 954 Size aSize = aItemRect.GetSize(); in GetFieldRectPixelAbs() local 955 aRect = Rectangle( aTopLeft, aSize ); in GetFieldRectPixelAbs()
|
/trunk/main/sw/source/core/text/ |
H A D | porfld.cxx | 484 SwPosSize aSize( SwExpandPortion::GetTxtSize( rInf ) ); in GetTxtSize() local 485 return aSize; in GetTxtSize() 945 Size aSize( nTmpWidth, GetGrfHeight() - 2 * GRFNUM_SECURE ); in Paint() local 975 aSize = Size( nTmpH, nTmpH ); in Paint() 978 SwRect aTmp( aPos, aSize ); in Paint() 1012 (OutputDevice*)rInf.GetOut(), aPos, aSize, nId ); in Paint() 1276 Size aSize = aTmpFont._GetTxtSize( aDrawInf ); in Format() local 1278 aPos[ i ] = (sal_uInt16)aSize.Width(); in Format() 1292 if( aSize.Height() - nAsc > nMaxDescent ) in Format() 1293 nMaxDescent = static_cast<sal_uInt16>(aSize.Height() - nAsc); in Format()
|
/trunk/main/sd/source/ui/dlg/ |
H A D | animobjs.cxx | 108 Size aSize = GetOutputSize(); in Paint() local 113 if( aBmpSize.Width() < aSize.Width() ) in Paint() 114 aPt.X() = ( aSize.Width() - aBmpSize.Width() ) / 2; in Paint() 115 if( aBmpSize.Height() < aSize.Height() ) in Paint() 116 aPt.Y() = ( aSize.Height() - aBmpSize.Height() ) / 2; in Paint() 220 aSize = GetOutputSizePixel(); in AnimationWindow() 221 SetMinOutputSizePixel( aSize ); in AnimationWindow() 757 aDiffSize.Width() = aWinSize.Width() - aSize.Width(); in Resize() 758 aDiffSize.Height() = aWinSize.Height() - aSize.Height(); in Resize() 843 aSize = aWinSize; in Resize()
|
/trunk/main/sw/source/ui/wrtsh/ |
H A D | wrtsh1.cxx | 468 Size aSize = xObj.GetSize( &aMapMode ); in InsertObject() local 469 aArea.Width( aSize.Width() ); in InsertObject() 470 aArea.Height( aSize.Height() ); in InsertObject() 713 … Size aSize( OutputDevice::LogicToLogic( aRect.SVRect(), MAP_TWIP, aUnit ).GetSize() ); in CalcAndSetScale() local 715 aSz.Width = aSize.Width(); in CalcAndSetScale() 716 aSz.Height = aSize.Height(); in CalcAndSetScale() 780 awt::Size aSize; in CalcAndSetScale() local 783 aSize = xObj->getVisualAreaSize( nAspect ); in CalcAndSetScale() 797 Size _aVisArea( aSize.Width, aSize.Height ); in CalcAndSetScale()
|
/trunk/main/svx/source/sdr/contact/ |
H A D | viewcontactofsdrmediaobj.cxx | 89 …Size aSize(pCandidate ? static_cast< ViewObjectContactOfSdrMediaObj* >(pCandidate)->getPreferredSi… in getPreferredSize() local 91 if(0 != aSize.getWidth() || 0 != aSize.getHeight()) in getPreferredSize() 93 return aSize; in getPreferredSize()
|
/trunk/main/vcl/source/gdi/ |
H A D | outdev3.cxx | 3011 if ( !aSize.Height() ) in ImplNewFont() 3023 aSize.Width() = 1; in ImplNewFont() 7260 aSize.Height() *= 10; in GetDevFontSize() 7262 aSize = PixelToLogic( aSize, aMap ); in GetDevFontSize() 7263 aSize.Height() += 5; in GetDevFontSize() 7264 aSize.Height() /= 10; in GetDevFontSize() 7271 aSize = LogicToPixel( aSize, aMap ); in GetDevFontSize() 7272 aSize = PixelToLogic( aSize ); in GetDevFontSize() 7273 aSize.Height() += 5; in GetDevFontSize() 7276 return aSize; in GetDevFontSize() [all …]
|