Home
last modified time | relevance | path

Searched refs:aSize (Results 76 – 100 of 799) sorted by relevance

12345678910>>...32

/trunk/main/vcl/source/gdi/
H A Doutdev6.cxx818 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 …]
/trunk/main/sc/source/filter/excel/
H A Dxlpage.cxx205 Size aSize; in GetScPaperSize() local
207 aSize = Size( pEntry->mnWidth, pEntry->mnHeight ); in GetScPaperSize()
209 aSize = SvxPaperInfo::GetPaperSize( pEntry->mePaper ); in GetScPaperSize()
212 if( !aSize.Width() || !aSize.Height() ) in GetScPaperSize()
213 aSize = SvxPaperInfo::GetDefaultPaperSize(); in GetScPaperSize()
216 ::std::swap( aSize.Width(), aSize.Height() ); in GetScPaperSize()
218 return aSize; in GetScPaperSize()
/trunk/main/sw/source/filter/rtf/
H A Drtffly.cxx1345 aSize.Width() = pPicType->nGoalWidth; in _SetPictureSize()
1366 aSize.Width() = (((long)pPicType->nScalX) * ( aSize.Width() - in _SetPictureSize()
1370 aSize.Height() = (((long)pPicType->nScalY) * ( aSize.Height() - in _SetPictureSize()
1385 if( aSize.Width() > nBoxWidth ) in _SetPictureSize()
1386 aSize.Width() = nBoxWidth; in _SetPictureSize()
1393 if( !aSize.Width() && !aSize.Height() && in _SetPictureSize()
1398 if( aSize.Width() < MINFLY ) in _SetPictureSize()
1399 aSize.Width() = MINFLY; in _SetPictureSize()
1400 if( aSize.Height() < MINFLY) in _SetPictureSize()
1401 aSize.Height() = MINFLY; in _SetPictureSize()
[all …]
/trunk/main/cui/source/tabpages/
H A Dpage.cxx196 Size aSize = pSize->GetSize(); in IsEqualSize_Impl() local
197 long nDiffW = Abs( rSize.Width () - aSize.Width () ); in IsEqualSize_Impl()
198 long nDiffH = Abs( rSize.Height() - aSize.Height() ); in IsEqualSize_Impl()
844 Size aSize( GetCoreValue( aPaperWidthEdit, eUnit ), in FillItemSet() local
862 Swap( aSize ); in FillItemSet()
1054 Swap( aSize ); in IMPL_LINK()
1124 Size aSize( GetCoreValue( aPaperWidthEdit, eUnit ), in IMPL_LINK() local
1260 aBspWin.SetSize( aSize ); in IMPL_LINK_INLINE_END()
1588 Size aSize( GetCoreValue( aPaperWidthEdit, eUnit ), in DeactivatePage() local
1593 if ( aSize.Width() && ( !pSize || !IsEqualSize_Impl( pSize, aSize ) ) ) in DeactivatePage()
[all …]
H A Dnumpages.cxx1172 aSize = OutputDevice::LogicToLogic(aSize, MAP_100TH_MM, (MapUnit)eCoreUnit); in IMPL_LINK()
2253 Size aSize; in IMPL_LINK() local
2286 aSize = OutputDevice::LogicToLogic(aSize, MAP_100TH_MM, (MapUnit)eCoreUnit); in IMPL_LINK()
2354 sal_Bool bWidth = aSize.Width() > aSize.Height(); in IMPL_LINK()
2469 Size aSaveSize(aSize); in IMPL_LINK()
2479 aSize.Width() = nWidthVal; in IMPL_LINK()
2502 if(aSize != aSaveSize) in IMPL_LINK()
2677 pVDev->SetOutputSize( aSize ); in Paint()
2964 DrawOutDev( Point(0,0), aSize, in Paint()
2965 Point(0,0), aSize, in Paint()
[all …]
/trunk/main/sw/source/filter/html/
H A Dhtmlplug.cxx306 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 …]
/trunk/main/vcl/source/control/
H A Dmorebtn.cxx145 Size aSize( pParent->GetSizePixel() ); in Click() local
167 aSize.Height() += nDeltaPixel; in Click()
168 if ( (aPos.Y()+aSize.Height()) > aDeskRect.Bottom() ) in Click()
170 aPos.Y() = aDeskRect.Bottom()-aSize.Height(); in Click()
175 pParent->SetPosSizePixel( aPos, aSize ); in Click()
178 pParent->SetSizePixel( aSize ); in Click()
183 aSize.Height() -= nDeltaPixel; in Click()
184 pParent->SetSizePixel( aSize ); in Click()
H A Dtabctrl.cxx294 aSize.Width() += aImageSize.Width(); in ImplGetItemSize()
298 aSize.Width() += TAB_TABOFFSET_X*2; in ImplGetItemSize()
299 aSize.Height() += TAB_TABOFFSET_Y*2; in ImplGetItemSize()
313 aSize.Width() += TAB_EXTRASPACE_X; in ImplGetItemSize()
320 if ( aSize.Width()+4 >= nMaxWidth ) in ImplGetItemSize()
332 if ( aSize.Width()+4 >= nMaxWidth ) in ImplGetItemSize()
335 aSize.Width() = 1; in ImplGetItemSize()
345 return aSize; in ImplGetItemSize()
409 Size aSize; in ImplGetTabRect() local
439 nY += aSize.Height(); in ImplGetTabRect()
[all …]
/trunk/main/sd/source/ui/dlg/
H A Ddocprev.cxx117 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()
/trunk/main/uui/source/
H A Dmasterpasscrtdlg.cxx139 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()
/trunk/main/sd/source/ui/view/
H A Dgrviewsh.cxx99 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()
/trunk/main/sw/inc/
H A Dfmtfsize.hxx48 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()
/trunk/main/extensions/source/propctrlr/
H A Dbrowserview.cxx121 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()
/trunk/main/sw/source/ui/frmdlg/
H A Dfrmmgr.cxx311 Size aSize(aBoundRect.SSize()); in ValidateMetrics() local
312 nTmp = aSize.Width(); in ValidateMetrics()
313 aSize.Width() = aSize.Height(); in ValidateMetrics()
314 aSize.Height() = nTmp; in ValidateMetrics()
315 aBoundRect.Chg( aPos, aSize ); in ValidateMetrics()
614 SwFmtFrmSize aSize( GetFrmSize() ); in SetHeightSizeType() local
615 aSize.SetHeightSizeType( eType ); in SetHeightSizeType()
616 aSet.Put( aSize ); in SetHeightSizeType()
621 SwFmtFrmSize aSize( GetFrmSize() ); in SetSize() local
622 aSize.SetSize(Size(Max(rSize.Width(), long(MINFLY)), Max(rSize.Height(), long(MINFLY)))); in SetSize()
[all …]
/trunk/main/sc/source/core/data/
H A Dcolumn2.cxx348 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 …]
/trunk/main/svx/source/xoutdev/
H A Dxtablend.cxx157 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()
/trunk/main/reportdesign/source/ui/report/
H A DStartMarker.cxx111 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()
/trunk/main/svx/source/dialog/
H A Dmeasctrl.cxx55 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()
/trunk/main/extensions/source/bibliography/
H A Dbibbeam.cxx138 ::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()
/trunk/main/svtools/source/control/
H A Dctrlbox.cxx284 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 …]
/trunk/main/svx/source/form/
H A Dtbxform.cxx346 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()
/trunk/main/embeddedobj/source/msole/
H A Dolevisual.cxx84 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()
247aSize = m_pOleComponent->GetCachedExtent( nAspect ); // will throw an exception in case of failure in getVisualAreaSize()
260aSize = m_pOleComponent->GetReccomendedExtent( nAspect ); // will throw an exception in case of fa… in getVisualAreaSize()
275 m_aCachedSize = aSize; in getVisualAreaSize()
/trunk/main/chart2/source/controller/chartapiwrapper/
H A DChart2ModelContact.cxx238 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()
/trunk/main/sfx2/source/doc/
H A Dnew.cxx129 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 …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/awt/
H A D_XLayoutConstrains.java50 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()

Completed in 146 milliseconds

12345678910>>...32