Home
last modified time | relevance | path

Searched refs:aNewSize (Results 1 – 25 of 114) sorted by path

12345

/trunk/main/UnoControls/source/inc/
H A Dprogressmonitor.hxx535 …virtual UNO3_SIZE SAL_CALL calcAdjustedSize( const UNO3_SIZE& aNewSize ) throw( UNO3_RUNTIMEEXCEPT…
H A Dstatusindicator.hxx361 …virtual UNO3_SIZE SAL_CALL calcAdjustedSize( const UNO3_SIZE& aNewSize ) throw( UNO3_RUNTIMEEXCEPT…
/trunk/main/chart2/qa/
H A DTestCaseOldAPI.java343 Size aNewSize = xDiagramShape.getSize(); in testDiagram() local
346 assure( "Diagram Width", approxEqual( aNewSize.Width, aSetSize.Width, 2 )); in testDiagram()
347 assure( "Diagram Height", approxEqual( aNewSize.Height, aSetSize.Height, 2 )); in testDiagram()
/trunk/main/chart2/source/controller/chartapiwrapper/
H A DWrappedSymbolProperties.cxx101 …ueToSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet, awt::Size aNewSize ) const;
454 … Size aNewSize = ( OutputDevice::LogicToLogic( aPixelSize, MAP_PIXEL, MAP_100TH_MM )); in lcl_correctSymbolSizeForBitmaps() local
455 aSize = awt::Size( aNewSize.Width(), aNewSize.Height() ); in lcl_correctSymbolSizeForBitmaps()
496 awt::Size aNewSize ) const in setValueToSeries()
504 aSymbol.Size = aNewSize; in setValueToSeries()
/trunk/main/chart2/source/tools/
H A DDiagramHelper.cxx1651 chart2::RelativeSize aNewSize; in setDiagramPositioning() local
1652 aNewSize.Primary = double(rPosRect.Width)/double(aPageSize.Width); in setDiagramPositioning()
1653 aNewSize.Secondary = double(rPosRect.Height)/double(aPageSize.Height); in setDiagramPositioning()
1657 lcl_ensureRange0to1( aNewSize.Primary ); in setDiagramPositioning()
1658 lcl_ensureRange0to1( aNewSize.Secondary ); in setDiagramPositioning()
1659 if( (aNewPos.Primary + aNewSize.Primary) > 1.0 ) in setDiagramPositioning()
1660 aNewPos.Primary = 1.0 - aNewSize.Primary; in setDiagramPositioning()
1661 if( (aNewPos.Secondary + aNewSize.Secondary) > 1.0 ) in setDiagramPositioning()
1662 aNewPos.Secondary = 1.0 - aNewSize.Secondary; in setDiagramPositioning()
1670 (aOldSize.Primary!=aNewSize.Primary) || in setDiagramPositioning()
[all …]
/trunk/main/chart2/source/view/diagram/
H A DVDiagram.cxx743 awt::Size aNewSize( nNewWidth, nNewHeight ); in reduceToMimimumSize() local
748 adjustPosAndSize( aNewPos, aNewSize ); in reduceToMimimumSize()
755 awt::Size aNewSize( m_aCurrentSizeWithoutAxes ); in adjustInnerSize() local
762 if( (aNewSize.Width + nDeltaWidth) < rAvailableOuterRect.getWidth()/3 ) in adjustInnerSize()
763 nDeltaWidth = static_cast<sal_Int32>(rAvailableOuterRect.getWidth()/3 - aNewSize.Width); in adjustInnerSize()
764 aNewSize.Width += nDeltaWidth; in adjustInnerSize()
766 if( (aNewSize.Height + nDeltaHeight) < rAvailableOuterRect.getHeight()/3 ) in adjustInnerSize()
767 nDeltaHeight = static_cast<sal_Int32>(rAvailableOuterRect.getHeight()/3 - aNewSize.Height); in adjustInnerSize()
768 aNewSize.Height += nDeltaHeight; in adjustInnerSize()
798 return adjustPosAndSize( aNewPos, aNewSize ); in adjustInnerSize()
/trunk/main/chart2/source/view/main/
H A DShapeFactory.cxx2331 awt::Size aNewSize; in calculateNewSizeRespectingAspectRatio() local
2336 aNewSize.Width=static_cast<sal_Int32>(fFactor*rSourceSizeWithCorrectAspectRatio.Width); in calculateNewSizeRespectingAspectRatio()
2337 aNewSize.Height=static_cast<sal_Int32>(fFactor*rSourceSizeWithCorrectAspectRatio.Height); in calculateNewSizeRespectingAspectRatio()
2339 return aNewSize; in calculateNewSizeRespectingAspectRatio()
/trunk/main/cui/source/customize/
H A Dcfg.cxx4882 VirtualDevice& aDev, const Size& aNewSize, const Image& aImage ) in GetSizedImage() argument
4893 …sal_uInt16 nPosX = std::max( (sal_uInt16) (((( aNewSize.Width() - 2 ) - aImage.GetSizePixel().Widt… in GetSizedImage()
4894 …sal_uInt16 nPosY = std::max( (sal_uInt16) (((( aNewSize.Height() - 2 ) - aImage.GetSizePixel().Hei… in GetSizedImage()
4898 aDev.DrawRect( Rectangle( Point(), aNewSize )); in GetSizedImage()
4904 aDev.DrawLine( Point( aNewSize.Width()-3, 0 ), Point( aNewSize.Width()-3, aNewSize.Height()-1 )); in GetSizedImage()
4907 return Image( aDev.GetBitmap( Point(), aNewSize ), aFillColor ); in GetSizedImage()
/trunk/main/cui/source/dialogs/
H A Dcuicharmap.cxx350 Size aNewSize = aShowText.GetOutputSizePixel(); in SvxCharMapData() local
410 Size aNewSize = aSubsetLB.GetOutputSizePixel(); in IMPL_LINK() local
411 aNewSize.setWidth( nRightEdge - aSubsetLB.GetPosPixel().X() ); in IMPL_LINK()
412 aSubsetLB.SetOutputSizePixel( aNewSize ); in IMPL_LINK()
/trunk/main/cui/source/inc/
H A Dcfg.hxx578 VirtualDevice& aDev, const Size& aNewSize, const Image& aImage );
/trunk/main/cui/source/options/
H A Doptimprove.cxx88 aNewSize.Width() = nNewWidth; in SvxImprovementPage()
91 aNewSize.Height() = aCalcSize.Height(); in SvxImprovementPage()
92 m_aInvitationFT.SetSizePixel( aNewSize ); in SvxImprovementPage()
94 aNewSize = m_aYesRB.GetSizePixel(); in SvxImprovementPage()
95 aNewSize.Width() = nNewWidth; in SvxImprovementPage()
99 aNewSize = m_aNoRB.GetSizePixel(); in SvxImprovementPage()
100 aNewSize.Width() = nNewWidth; in SvxImprovementPage()
103 m_aNoRB.SetPosSizePixel( aNewPos, aNewSize ); in SvxImprovementPage()
104 aNewSize = m_aImproveFL.GetSizePixel(); in SvxImprovementPage()
105 aNewSize.Width() -= nWDelta; in SvxImprovementPage()
[all …]
H A Doptinet2.cxx589 aNewSize.Width() = nWidth; in ArrangeControls_Impl()
591 aProxyModeFT.SetSizePixel( aNewSize ); in ArrangeControls_Impl()
592 aHttpProxyFT.SetSizePixel( aNewSize ); in ArrangeControls_Impl()
593 aHttpsProxyFT.SetSizePixel( aNewSize ); in ArrangeControls_Impl()
594 aFtpProxyFT.SetSizePixel( aNewSize ); in ArrangeControls_Impl()
595 aNoProxyForFT.SetSizePixel( aNewSize ); in ArrangeControls_Impl()
604 aNewSize.Width() -= nDelta; in ArrangeControls_Impl()
885 aNewSize.Width() = nLabelTextWidth; in InitControls_Impl()
886 (*pLabel)->SetSizePixel( aNewSize ); in InitControls_Impl()
900 aNewSize.Width() += nDelta; in InitControls_Impl()
[all …]
H A Dwebconninfo.cxx147 Size aNewSize = (*pButton)->GetSizePixel(); in WebConnectionInfoDialog() local
148 aNewSize.Width() += nDelta; in WebConnectionInfoDialog()
149 (*pButton)->SetPosSizePixel( aNewPos, aNewSize ); in WebConnectionInfoDialog()
/trunk/main/cui/source/tabpages/
H A Dtpcolor.cxx189 … const Size aNewSize(aValSetColorTable.layoutToGivenHeight(aCurrentSize.Height(), nColorCount)); in ImpColorCountChanged() local
190 … const Point aNewPos((aCurrentPos.X() + aCurrentSize.Width()) - aNewSize.Width(), aCurrentPos.Y()); in ImpColorCountChanged()
192 aValSetColorTable.SetOutputSizePixel(aNewSize); in ImpColorCountChanged()
193 aValSetColorTable.SetPosSizePixel(aNewPos, aNewSize); in ImpColorCountChanged()
/trunk/main/dbaccess/source/ui/app/
H A DAppDetailPageHelper.cxx1438 Size aNewSize( LogicToPixel( rGraphic.GetPrefSize(), rGraphic.GetPrefMapMode() ) ); in ImplGetGraphicCenterRect() local
1441 if( aNewSize.Width() && aNewSize.Height() ) in ImplGetGraphicCenterRect()
1444 const double fGrfWH = (double) aNewSize.Width() / aNewSize.Height(); in ImplGetGraphicCenterRect()
1449 aNewSize.Width() = (long) ( aWinSize.Height() * fGrfWH ); in ImplGetGraphicCenterRect()
1450 aNewSize.Height()= aWinSize.Height(); in ImplGetGraphicCenterRect()
1454 aNewSize.Width() = aWinSize.Width(); in ImplGetGraphicCenterRect()
1455 aNewSize.Height()= (long) ( aWinSize.Width() / fGrfWH); in ImplGetGraphicCenterRect()
1458 const Point aNewPos( ( aWinSize.Width() - aNewSize.Width() ) >> 1, in ImplGetGraphicCenterRect()
1459 ( aWinSize.Height() - aNewSize.Height() ) >> 1 ); in ImplGetGraphicCenterRect()
1461 rResultRect = Rectangle( aNewPos, aNewSize ); in ImplGetGraphicCenterRect()
/trunk/main/dbaccess/source/ui/dlg/
H A Ddsselect.cxx129 Size aNewSize(3 * aOldSize.Width() / 4, aOldSize.Height()); in ODatasourceSelectDialog() local
130 m_aDatasource.SetSizePixel(aNewSize); in ODatasourceSelectDialog()
132 sal_Int32 nLostPixels = aOldSize.Width() - aNewSize.Width(); in ODatasourceSelectDialog()
/trunk/main/dbaccess/source/ui/misc/
H A DWExtendPages.cxx75 Size aNewSize(m_aTypeControl.GetSizePixel().Width(),nHeight - aPos.Y()-6); in OWizNormalExtend() local
78 m_aTypeControl.SetPosSizePixel(aPos,aNewSize); in OWizNormalExtend()
/trunk/main/dbaccess/source/ui/querydesign/
H A DJoinTableView.cxx672 Size aNewSize( CalcZoom(TABWIN_WIDTH_STD), CalcZoom(TABWIN_HEIGHT_STD) ); in SetDefaultTabWinPosSize() local
676 aBottom.X() += aNewSize.Width(); in SetDefaultTabWinPosSize()
677 aBottom.Y() += aNewSize.Height(); in SetDefaultTabWinPosSize()
684 pTabWin->SetPosSizePixel( aNewPos, aNewSize ); in SetDefaultTabWinPosSize()
895 …Size aNewSize(CalcZoom(m_aSizingRect.GetSize().Width()),CalcZoom(m_aSizingRect.GetSize().Height())… in Tracking() local
896 m_pSizingWin->SetPosSizePixel( m_aSizingRect.TopLeft(), aNewSize ); in Tracking()
H A DTableWindow.cxx712 Size aNewSize(aStartPoint.X(),aStartPoint.Y()); in PreNotify() local
713 if ( ((ptOld.X() + aNewSize.Width()) <= aSize.Width()) in PreNotify()
714 && ((ptOld.Y() + aNewSize.Height()) <= aSize.Height()) ) in PreNotify()
716 if ( aNewSize.Width() < TABWIN_WIDTH_MIN ) in PreNotify()
717 aNewSize.Width() = TABWIN_WIDTH_MIN; in PreNotify()
718 if ( aNewSize.Height() < TABWIN_HEIGHT_MIN ) in PreNotify()
719 aNewSize.Height() = TABWIN_HEIGHT_MIN; in PreNotify()
723 aNewSize = Size(pView->CalcZoom(aNewSize.Width()),pView->CalcZoom(aNewSize.Height())); in PreNotify()
724 SetPosSizePixel( ptOld, aNewSize ); in PreNotify()
/trunk/main/desktop/source/deployment/gui/
H A Ddp_gui_updatedialog.cxx1006 Size aNewSize = m_PublisherLabel.GetSizePixel(); in initDescription() local
1007 if ( nTextWidth > aNewSize.Width() ) in initDescription()
1009 long nDelta = nTextWidth - aNewSize.Width(); in initDescription()
1010 aNewSize.Width() = nTextWidth; in initDescription()
1011 m_PublisherLabel.SetSizePixel( aNewSize ); in initDescription()
1012 m_ReleaseNotesLabel.SetSizePixel( aNewSize ); in initDescription()
1014 aNewSize = m_PublisherLink.GetSizePixel(); in initDescription()
1015 aNewSize.Width() = aNewSize.Width() - nDelta; in initDescription()
1118 Size aNewSize = m_aFirstLineSize; in showDescription() local
1119 aNewSize.Height() -= m_nFirstLineDelta; in showDescription()
[all …]
/trunk/main/editeng/source/editeng/
H A Dediteng.cxx473 Size aNewSize( pImpEditEngine->GetPaperSize() ); in SetPaperSize() local
476 if ( bAutoPageSize || ( aNewSize.Width() != aOldSize.Width() ) ) in SetPaperSize()
487 pView->pImpEditView->GetOutputArea().TopLeft(), aNewSize ) ); in SetPaperSize()
/trunk/main/embeddedobj/source/general/
H A Ddocholder.cxx1255 const frame::BorderWidths& aNewSize ) in borderWidthsChanged() argument
1261 if ( m_aBorderWidths.Left != aNewSize.Left in borderWidthsChanged()
1262 || m_aBorderWidths.Right != aNewSize.Right in borderWidthsChanged()
1263 || m_aBorderWidths.Top != aNewSize.Top in borderWidthsChanged()
1264 || m_aBorderWidths.Bottom != aNewSize.Bottom ) in borderWidthsChanged()
1266 m_aBorderWidths = aNewSize; in borderWidthsChanged()
/trunk/main/embeddedobj/source/inc/
H A Ddocholder.hxx199 …no::XInterface >& aObject, const ::com::sun::star::frame::BorderWidths& aNewSize ) throw (::com::s…
/trunk/main/embedserv/source/embed/
H A Ddocholder.cxx1255 awt::Size aNewSize( pSize->cx, pSize->cy ); in SetExtent() local
1263 aNewSize.Width = aNewSize.Width * 144 / 254; in SetExtent()
1264 aNewSize.Height = aNewSize.Height * 144 / 254; in SetExtent()
1268 xVisObj->setVisualAreaSize( DVASPECT_CONTENT, aNewSize ); in SetExtent()
/trunk/main/extensions/source/propctrlr/
H A Dpropcontroller.hxx198 …awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw (::com::s…

Completed in 173 milliseconds

12345