/aoo41x/main/svx/source/dialog/ |
H A D | svxbmpnumvalueset.cxx | 188 Size aSize = aFont.GetSize(); in UserDraw() local 191 aSize.Height() = nRectHeight/6; in UserDraw() 192 aRuleFont.SetSize(aSize); in UserDraw() 199 aSize.Height() = nRectHeight/8; in UserDraw() 203 aFont.SetSize( aSize ); in UserDraw() 534 Size aSize(nRectHeight/8, nRectHeight/8); in UserDraw() local 549 aGraphic.Draw( pDev, aPos, aSize ); in UserDraw()
|
/aoo41x/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()
|
/aoo41x/main/sdext/source/presenter/ |
H A D | PresenterSlideSorter.cxx | 1019 geometry::IntegerSize2D aSize (mpLayout->maPreviewSize); in PaintPreview() local 1065 aSize.Width, in PaintPreview() 1066 aSize.Height); in PaintPreview() 1079 aSize = xPreview->getSize(); in PaintPreview() 1080 if (aSize.Width > 0 && aSize.Height > 0) in PaintPreview() 1090 awt::Rectangle(-1, -1, aSize.Width+2, aSize.Height+2), in PaintPreview() 1096 const geometry::RealRectangle2D aBox (0, 0, aSize.Width, aSize.Height); in PaintPreview() 1777 geometry::IntegerSize2D aSize (mxBitmap->getSize()); in Paint() local 2283 geometry::IntegerSize2D aSize (rxBitmap->getSize()); in PaintBitmapTiled() local 2303 for (double nY=nY0; nY<nY1; nY+=aSize.Height) in PaintBitmapTiled() [all …]
|
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 …]
|
/aoo41x/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];
|
/aoo41x/main/vcl/source/control/ |
H A D | lstbox.cxx | 407 Size aSize = pDev->LogicToPixel( rSize ); in Draw() local 423 Rectangle aRect( aPos, aSize ); in Draw() 455 Rectangle aTextRect( aPos, aSize ); in Draw() 473 long nOffY = (aSize.Height()-nTextHeight) / 2; in Draw() 477 ((nOffY+nTextHeight) > aSize.Height()) || in Draw() 478 ((nOffX+nTextWidth) > aSize.Width()) ) in Draw() 480 Rectangle aClip( aPos, aSize ); in Draw() 481 if ( nTextHeight > aSize.Height() ) in Draw() 491 sal_uInt16 nLines = (sal_uInt16)(aSize.Height() / nTextHeight); in Draw() 492 Rectangle aClip( aPos, aSize ); in Draw() [all …]
|
H A D | scrbar.cxx | 336 const Size aSize = GetOutputSizePixel(); in ImplCalc() local 342 const Rectangle aControlRegion( Point(0,0), aSize ); in ImplCalc() 359 Size aBtnSize( aSize.Height(), aSize.Height() ); in ImplCalc() 361 maBtn2Rect.Left() = aSize.Width()-aSize.Height(); in ImplCalc() 415 const Size aBtnSize( aSize.Width(), aSize.Width() ); in ImplCalc() 417 maBtn2Rect.Top() = aSize.Height()-aSize.Width(); in ImplCalc() 507 Size aSize = pDev->LogicToPixel( rSize ); in Draw() local 508 Rectangle aRect( aPos, aSize ); in Draw()
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/main/basebmp/test/ |
H A D | masktest.cxx | 123 const basegfx::B2ISize aSize(10,10); in setUp() local 124 mpDevice1bpp = createBitmapDevice( aSize, in setUp() 127 mpDevice32bpp = createBitmapDevice( aSize, in setUp() 131 mpMask = createBitmapDevice( aSize, in setUp()
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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 …]
|
/aoo41x/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 …]
|
/aoo41x/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 =()
|
/aoo41x/main/sd/source/ui/app/ |
H A D | sdmod1.cxx | 805 Size aSize(pPrinter->GetPaperSize()); in ChangeMedium() local 806 Paper ePaper = SvxPaperInfo::GetSvxPaper( aSize, MAP_100TH_MM, sal_True); in ChangeMedium() 811 aSize = SvxPaperInfo::GetPaperSize(ePaper, MAP_100TH_MM); in ChangeMedium() 814 if (aSize.Height() > aSize.Width()) in ChangeMedium() 817 aNewSize.Width() = aSize.Height(); in ChangeMedium() 818 aNewSize.Height() = aSize.Width(); in ChangeMedium() 822 aNewSize = aSize; in ChangeMedium()
|
/aoo41x/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()
|
/aoo41x/main/accessibility/inc/accessibility/helper/ |
H A D | listboxhelper.hxx | 72 Size aSize = aTemp.GetSize(); in GetBoundingRectangle() local 73 aSize.Height() /= m_aComboListBox.GetDisplayLineCount(); in GetBoundingRectangle() 75 aTopLeft.Y() += aSize.Height() * ( nItem - m_aComboListBox.GetTopEntry() ); in GetBoundingRectangle() 76 aRect = Rectangle( aTopLeft, aSize ); in GetBoundingRectangle()
|
/aoo41x/main/writerfilter/source/dmapper/ |
H A D | FormControlHelper.cxx | 51 awt::Size aSize; member 191 m_pImpl->aSize.Width = nCheckBoxHeight; in createCheckbox() 192 m_pImpl->aSize.Height = m_pImpl->aSize.Width; in createCheckbox() 276 xShape->setSize(m_pImpl->aSize); in insertControl()
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/main/sw/source/core/text/ |
H A D | porfld.cxx | 485 SwPosSize aSize( SwExpandPortion::GetTxtSize( rInf ) ); in GetTxtSize() local 486 return aSize; in GetTxtSize() 946 Size aSize( nTmpWidth, GetGrfHeight() - 2 * GRFNUM_SECURE ); in Paint() local 976 aSize = Size( nTmpH, nTmpH ); in Paint() 979 SwRect aTmp( aPos, aSize ); in Paint() 1013 (OutputDevice*)rInf.GetOut(), aPos, aSize, nId ); in Paint() 1275 Size aSize = aTmpFont._GetTxtSize( aDrawInf ); in Format() local 1277 aPos[ i ] = (sal_uInt16)aSize.Width(); in Format() 1291 if( aSize.Height() - nAsc > nMaxDescent ) in Format() 1292 nMaxDescent = static_cast<sal_uInt16>(aSize.Height() - nAsc); in Format()
|