/aoo41x/main/vcl/source/control/ |
H A D | morebtn.cxx | 148 Size aSize( pParent->GetSizePixel() ); in Click() local 170 aSize.Height() += nDeltaPixel; in Click() 171 if ( (aPos.Y()+aSize.Height()) > aDeskRect.Bottom() ) in Click() 173 aPos.Y() = aDeskRect.Bottom()-aSize.Height(); in Click() 178 pParent->SetPosSizePixel( aPos, aSize ); in Click() 181 pParent->SetSizePixel( aSize ); in Click() 186 aSize.Height() -= nDeltaPixel; in Click() 187 pParent->SetSizePixel( aSize ); in Click()
|
H A D | tabctrl.cxx | 296 aSize.Width() += aImageSize.Width(); in ImplGetItemSize() 300 aSize.Width() += TAB_TABOFFSET_X*2; in ImplGetItemSize() 301 aSize.Height() += TAB_TABOFFSET_Y*2; in ImplGetItemSize() 315 aSize.Width() += TAB_EXTRASPACE_X; in ImplGetItemSize() 322 if ( aSize.Width()+4 >= nMaxWidth ) in ImplGetItemSize() 334 if ( aSize.Width()+4 >= nMaxWidth ) in ImplGetItemSize() 337 aSize.Width() = 1; in ImplGetItemSize() 347 return aSize; in ImplGetItemSize() 411 Size aSize; in ImplGetTabRect() local 441 nY += aSize.Height(); in ImplGetTabRect() [all …]
|
/aoo41x/main/cui/source/tabpages/ |
H A D | page.cxx | 195 Size aSize = pSize->GetSize(); in IsEqualSize_Impl() local 196 long nDiffW = Abs( rSize.Width () - aSize.Width () ); in IsEqualSize_Impl() 197 long nDiffH = Abs( rSize.Height() - aSize.Height() ); in IsEqualSize_Impl() 831 Size aSize( GetCoreValue( aPaperWidthEdit, eUnit ), in FillItemSet() local 849 Swap( aSize ); in FillItemSet() 1041 Swap( aSize ); in IMPL_LINK() 1109 Size aSize( GetCoreValue( aPaperWidthEdit, eUnit ), in IMPL_LINK() local 1246 aBspWin.SetSize( aSize ); in IMPL_LINK_INLINE_END() 1507 Size aSize( GetCoreValue( aPaperWidthEdit, eUnit ), in DeactivatePage() local 1512 if ( aSize.Width() && ( !pSize || !IsEqualSize_Impl( pSize, aSize ) ) ) in DeactivatePage() [all …]
|
/aoo41x/main/sw/inc/ |
H A D | fmtfsize.hxx | 48 Size aSize; member in SwFmtFrmSize 88 const Size& GetSize() const { return aSize; } in GetSize() 89 void SetSize( const Size &rNew ) { aSize = rNew; } in SetSize() 91 SwTwips GetHeight() const { return aSize.Height(); } in GetHeight() 92 SwTwips GetWidth() const { return aSize.Width(); } in GetWidth() 93 void SetHeight( const SwTwips nNew ) { aSize.Height() = nNew; } in SetHeight() 94 void SetWidth ( const SwTwips nNew ) { aSize.Width() = nNew; } in SetWidth()
|
/aoo41x/main/sd/source/ui/view/ |
H A D | grviewsh.cxx | 99 Size aSize = mpLayerTabBar->GetSizePixel(); in ArrangeGUIElements() local 103 if (aSize.Width() == 0) in ArrangeGUIElements() 106 aSize.Width() = TABCONTROL_INITIAL_SIZE; in ArrangeGUIElements() 108 aSize.Width() = FRound(aFrameSize.Width() in ArrangeGUIElements() 111 aSize.Height() = GetParentWindow()->GetSettings().GetStyleSettings() in ArrangeGUIElements() 114 Point aPos (0, maViewSize.Height() - aSize.Height()); in ArrangeGUIElements() 116 mpLayerTabBar->SetPosSizePixel (aPos, aSize); in ArrangeGUIElements()
|
/aoo41x/main/extensions/source/propctrlr/ |
H A D | browserview.cxx | 121 Size aSize = GetOutputSizePixel(); in Resize() local 122 m_pPropBox->SetSizePixel(aSize); in Resize() 128 Size aSize = GetOutputSizePixel(); in getMinimumSize() local 131 aSize.setHeight( m_pPropBox->getMinimumHeight() ); in getMinimumSize() 132 aSize.setWidth( m_pPropBox->getMinimumWidth() ); in getMinimumSize() 134 return ::com::sun::star::awt::Size( aSize.Width(), aSize.Height() ); in getMinimumSize()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | outdev6.cxx | 818 Size aSize; in ImplDrawBitmapWallpaper() local 876 aSize = aBound.GetSize(); in ImplDrawBitmapWallpaper() 881 aSize = Size( nWidth, nHeight ); in ImplDrawBitmapWallpaper() 899 aBmpEx.Scale( aSize ); in ImplDrawBitmapWallpaper() 909 aPos.X() += ( aSize.Width() - nBmpWidth ) >> 1; in ImplDrawBitmapWallpaper() 913 aPos.X() += ( aSize.Width() - nBmpWidth ); in ImplDrawBitmapWallpaper() 929 aPos.X() += ( aSize.Width() - nBmpWidth ); in ImplDrawBitmapWallpaper() 935 aPos.Y() += ( aSize.Height() - nBmpHeight ); in ImplDrawBitmapWallpaper() 941 aPos.Y() += ( aSize.Height() - nBmpHeight ); in ImplDrawBitmapWallpaper() 947 aPos.X() += ( aSize.Width() - nBmpWidth ); in ImplDrawBitmapWallpaper() [all …]
|
/aoo41x/main/sd/source/ui/dlg/ |
H A D | docprev.cxx | 117 Size aSize = pVDev->GetOutputSize(); in ImpPaint() local 118 Point bPoint(aSize.Width()-2*FRAME, aSize.Height()-2*FRAME ); in ImpPaint() 119 CalcSizeAndPos( pFile, aSize, aPoint ); in ImpPaint() 131 pVDev->DrawRect(Rectangle(aPoint, aSize)); in ImpPaint() 133 pFile->Play( pVDev, aPoint, aSize ); in ImpPaint() 244 const Size aSize( pPage->GetSize() ); in updateViewSettings() local 251 const Size aNewSize( aSize.Width() - pPage->GetLftBorder() - pPage->GetRgtBorder(), in updateViewSettings() 252 aSize.Height() - pPage->GetUppBorder() - pPage->GetLwrBorder() ); in updateViewSettings()
|
/aoo41x/main/uui/source/ |
H A D | masterpasscrtdlg.cxx | 139 Size aSize = aFTInfoText.GetSizePixel(); in CalculateTextHeight() local 140 Size aMinSize = aFTInfoText.CalcMinimumSize( aSize.Width() ); in CalculateTextHeight() 143 if ( aSize.Height() > aMinSize.Height() ) in CalculateTextHeight() 146 nDelta = aSize.Height() - aMinSize.Height(); in CalculateTextHeight() 160 aSize = aFTCautionText.GetSizePixel(); in CalculateTextHeight() 161 aMinSize = aFTCautionText.CalcMinimumSize( aSize.Width() ); in CalculateTextHeight() 163 if ( aSize.Height() > aMinSize.Height() ) in CalculateTextHeight() 166 long nTemp = aSize.Height() - aMinSize.Height(); in CalculateTextHeight()
|
/aoo41x/main/sw/source/filter/rtf/ |
H A D | rtffly.cxx | 1350 aSize.Width() = pPicType->nGoalWidth; in _SetPictureSize() 1371 aSize.Width() = (((long)pPicType->nScalX) * ( aSize.Width() - in _SetPictureSize() 1375 aSize.Height() = (((long)pPicType->nScalY) * ( aSize.Height() - in _SetPictureSize() 1390 if( aSize.Width() > nBoxWidth ) in _SetPictureSize() 1391 aSize.Width() = nBoxWidth; in _SetPictureSize() 1398 if( !aSize.Width() && !aSize.Height() && in _SetPictureSize() 1403 if( aSize.Width() < MINFLY ) in _SetPictureSize() 1404 aSize.Width() = MINFLY; in _SetPictureSize() 1405 if( aSize.Height() < MINFLY) in _SetPictureSize() 1406 aSize.Height() = MINFLY; in _SetPictureSize() [all …]
|
/aoo41x/main/sfx2/source/appl/ |
H A D | newhelp.cxx | 472 aSize.Width() -= 8; in Resize() 473 aSize.Height() -= 8; in Resize() 786 Size aSize = GetSizePixel(); in Resize() local 788 aSize.Width() = nMinWidth; in Resize() 1148 Size aSize = GetSizePixel(); in Resize() local 1422 Size aSize = GetSizePixel(); in Resize() local 1424 aSize.Width() = nMinWidth; in Resize() 1811 aSize.Width() = nMinWidth; in Resize() 1822 aNewSize = aSize; in Resize() 1823 aSize.Width() -= aPnt.X(); in Resize() [all …]
|
/aoo41x/main/svx/source/xoutdev/ |
H A D | xtablend.cxx | 157 const Size aSize(rSize.Width() * 2, rSize.Height()); in CreateBitmapForUI() local 161 const double fBorderDistance(aSize.Height() * 0.1); in CreateBitmapForUI() 163 aLine.append(basegfx::B2DPoint(fBorderDistance, aSize.Height() / 2)); in CreateBitmapForUI() 164 aLine.append(basegfx::B2DPoint(aSize.Width() - fBorderDistance, aSize.Height() / 2)); in CreateBitmapForUI() 174 const double fArrowHeight(aSize.Height() - (2.0 * fBorderDistance)); in CreateBitmapForUI() 192 aVirtualDevice.SetOutputSizePixel(aSize); in CreateBitmapForUI() 204 aVirtualDevice.DrawCheckered(aNull, aSize, nLen, aW, aG); in CreateBitmapForUI()
|
/aoo41x/main/svx/source/dialog/ |
H A D | measctrl.cxx | 55 Size aSize = GetOutputSize(); in SvxXMeasurePreview() local 63 aSize = GetOutputSize(); in SvxXMeasurePreview() 64 Rectangle aRect = Rectangle( Point(), aSize ); in SvxXMeasurePreview() 65 Point aPt1 = Point( aSize.Width() / 5, (long) ( aSize.Height() / 2 ) ); in SvxXMeasurePreview() 66 Point aPt2 = Point( aSize.Width() * 4 / 5, (long) ( aSize.Height() / 2 ) ); in SvxXMeasurePreview()
|
/aoo41x/main/sw/source/filter/html/ |
H A D | htmlplug.cxx | 306 Size aSize( USHRT_MAX, USHRT_MAX ); in InsertEmbed() local 354 if( USHRT_MAX==aSize.Width() ) in InsertEmbed() 357 aSize.Width() = (long)pOption->GetNumber(); in InsertEmbed() 361 if( USHRT_MAX==aSize.Height() ) in InsertEmbed() 402 aSize.Width() = 0; aSize.Height() = 0; in InsertEmbed() 501 Size aSize( USHRT_MAX, USHRT_MAX ); in NewObject() local 551 aSize.Width() = (long)pOption->GetNumber(); in NewObject() 672 Size aSize( USHRT_MAX, USHRT_MAX ); in InsertApplet() local 716 aSize.Width() = (long)pOption->GetNumber(); in InsertApplet() 836 Size aSize( USHRT_MAX, USHRT_MAX ); in InsertFloatingFrame() local [all …]
|
/aoo41x/main/reportdesign/source/ui/report/ |
H A D | StartMarker.cxx | 111 Size aSize = GetOutputSizePixel(); in Paint() local 112 long nSize = aSize.Width(); in Paint() 122 nSize = aSize.Width() - nVRulerWidth/* - m_nCornerSize*/; in Paint() 123 aSize.Width() += nCornerWidth; in Paint() 124 SetClipRegion(Region(PixelToLogic(Rectangle(Point(),Size(nSize,aSize.Height()))))); in Paint() 128 Rectangle aWholeRect(aGcc3WorkaroundTemporary,aSize); in Paint() 143 aGradient.SetSteps(static_cast<sal_uInt16>(aSize.Height())); in Paint() 151 … Size(aSize.Width() - nCornerWidth - nCornerWidth,aSize.Height() - nCornerHeight - nCornerHeight)); in Paint()
|
/aoo41x/main/sw/source/ui/frmdlg/ |
H A D | frmmgr.cxx | 306 Size aSize(aBoundRect.SSize()); in ValidateMetrics() local 307 nTmp = aSize.Width(); in ValidateMetrics() 308 aSize.Width() = aSize.Height(); in ValidateMetrics() 309 aSize.Height() = nTmp; in ValidateMetrics() 310 aBoundRect.Chg( aPos, aSize ); in ValidateMetrics() 609 SwFmtFrmSize aSize( GetFrmSize() ); in SetHeightSizeType() local 610 aSize.SetHeightSizeType( eType ); in SetHeightSizeType() 611 aSet.Put( aSize ); in SetHeightSizeType() 616 SwFmtFrmSize aSize( GetFrmSize() ); in SetSize() local 617 aSize.SetSize(Size(Max(rSize.Width(), long(MINFLY)), Max(rSize.Height(), long(MINFLY)))); in SetSize() [all …]
|
/aoo41x/main/extensions/source/bibliography/ |
H A D | bibbeam.cxx | 138 ::Size aSize = GetOutputSizePixel(); in Resize() 139 m_xGridWin->setPosSize(0, 0, aSize.Width(),aSize.Height(), awt::PosSize::SIZE); in Resize() 180 ::Size aSize = GetOutputSizePixel(); in createGridWin() 181 m_xGridWin->setPosSize(0, 0, aSize.Width(),aSize.Height(), awt::PosSize::POSSIZE); in createGridWin() 256 ::Size aSize=pToolBar->GetSizePixel(); in createToolBar() 257 InsertItem(ID_TOOLBAR, pToolBar, aSize.Height(), 0, 0, SWIB_FIXED ); in createToolBar()
|
/aoo41x/main/qadevOOo/tests/java/ifc/awt/ |
H A D | _XLayoutConstrains.java | 50 Size aSize = oObj.getMinimumSize(); in _getMinimumSize() local 51 tRes.tested("getMinimumSize()", aSize != null); in _getMinimumSize() 59 Size aSize = oObj.getPreferredSize(); in _getPreferredSize() local 60 tRes.tested("getPreferredSize()", aSize != null); in _getPreferredSize() 68 Size aSize = oObj.calcAdjustedSize(new Size(50,50)); in _calcAdjustedSize() local 69 tRes.tested("calcAdjustedSize()", aSize != null); in _calcAdjustedSize()
|
/aoo41x/main/sc/source/core/data/ |
H A D | column2.cxx | 348 long nTemp = aSize.Width(); in GetNeededSize() 349 aSize.Width() = aSize.Height(); in GetNeededSize() 350 aSize.Height() = nTemp; in GetNeededSize() 359 long nHeight = (long)( aSize.Height() * nCosAbs + aSize.Width() * nSinAbs ); in GetNeededSize() 362 nWidth = (long)( aSize.Width() * nCosAbs + aSize.Height() * nSinAbs ); in GetNeededSize() 384 aSize = Size( nWidth, nHeight ); in GetNeededSize() 386 nValue = bWidth ? aSize.Width() : aSize.Height(); in GetNeededSize() 414 if ( aSize.Width() > nDocPixel ) in GetNeededSize() 526 long nHeight = (long)( aSize.Height() * nCosAbs + aSize.Width() * nSinAbs ); in GetNeededSize() 529 nWidth = (long)( aSize.Width() * nCosAbs + aSize.Height() * nSinAbs ); in GetNeededSize() [all …]
|
/aoo41x/main/svx/source/form/ |
H A D | tbxform.cxx | 346 Size aSize( pFixedText->GetTextWidth( aText ), pFixedText->GetTextHeight( ) ); in CreateItemWindow() local 348 aSize.Width() += 6; in CreateItemWindow() 349 pFixedText->SetSizePixel( aSize ); in CreateItemWindow() 380 Size aSize( pFixedText->GetTextWidth( aText ), pFixedText->GetTextHeight( ) ); in CreateItemWindow() local 381 aSize.Width() += 12; in CreateItemWindow() 383 pFixedText->SetSizePixel( aSize ); in CreateItemWindow() 414 Size aSize( pFixedText->GetTextWidth( aSample ), pFixedText->GetTextHeight( ) ); in CreateItemWindow() local 415 aSize.Width() += 12; in CreateItemWindow() 416 pFixedText->SetSizePixel( aSize ); in CreateItemWindow()
|
/aoo41x/main/embeddedobj/source/msole/ |
H A D | olevisual.cxx | 84 void SAL_CALL OleEmbeddedObject::setVisualAreaSize( sal_Int64 nAspect, const awt::Size& aSize ) in setVisualAreaSize() argument 97 xWrappedObject->setVisualAreaSize( nAspect, aSize ); in setVisualAreaSize() 142 awt::Size aSizeToSet = aSize; in setVisualAreaSize() 161 m_aCachedSize = aSize; in setVisualAreaSize() 212 awt::Size aSize; in getVisualAreaSize() local 235 aSize = m_pOleComponent->GetExtent( nAspect ); // will throw an exception in case of failure in getVisualAreaSize() 247 … aSize = m_pOleComponent->GetCachedExtent( nAspect ); // will throw an exception in case of failure in getVisualAreaSize() 260 …aSize = m_pOleComponent->GetReccomendedExtent( nAspect ); // will throw an exception in case of fa… in getVisualAreaSize() 275 m_aCachedSize = aSize; in getVisualAreaSize()
|
/aoo41x/main/chart2/source/controller/chartapiwrapper/ |
H A D | Chart2ModelContact.cxx | 238 awt::Size aSize; in GetLegendSize() local 244 aSize = ToSize( pProvider->getRectangleOfObject( aCID ) ); in GetLegendSize() 246 return aSize; in GetLegendSize() 265 awt::Size aSize; in GetTitleSize() local 270 aSize = ToSize( pProvider->getRectangleOfObject( aCID ) ); in GetTitleSize() 272 return aSize; in GetTitleSize() 291 awt::Size aSize; in GetAxisSize() local 296 aSize = ToSize( pProvider->getRectangleOfObject( aCID ) ); in GetAxisSize() 298 return aSize; in GetAxisSize()
|
/aoo41x/main/cui/source/dialogs/ |
H A D | dlgname.cxx | 65 Size aSize = aFtDescription.GetSizePixel(); in SvxNameDialog() local 67 if ( nTxtWidth > aSize.Width() ) in SvxNameDialog() 69 long nLines = Min( ( nTxtWidth / aSize.Width() + 1 ), MAX_DESCRIPTION_LINES ); in SvxNameDialog() 70 long nHeight = aSize.Height(); in SvxNameDialog() 71 aSize.Height() = nHeight * nLines; in SvxNameDialog() 72 aFtDescription.SetSizePixel( aSize ); in SvxNameDialog() 74 aPnt.Y() += ( aSize.Height() - nHeight ); in SvxNameDialog()
|
/aoo41x/main/sfx2/source/doc/ |
H A D | new.cxx | 129 Size aSize; in ImpPaint() local 133 aSize=Size(nWidth, (sal_uInt16)(nWidth/dRatio)); in ImpPaint() 134 aPoint=Point( 0, (sal_uInt16)((nHeight-aSize.Height())/2)); in ImpPaint() 138 aSize=Size((sal_uInt16)(nHeight*dRatio), nHeight); in ImpPaint() 139 aPoint=Point((sal_uInt16)((nWidth-aSize.Width())/2),0); in ImpPaint() 535 Size aSize(pWin->GetSizePixel()); in AdjustPosSize_Impl() local 537 aSize.Width() += nSizeOffset; in AdjustPosSize_Impl() 538 pWin->SetPosSizePixel(aPos, aSize); in AdjustPosSize_Impl() 615 Size aSize(pAntiImplP->GetOutputSizePixel()); in SfxNewFileDialog_Impl() local 617 aSize.Height() += aTmp.Height(); in SfxNewFileDialog_Impl() [all …]
|
/aoo41x/main/svtools/source/control/ |
H A D | ctrlbox.cxx | 284 Size aSize = GetOutputSizePixel(); in ImpGetLine() local 285 aSize.Width() -= 20; in ImpGetLine() 286 aSize.Width() -= aTxtSize.Width(); in ImpGetLine() 287 aSize.Height() = aTxtSize.Height(); in ImpGetLine() 307 aSize = aVirDev.PixelToLogic( aSize ); in ImpGetLine() 322 if ( nVirHeight > aSize.Height() ) in ImpGetLine() 323 aSize.Height() = nVirHeight; in ImpGetLine() 325 if ( aSize.Width() > 0 ) in ImpGetLine() 842 Size aSize( aOldFont.GetSize() ); in UserDraw() local 843 aSize.Height() += EXTRAFONTSIZE; in UserDraw() [all …]
|