/aoo41x/main/svx/source/svdraw/ |
H A D | svdograf.cxx | 1433 Size aSize; in AdjustToMaxRect() local 1442 if( aSize.Height() != 0 && aSize.Width() != 0 ) in AdjustToMaxRect() 1450 ( aSize.Width() > aMaxSize.Width() ) )&& in AdjustToMaxRect() 1451 aSize.Height() && aMaxSize.Height() ) in AdjustToMaxRect() 1453 float fGrfWH = (float)aSize.Width() / in AdjustToMaxRect() 1454 (float)aSize.Height(); in AdjustToMaxRect() 1462 aSize.Height()= aMaxSize.Height(); in AdjustToMaxRect() 1466 aSize.Width() = aMaxSize.Width(); in AdjustToMaxRect() 1476 aPos.X() -= aSize.Width() / 2; in AdjustToMaxRect() 1477 aPos.Y() -= aSize.Height() / 2; in AdjustToMaxRect() [all …]
|
/aoo41x/main/cui/source/tabpages/ |
H A D | grfpage.cxx | 330 Size aSize; in ActivatePage() local 333 aSize = ((const SvxSizeItem*)pItem)->GetSize(); in ActivatePage() 335 nOldWidth = aSize.Width(); in ActivatePage() 336 nOldHeight = aSize.Height(); in ActivatePage() 444 Size aSize( lcl_GetValue(aWidthMF, eUnit), in IMPL_LINK() local 454 sal_uInt16 nZoom = (sal_uInt16)( aSize.Width() * 100L / nWidth); in IMPL_LINK() 464 sal_uInt16 nZoom = (sal_uInt16)( aSize.Height() * 100L/ nHeight); in IMPL_LINK() 761 Size aSize( rGrf.GetPrefSize() ); in GetGrfOrigSize() local 763 aSize = PixelToLogic( aSize, aMapTwip ); in GetGrfOrigSize() 765 aSize = OutputDevice::LogicToLogic( aSize, in GetGrfOrigSize() [all …]
|
/aoo41x/main/sd/source/ui/view/ |
H A D | sdview4.cxx | 182 Size aSize; in InsertGraphic() local 194 aSize = pOutDev->PixelToLogic( rGraphic.GetPrefSize(), MAP_100TH_MM ); in InsertGraphic() 198 aSize = OutputDevice::LogicToLogic( rGraphic.GetPrefSize(), in InsertGraphic() 203 pNewGrafObj = new SdrGrafObj( rGraphic, Rectangle( rPos, aSize ) ); in InsertGraphic() 508 Size aSize( aSz.Width, aSz.Height ); in IMPL_LINK() local 511 if (!aSize.Width() || !aSize.Height()) in IMPL_LINK() 513 aSize.Width() = 1410; in IMPL_LINK() 514 aSize.Height() = 1000; in IMPL_LINK() 517 aRect = Rectangle( maDropPos, aSize ); in IMPL_LINK()
|
/aoo41x/main/chart2/source/controller/chartapiwrapper/ |
H A D | WrappedSymbolProperties.cxx | 428 awt::Size aSize = aDefaultSize; in lcl_correctSymbolSizeForBitmaps() local 435 if( (xProp->getPropertyValue( C2U( "Size100thMM" ) ) >>= aSize) ) in lcl_correctSymbolSizeForBitmaps() 437 if( aSize.Width == 0 && aSize.Height == 0 ) in lcl_correctSymbolSizeForBitmaps() 438 aSize = aDefaultSize; in lcl_correctSymbolSizeForBitmaps() 455 aSize = awt::Size( aNewSize.Width(), aNewSize.Height() ); in lcl_correctSymbolSizeForBitmaps() 457 if( aSize.Width == 0 && aSize.Height == 0 ) in lcl_correctSymbolSizeForBitmaps() 458 aSize = aDefaultSize; in lcl_correctSymbolSizeForBitmaps() 462 rSymbol.Size = aSize; in lcl_correctSymbolSizeForBitmaps()
|
/aoo41x/main/editeng/source/uno/ |
H A D | unofored.cxx | 343 Size aSize( rEditEngine.CalcTextWidth(), rEditEngine.GetTextHeight() ); in GetCharBounds() local 344 ::std::swap( aSize.Width(), aSize.Height() ); in GetCharBounds() 362 aLast = SvxEditSourceHelper::EEToUserSpace( aLast, aSize, bIsVertical ); in GetCharBounds() 382 aSize, bIsVertical ); in GetCharBounds() 427 Size aSize( rEditEngine.CalcTextWidth(), rEditEngine.GetTextHeight() ); in GetIndexAtPoint() local 428 ::std::swap( aSize.Width(), aSize.Height() ); in GetIndexAtPoint() 430 aSize, in GetIndexAtPoint()
|
/aoo41x/main/xmloff/source/chart/ |
H A D | PropertyMaps.cxx | 432 awt::Size aSize; in handleSpecialItem() local 433 rProperty.maValue >>= aSize; in handleSpecialItem() 436 ? aSize.Width in handleSpecialItem() 437 : aSize.Height ); in handleSpecialItem() 580 awt::Size aSize; in handleSpecialItem() local 581 rProperty.maValue >>= aSize; in handleSpecialItem() 583 ? aSize.Width in handleSpecialItem() 584 : aSize.Height, in handleSpecialItem() 586 rProperty.maValue <<= aSize; in handleSpecialItem()
|
/aoo41x/main/sd/source/ui/controller/ |
H A D | slidelayoutcontroller.cxx | 230 Size aSize( mpLayoutSet1->GetOutputSizePixel() ); in LayoutToolbarMenu() local 231 aSize.Width() += (mpLayoutSet1->GetColCount() + 1) * LAYOUT_BORDER_PIX; in LayoutToolbarMenu() 232 aSize.Height() += (mpLayoutSet1->GetLineCount() +1) * LAYOUT_BORDER_PIX; in LayoutToolbarMenu() 233 mpLayoutSet1->SetOutputSizePixel( aSize ); in LayoutToolbarMenu() 251 aSize = mpLayoutSet2->GetOutputSizePixel(); in LayoutToolbarMenu() 252 aSize.Width() += (mpLayoutSet2->GetColCount() + 1) * LAYOUT_BORDER_PIX; in LayoutToolbarMenu() 253 aSize.Height() += (mpLayoutSet2->GetLineCount() + 1) * LAYOUT_BORDER_PIX; in LayoutToolbarMenu() 254 mpLayoutSet2->SetOutputSizePixel( aSize ); in LayoutToolbarMenu()
|
/aoo41x/main/avmedia/source/macavf/ |
H A D | macavf_player.cxx | 379 awt::Size aSize( 0, 0 ); // default size in getPreferredPlayerWindowSize() local 387 aSize = awt::Size( aPrefSize.width, aPrefSize.height ); in getPreferredPlayerWindowSize() 390 return aSize; in getPreferredPlayerWindowSize() 399 const awt::Size aSize( getPreferredPlayerWindowSize() ); in createPlayerWindow() local 400 …OSL_TRACE( "Player::createPlayerWindow %dx%d argsLength: %d", aSize.Width, aSize.Height, aArgument… in createPlayerWindow() 409 if( (aSize.Width <= 0) || (aSize.Height <= 0) || (pParentView == NULL) ) in createPlayerWindow()
|
/aoo41x/main/fpicker/source/win32/filepicker/ |
H A D | PreviewCtrl.cxx | 208 const CDimension& aSize, in createInstance() argument 218 aParent, ulCorner, aSize, hInstance, bShow, bEnabled ); in createInstance() 243 const CDimension& aSize, in CFilePreview() argument 279 aSize.m_cx, in CFilePreview() 280 aSize.m_cy, in CFilePreview() 307 sal_Bool SAL_CALL CFilePreview::setSize( const CDimension& aSize ) in setSize() argument 317 aSize.m_cx, in setSize() 318 aSize.m_cy, in setSize()
|
/aoo41x/main/sd/source/ui/docshell/ |
H A D | docshel2.cxx | 178 Size aSize = mpDoc->GetSdPage(0, PK_STANDARD)->GetSize(); in GetVisArea() local 181 aSize = Application::GetDefaultDevice()->LogicToLogic(aSize, &aSrcMapMode, &aDstMapMode); in GetVisArea() 182 aVisArea.SetSize(aSize); in GetVisArea() 265 const Size aSize( pPage->GetSize() ); in GetPagePreviewBitmap() local 271 const Size aPixSize( aVDev.LogicToPixel( aSize ) ); in GetPagePreviewBitmap() 278 aVDev.SetOutputSize( aSize ); in GetPagePreviewBitmap() 338 pView->CompleteRedraw( &aVDev, Rectangle( aNullPt, aSize ) ); in GetPagePreviewBitmap()
|
/aoo41x/main/svtools/source/contnr/ |
H A D | templwin.cxx | 1309 aSize.Height() += 4; in InitToolBoxes() 1312 aSize.Height() += 4; in InitToolBoxes() 1427 aSize.Width() = nItemSize; in Resize() 1428 aFileViewTB.SetSizePixel( aSize ); in Resize() 1432 aFrameWinTB.SetSizePixel( aSize ); in Resize() 1435 aSize = aWinSize; in Resize() 1436 aSize.Height() -= nToolBoxHeight; in Resize() 1756 Size aSize = GetOutputSizePixel(); in InitImpl() local 1764 aSize.Height() -= nDelta; in InitImpl() 1765 SetOutputSizePixel( aSize ); in InitImpl() [all …]
|
/aoo41x/main/vcl/source/window/ |
H A D | splitwin.cxx | 1500 SetSizePixel( aSize ); in ImplSetWindowSize() 1512 aSize.Width() += nDelta; in ImplSetWindowSize() 1513 SetSizePixel( aSize ); in ImplSetWindowSize() 1520 aSize.Width() += nDelta; in ImplSetWindowSize() 1531 Size aSize( aNewSize ); in CalcLayoutSizePixel() local 1568 return aSize; in CalcLayoutSizePixel() 1591 return aSize; in CalcLayoutSizePixel() 2760 mnDX = aSize.Width(); in Resize() 2761 mnDY = aSize.Height(); in Resize() 3833 Size aSize = rSize; in CalcWindowSizePixel() local [all …]
|
/aoo41x/main/sc/source/ui/view/ |
H A D | hdrcont.cxx | 92 Size aSize = LogicToPixel( Size( in ScHeaderControl() local 95 aSize.Width() += 4; // Platz fuer hervorgehobene Umrandung in ScHeaderControl() 96 aSize.Height() += 3; in ScHeaderControl() 97 SetSizePixel( aSize ); in ScHeaderControl() 99 nWidth = nSmallWidth = aSize.Width(); in ScHeaderControl() 111 Size aSize( nNew, GetSizePixel().Height() ); // Hoehe nicht aendern in SetWidth() local 112 SetSizePixel( aSize ); in SetWidth() 617 Size aSize = GetOutputSizePixel(); in GetMousePos() local 618 long nWinSize = bVertical ? aSize.Height() : aSize.Width(); in GetMousePos() 951 Size aSize = GetSizePixel(); in ShowDragHelp() local [all …]
|
/aoo41x/main/sd/source/ui/slidesorter/cache/ |
H A D | SlsBitmapCompressor.cxx | 133 Size aSize (rBitmap.GetSizePixel()); in Compress() local 134 pResult->maOriginalSize = aSize; in Compress() 135 if (aSize.Width()>0 && aSize.Width()<mnWidth) in Compress() 137 int nHeight = aSize.Height() * mnWidth / aSize.Width() ; in Compress()
|
/aoo41x/main/desktop/source/splash/ |
H A D | splash.cxx | 184 Size aSize = _aIntroBmp.GetSizePixel(); in initialize() local 185 SetOutputSizePixel( aSize ); in initialize() 186 _vdev.SetOutputSizePixel( aSize ); in initialize() 187 _height = aSize.Height(); in initialize() 188 _width = aSize.Width(); in initialize() 206 _tlx = sal_Int32( double( aSize.Width() ) * _fXPos ); in initialize() 207 _tly = sal_Int32( double( aSize.Height() ) * _fYPos ); in initialize() 210 _barwidth = sal_Int32( double( aSize.Width() ) * _fWidth ); in initialize() 212 _barheight = sal_Int32( double( aSize.Width() ) * _fHeight ); in initialize() 705 Size aSize = GetOutputSizePixel(); in Paint() local
|
/aoo41x/main/filter/source/graphicfilter/eps/ |
H A D | eps.cxx | 789 ImplBmp( &aBitmap, NULL, aPoint, aSize.Width(), aSize.Height() ); in ImplWriteActions() 800 ImplBmp( &aBitmap, NULL, aPoint, aSize.Width(), aSize.Height() ); in ImplWriteActions() 813 ImplBmp( &aBitmap, NULL, aPoint, aSize.Width(), aSize.Height() ); in ImplWriteActions() 826 ImplBmp( &aBitmap, &aMask, aPoint, aSize.Width(), aSize.Height() ); in ImplWriteActions() 839 ImplBmp( &aBitmap, &aMask, aPoint, aSize.Width(), aSize.Height() ); in ImplWriteActions() 854 ImplBmp( &aBitmap, &aMask, aPoint, aSize.Width(), aSize.Height() ); in ImplWriteActions() 1142 Size aSize = ( (const MetaEPSAction*) pMA )->GetSize(); in ImplWriteActions() local 2146 Size aSize = maFont.GetSize(); in ImplSetAttrForText() local 2160 aSize = maFont.GetSize(); in ImplSetAttrForText() 2161 ImplWriteDouble( aSize.Height() ); in ImplSetAttrForText() [all …]
|
/aoo41x/main/vcl/aqua/source/gdi/ |
H A D | salvd.cxx | 165 const CGSize aSize = CGLayerGetSize( mxLayer ); in SetSize() local 166 if( (nDX == aSize.width) && (nDY == aSize.height) ) in SetSize() 250 const CGSize aSize = CGLayerGetSize( mxLayer ); in GetSize() local 251 rWidth = static_cast<long>(aSize.width); in GetSize() 252 rHeight = static_cast<long>(aSize.height); in GetSize()
|
/aoo41x/main/sd/source/filter/html/ |
H A D | buttonset.cxx | 208 Size aSize; in getPreview() local 219 aSize.Width() += aGraphicSize.Width(); in getPreview() 221 if( aSize.Height() < aGraphicSize.Height() ) in getPreview() 222 aSize.Height() = aGraphicSize.Height(); in getPreview() 225 aSize.Width() += 3; in getPreview() 228 aDev.SetOutputSizePixel( aSize ); in getPreview() 242 rImage = Image( aDev.GetBitmapEx( Point(), aSize ) ); in getPreview()
|
/aoo41x/main/svx/source/dialog/ |
H A D | paraprev.cxx | 61 aSize = Size( 11905, 16837 ); in SvxParaPrevWindow() 101 long nTop = nUpper * aLineSiz.Height() / aSize.Height(); in DrawParagraph() 110 long nLeft = nLeftMargin * aLineSiz.Width() / aSize.Width(); in DrawParagraph() 111 long nFirst = nFirstLineOfst * aLineSiz.Width() / aSize.Width(); in DrawParagraph() 124 long nRight = nRightMargin * aLineSiz.Width() / aSize.Width(); in DrawParagraph() 213 long nBottom = nLower * aLineSiz.Height() / aSize.Height(); in DrawParagraph()
|
/aoo41x/main/framework/source/helper/ |
H A D | dockingareadefaultacceptor.cxx | 126 … css::awt::Size aSize ( aRectangle.Width - aInfo.LeftInset - aInfo.RightInset , in requestDockingAreaSpace() local 134 if ((( aSize.Width - RequestedSpace.X - RequestedSpace.Width ) < aMinSize.Width ) || in requestDockingAreaSpace() 135 … (( aSize.Height - RequestedSpace.Y - RequestedSpace.Height ) < aMinSize.Height ) ) in requestDockingAreaSpace() 164 … css::awt::Size aSize ( aRectangle.Width - aInfo.LeftInset - aInfo.RightInset , in setDockingAreaSpace() local 171 sal_Int32 nWidth = aSize.Width - BorderSpace.X - BorderSpace.Width; in setDockingAreaSpace() 172 sal_Int32 nHeight = aSize.Height - BorderSpace.Y - BorderSpace.Height; in setDockingAreaSpace()
|
/aoo41x/main/sd/source/ui/func/ |
H A D | fuzoom.cxx | 204 Size aSize = mpWindow->PixelToLogic(mpWindow->GetOutputSizePixel()); in MouseButtonUp() local 205 aSize.Width() /= 2; in MouseButtonUp() 206 aSize.Height() /= 2; in MouseButtonUp() 207 aPos.X() -= aSize.Width() / 2; in MouseButtonUp() 208 aPos.Y() -= aSize.Height() / 2; in MouseButtonUp() 210 aZoomRect.SetSize(aSize); in MouseButtonUp()
|
/aoo41x/main/editeng/inc/editeng/ |
H A D | sizeitem.hxx | 42 Size aSize; member in SvxSizeItem 68 const Size& GetSize() const { return aSize; } in GetSize() 69 void SetSize(const Size& rSize) { aSize = rSize; } in SetSize() 74 aSize = rCpy.aSize; in operator =()
|
/aoo41x/main/qadevOOo/tests/java/ifc/awt/ |
H A D | _XView.java | 94 Size aSize = oObj.getSize(); in _getSize() local 95 boolean res = (aSize.Height != 0) && (aSize.Width != 0); in _getSize() 97 log.println("Height: " + aSize.Height); in _getSize() 98 log.println("Width: " + aSize.Width); in _getSize()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | pdfwriter_impl2.cxx | 82 Size aSize( i_rSize ); in implWriteBitmapEx() local 88 if( aSize.Width() < 0 ) in implWriteBitmapEx() 90 aSize.Width() *= -1; in implWriteBitmapEx() 91 aPoint.X() -= aSize.Width(); in implWriteBitmapEx() 94 if( aSize.Height() < 0 ) in implWriteBitmapEx() 96 aSize.Height() *= -1; in implWriteBitmapEx() 97 aPoint.Y() -= aSize.Height(); in implWriteBitmapEx() 249 m_rOuterFace.DrawBitmapEx( aPoint, aSize, aBitmapEx ); in implWriteBitmapEx() 251 m_rOuterFace.DrawBitmap( aPoint, aSize, aBitmapEx.GetBitmap() ); in implWriteBitmapEx() 789 Size aSize( OutputDevice::LogicToLogic( aBitmapEx.GetPrefSize(), in playMetafile() local [all …]
|
/aoo41x/main/filter/source/pdf/ |
H A D | impdialog.cxx | 458 Size aSize = maCbExportEmptyPages.GetSizePixel(); in ImpPDFTabGeneralPage() local 460 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabGeneralPage() 1071 Size aSize = maRbChangesComment.GetSizePixel(); in ImpPDFTabSecurityPage() local 1073 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabSecurityPage() 1298 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabLinksPage() 1301 nDelta += ( aSize.Height() - nLineHeight ); in ImpPDFTabLinksPage() 1308 aSize = maCbOOoToPDFTargets.GetSizePixel(); in ImpPDFTabLinksPage() 1310 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabLinksPage() 1313 nDelta += ( aSize.Height() - nLineHeight ); in ImpPDFTabLinksPage() 1322 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabLinksPage() [all …]
|