/trunk/main/sdext/source/minimizer/ |
H A D | graphiccollector.cxx | 166 awt::Size aSize( 0, 0 ); in ImpAddFillBitmapEntity() local 168 && ( rxPropertySet->getPropertyValue( TKGet( TK_FillBitmapSizeX ) ) >>= aSize.Width ) in ImpAddFillBitmapEntity() 169 && ( rxPropertySet->getPropertyValue( TKGet( TK_FillBitmapSizeY ) ) >>= aSize.Height ) ) in ImpAddFillBitmapEntity() 173 if ( !aSize.Width || !aSize.Height ) in ImpAddFillBitmapEntity() 180 aLogicalSize = aSize; in ImpAddFillBitmapEntity() 184 …ic_int_cast< sal_Int32 >( ( static_cast< double >( aLogicalSize.Width ) * aSize.Width ) / -100.0 ); in ImpAddFillBitmapEntity() 185 …c_int_cast< sal_Int32 >( ( static_cast< double >( aLogicalSize.Height ) * aSize.Height ) / -100.0 … in ImpAddFillBitmapEntity()
|
/trunk/main/canvas/source/cairo/ |
H A D | cairo_spritehelper.cxx | 107 basegfx::B2DVector aSize = getSizePixel(); in redraw() local 151 OSL_TRACE ("aSize %f x %f position: %f,%f", aSize.getX(), aSize.getY(), fX, fY ); in redraw() 152 cairo_rectangle( pCairo.get(), 0, 0, floor( aSize.getX() ), floor( aSize.getY() ) ); in redraw()
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | res_TextSeparator.cxx | 78 Size aSize( rWindow.GetSizePixel() ); in PositionBelowControl() local 79 aPoint.Y() += aSize.Height(); in PositionBelowControl() 108 Size aSize( m_aLB_Separator.GetSizePixel() ); in AlignListBoxWidthAndXPos() local 109 aSize.Width() = nWantedRightBorder-m_aLB_Separator.GetPosPixel().X(); in AlignListBoxWidthAndXPos() 110 m_aLB_Separator.SetSizePixel(aSize); in AlignListBoxWidthAndXPos()
|
H A D | res_DataLabel.cxx | 185 Size aSize( m_aFT_LabelPlacement.GetSizePixel() ); in DataLabelResources() local 186 aSize.setWidth( m_aFT_LabelPlacement.CalcMinimumSize().getWidth() ); in DataLabelResources() 187 m_aFT_LabelPlacement.SetSizePixel(aSize); in DataLabelResources() 189 …long nWantedMinLeftBorder = m_aFT_LabelPlacement.GetPosPixel().X() + aSize.getWidth () + aControlD… in DataLabelResources() 195 aSize = m_aLB_LabelPlacement.GetSizePixel(); in DataLabelResources() 196 aSize.setWidth( m_aSeparatorResources.GetCurrentListBoxSize().getWidth() ); in DataLabelResources() 197 m_aLB_LabelPlacement.SetSizePixel(aSize); in DataLabelResources()
|
/trunk/main/svx/inc/svx/ |
H A D | pagectrl.hxx | 39 Size aSize; member in SvxPageWindow 102 void SetWidth(long nW) { aSize.Width() = nW; } in SetWidth() 103 void SetHeight(long nH) { aSize.Height() = nH; } in SetHeight() 105 void SetSize(const Size& rSz) { aSize = rSz; } in SetSize() 106 const Size& GetSize() const { return aSize; } in GetSize()
|
/trunk/main/sc/source/ui/cctrl/ |
H A D | cbuttonw.cxx | 134 Size aSize = aPixRect.GetSize(); in ImpDrawArrow() local 137 aSize3.Width() = aSize.Width() >> 1; in ImpDrawArrow() 138 aSize3.Height() = aSize.Height() >> 1; in ImpDrawArrow() 141 aSize4.Width() = aSize.Width() >> 2; in ImpDrawArrow() 142 aSize4.Height() = aSize.Height() >> 2; in ImpDrawArrow()
|
/trunk/main/sw/source/core/layout/ |
H A D | virtoutp.cxx | 143 if( rNew.Width() <= aSize.Width() ) in DoesFit() 156 if( rNew.Width() > aSize.Width() ) in DoesFit() 158 aSize.Width() = rNew.Width(); in DoesFit() 159 if( !pVirDev->SetOutputSizePixel( aSize ) ) in DoesFit() 163 aSize.Width() = 0; in DoesFit()
|
/trunk/main/cui/source/options/ |
H A D | treeopt.cxx | 1258 aSize.Width() = aSize.Width() - 4; in IMPL_LINK() 1259 aSize.Height() = aSize.Height() - 4; in IMPL_LINK() 1390 aSize.Width() = aSize.Width() - 4; in IMPL_LINK() 1391 aSize.Height() = aSize.Height() - 4; in IMPL_LINK() 2229 Size aSize( GetSizePixel() ); in ResizeTreeLB() local 2230 aSize.Width() += nDelta; in ResizeTreeLB() 2231 SetSizePixel( aSize ); in ResizeTreeLB() 2234 aSize = aTreeLB.GetSizePixel(); in ResizeTreeLB() 2235 aSize.Width() += nDelta; in ResizeTreeLB() 2236 aTreeLB.SetSizePixel( aSize ); in ResizeTreeLB() [all …]
|
H A D | optimprove.cxx | 108 Size aSize = GetOutputSizePixel(); in SvxImprovementPage() local 109 aSize.Width() -= nWDelta; in SvxImprovementPage() 110 aSize.Height() = m_aDataFL.GetPosPixel().Y(); in SvxImprovementPage() 111 aSize.Height() += nHDelta; in SvxImprovementPage() 112 SetSizePixel( aSize ); in SvxImprovementPage()
|
/trunk/main/fpicker/source/office/ |
H A D | iodlg.cxx | 660 _pImp->_pBtnUp->SetSizePixel( aSize ); in Init_Impl() 685 aPos.X() += aSize.Width(); in Init_Impl() 688 aPos.X() += aSize.Width(); in Init_Impl() 691 nDelta = aSize.Height(); in Init_Impl() 724 aPos.Y() += aSize.Height(); in Init_Impl() 756 aSize = GetSizePixel(); in Init_Impl() 757 aSize.Height() += nYOffset; in Init_Impl() 758 SetSizePixel( aSize ); in Init_Impl() 3242 Size aSize( 0, 10 ); in AddControl() local 3252 aSize.Width() = aDefSiz.Width(); in AddControl() [all …]
|
/trunk/main/sd/source/ui/docshell/ |
H A D | sdclient.cxx | 121 Size aSize = aObjRect.GetSize(); in RequestNewObjectArea() local 126 aPos.X() = Min(aPos.X(), aWorkAreaBR.X()-aSize.Width()); in RequestNewObjectArea() 128 aPos.Y() = Min(aPos.Y(), aWorkAreaBR.Y()-aSize.Height()); in RequestNewObjectArea() 207 Size aSize = pSdrOle2Obj->GetOrigObjSize( &aMap100 ); in ViewChanged() local 209 aVisArea.SetSize( aSize ); in ViewChanged()
|
/trunk/main/accessibility/workben/org/openoffice/accessibility/awb/view/ |
H A D | ComponentView.java | 105 com.sun.star.awt.Size aSize = mxComponent.getSize(); in Update() local 107 aSize.Width + ", " + aSize.Height); in Update() 130 if (aBBox.Width!=aSize.Width || aBBox.Height!=aSize.Height) in Update()
|
/trunk/main/cui/source/customize/ |
H A D | macropg.cxx | 182 Size aSize( maHeaderBar.CalcWindowSizePixel() ); in ConnectElements() local 184 aSize.Width() = aCtrlSize.Width(); in ConnectElements() 185 maHeaderBar.SetPosSizePixel( aPnt, aSize ); in ConnectElements() 188 aPnt.Y() += aSize.Height(); in ConnectElements() 189 aSize.Height() = aCtrlSize.Height() - aSize.Height(); in ConnectElements() 190 maListBox.SetPosSizePixel( aPnt, aSize ); in ConnectElements() 761 Size aSize( nTabs[ 2 ], 0 ); in InitAndSetHandler() local 762 …rHeaderBar.InsertItem( ITEMID_EVENT, *mpImpl->pStrEvent, LogicToPixel( aSize, MapMode( MAP_APPFONT… in InitAndSetHandler() 763 aSize.Width() = 1764; // don't know what, so 42^2 is best to use... in InitAndSetHandler() 764 …rHeaderBar.InsertItem( ITMEID_ASSMACRO, *mpImpl->pAssignedMacro, LogicToPixel( aSize, MapMode( MAP… in InitAndSetHandler()
|
/trunk/main/extensions/source/bibliography/ |
H A D | general.cxx | 616 ::Size aSize(8, 8); in AdjustScrollbars() 617 aSize = LogicToPixel(aSize, MapMode(MAP_APPFONT)); in AdjustScrollbars() 618 ::Size aScrollSize(aOutSize.Width() - aSize.Height(), aSize.Height()); in AdjustScrollbars() 619 ::Point aScrollPos(0, aOutSize.Height() - aSize.Height()); in AdjustScrollbars() 622 aScrollPos.X() = aOutSize.Width() - aSize.Width(); in AdjustScrollbars() 624 aScrollSize.Width() = aSize.Width(); in AdjustScrollbars() 625 aScrollSize.Height() = aOutSize.Height() - aSize.Height(); in AdjustScrollbars() 630 aControlParentWinSz.Height() -= aSize.Height(); in AdjustScrollbars() 632 aControlParentWinSz.Width() -= aSize.Width(); in AdjustScrollbars()
|
/trunk/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 …]
|
/trunk/main/sw/source/core/inc/ |
H A D | swfont.hxx | 53 Size aSize; // Fremde kriegen nur diese Size zu sehen member in SwSubFont 58 inline SwSubFont() : aSize(0,0) in SwSubFont() 195 { return aSub[nWhich].aSize; } in GetSize() 684 aSize = rSize; in SetSize() 686 Font::SetSize( aSize ); in SetSize() 690 (long) aSize.Width() * GetPropr() / 100L, in SetSize() 691 (long) aSize.Height() * GetPropr() / 100L ) ); in SetSize() 698 if( aSub[nWhich].aSize != rSize ) in SetSize() 719 Font::SetSize( Size( (long) aSize.Width() * nNewPropr / 100L, in SetProportion() 720 (long) aSize.Height() * nNewPropr / 100L ) ); in SetProportion()
|
/trunk/main/sd/source/ui/presenter/ |
H A D | PresenterTextView.cxx | 106 void SetSize (const Size aSize); 239 awt::Size aSize; in SetPropertyValue() local 240 if (rValue >>= aSize) in SetPropertyValue() 241 mpImplementation->SetSize(Size(aSize.Width,aSize.Height)); in SetPropertyValue() 436 void PresenterTextView::Implementation::SetSize (const Size aSize) in SetSize() argument 440 maSize = aSize; in SetSize()
|
/trunk/main/vcl/source/window/ |
H A D | dockingarea.cxx | 181 Size aSize = pChild->GetSizePixel(); in Paint() local 182 Rectangle aRect( aPos, aSize ); in Paint() 204 Size aSize = pChild->GetSizePixel(); in Paint() local 206 ranges[ aPos.Y() ] = aSize.Height(); in Paint() 208 ranges[ aPos.X() ] = aSize.Width(); in Paint()
|
/trunk/main/offapi/com/sun/star/form/ |
H A D | XFormsSupplier.idl | 61 Dim aSize as new com.sun.star.awt.Size 62 aSize.Width = 2500 63 aSize.Height = 5000 64 xShape.Size = aSize 65 Erase aSize
|
/trunk/main/xmlsecurity/source/dialogs/ |
H A D | resourcemanager.cxx | 392 Size aSize( _rCtrl.GetSizePixel() ); in ShrinkToFitWidth() local 394 aSize.Width() = nWidth; in ShrinkToFitWidth() 395 _rCtrl.SetSizePixel( aSize ); in ShrinkToFitWidth() 402 Size aSize( _rImage.GetSizePixel() ); in AlignAfterImage() local 404 n += aSize.Width(); in AlignAfterImage() 408 n += aSize.Height() / 2; // y-position is in the middle of the image in AlignAfterImage()
|
/trunk/main/chart2/workbench/addin/ |
H A D | sampleaddin.cxx | 126 awt::Size aSize = xAxis->getSize(); in getLogicalPosition() local 127 sal_Int32 nLength = bVertical? aSize.Height: aSize.Width; in getLogicalPosition() 360 awt::Size aSize = xXAxisShape->getSize(); in refresh() local 365 aEnd.X += aSize.Width; in refresh() 383 aPos.X += ( aSize.Width - mxMyRedLine->getPosition().X ) / 2; in refresh() 481 void SAL_CALL SampleAddIn::setSize( const awt::Size& aSize ) in setSize() argument 488 xShape->setSize( aSize ); in setSize()
|
/trunk/main/vcl/source/control/ |
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()
|
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 …]
|
/trunk/main/sd/source/ui/slidesorter/cache/ |
H A D | SlsBitmapFactory.cxx | 71 Size aSize (rPixelSize); in CreateBitmap() local 74 aSize.Width() *= gnSuperSampleFactor; in CreateBitmap() 75 aSize.Height() *= gnSuperSampleFactor; in CreateBitmap() 80 aSize, in CreateBitmap()
|
/trunk/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()
|