/aoo42x/main/embedserv/source/embed/ |
H A D | docholder.cxx | 1255 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()
|
/aoo42x/main/embeddedobj/source/general/ |
H A D | docholder.cxx | 1255 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()
|
/aoo42x/main/sfx2/source/dialog/ |
H A D | dinfdlg.cxx | 845 Size aNewSize = aSignatureBtn.GetSizePixel(); in SfxDocumentPage() local 846 aNewSize.Width() += nDelta; in SfxDocumentPage() 847 aSignatureBtn.SetSizePixel( aNewSize ); in SfxDocumentPage() 848 aDeleteBtn.SetSizePixel( aNewSize ); in SfxDocumentPage() 857 aNewSize = aSignedValFt.GetSizePixel(); in SfxDocumentPage() 858 aNewSize.Width() -= nDelta; in SfxDocumentPage() 859 aSignedValFt.SetSizePixel( aNewSize ); in SfxDocumentPage() 860 aNewSize = aUseUserDataCB.GetSizePixel(); in SfxDocumentPage() 861 aNewSize.Width() -= nDelta; in SfxDocumentPage() 862 aUseUserDataCB.SetSizePixel( aNewSize ); in SfxDocumentPage()
|
/aoo42x/main/svx/source/svdraw/ |
H A D | svdpntv.cxx | 1354 Size aNewSize(rRect.GetSize()); in MakeVisible() local 1356 sal_Bool bNeedMoreX=aNewSize.Width()>aActualSize.Width(); in MakeVisible() 1357 sal_Bool bNeedMoreY=aNewSize.Height()>aActualSize.Height(); in MakeVisible() 1362 Fraction aXFact(aNewSize.Width(),aActualSize.Width()); in MakeVisible() 1363 Fraction aYFact(aNewSize.Height(),aActualSize.Height()); in MakeVisible()
|
H A D | svdotext.cxx | 296 Size aNewSize(rOutliner.CalcTextSize()); in FitFrameToTextSize() local 298 aNewSize.Width()++; // wegen evtl. Rundungsfehler in FitFrameToTextSize() 299 aNewSize.Width()+=GetTextLeftDistance()+GetTextRightDistance(); in FitFrameToTextSize() 300 aNewSize.Height()+=GetTextUpperDistance()+GetTextLowerDistance(); in FitFrameToTextSize() 302 aNewRect.SetSize(aNewSize); in FitFrameToTextSize()
|
/aoo42x/main/dbaccess/source/ui/misc/ |
H A D | WExtendPages.cxx | 75 Size aNewSize(m_aTypeControl.GetSizePixel().Width(),nHeight - aPos.Y()-6); in OWizNormalExtend() local 78 m_aTypeControl.SetPosSizePixel(aPos,aNewSize); in OWizNormalExtend()
|
/aoo42x/main/svx/source/dialog/ |
H A D | docrecovery.cxx | 1855 Size aNewSize = (*pCurrent)->GetSizePixel(); in initControls() local 1856 aNewSize.Width() += nDelta; in initControls() 1857 (*pCurrent)->SetSizePixel( aNewSize ); in initControls() 2169 Size aNewSize( nNewWidth, nNewHeight ); in Resize() local 2170 maContentML.SetSizePixel( aNewSize ); in Resize() 2171 Point aNewPoint( Max( aEditPnt.X() + aNewSize.Width() - aBtnSz.Width(), aEditPnt.X() ), in Resize() 2172 aEditPnt.Y() + aNewSize.Height() + a3Sz.Height() ); in Resize()
|
H A D | charmap.cxx | 512 Size aNewSize( nX * COLUMN_COUNT + (bNeedVscroll ? SBWIDTH : 0), nY * ROW_COUNT ); in SetFont() local 513 Point aNewPos = aOrigPos + Point( (aOrigSize.Width() - aNewSize.Width()) / 2, 0 ); in SetFont() 515 SetOutputSizePixel( aNewSize ); in SetFont()
|
/aoo42x/main/sd/source/ui/sidebar/ |
H A D | PanelBase.cxx | 84 Size aNewSize (GetSizePixel()); in Resize() local 85 mpWrappedControl->SetOutputSizePixel(aNewSize); in Resize()
|
/aoo42x/main/svx/source/tbxctrls/ |
H A D | tbcontrl.cxx | 874 const Size aNewSize(aColorSet.layoutAllVisible(nColorCount)); in SvxColorWindow_Impl() local 875 aColorSet.SetOutputSizePixel(aNewSize); in SvxColorWindow_Impl() 878 SetOutputSizePixel(Size(aNewSize.Width() + nAdd, aNewSize.Height() + nAdd)); in SvxColorWindow_Impl() 998 const Size aNewSize(aColorSet.layoutAllVisible(nColorCount)); in StateChanged() local 999 aColorSet.SetOutputSizePixel(aNewSize); in StateChanged() 1002 SetOutputSizePixel(Size(aNewSize.Width() + nAdd, aNewSize.Height() + nAdd)); in StateChanged()
|
/aoo42x/main/svx/source/gallery2/ |
H A D | galobj.cxx | 149 const Size aNewSize( Max( (long) (fFactor < 1. ? S_THUMB * fFactor : S_THUMB), 8L ), in CreateThumb() local 153 (double) aNewSize.Width() / aBmpSize.Width(), in CreateThumb() 154 (double) aNewSize.Height() / aBmpSize.Height(), in CreateThumb()
|
/aoo42x/main/sw/source/core/text/ |
H A D | txtdrop.cxx | 856 Size aNewSize( 0, ( nFactor * nCurrHeight ) / 1000 ); in CalcFontSize() local 857 rFnt.SetSize( aNewSize, rFnt.GetActual() ); in CalcFontSize() 987 Size aNewSize( 0, ( nFactor * rFnt.GetHeight( rFnt.GetActual() ) ) / 1000 ); in CalcFontSize() local 991 rFnt.SetSize( aNewSize, rFnt.GetActual() ); in CalcFontSize()
|
/aoo42x/main/padmin/source/ |
H A D | adddlg.cxx | 395 Size aNewSize( aPosSize.GetWidth(), aPosSize.GetHeight()*2/3 ); in APCommandPage() local 396 if( aNewSize.Height() < m_aHelpBtn.GetSizePixel().Height()+2 ) in APCommandPage() 397 aNewSize.Height() = m_aHelpBtn.GetSizePixel().Height()+2; in APCommandPage() 398 Point aNewPos( aPosSize.Left(), aPosSize.Top() + aPosSize.GetHeight() - aNewSize.Height() ); in APCommandPage() 399 m_aCommandTxt.SetPosSizePixel( aNewPos, aNewSize ); in APCommandPage()
|
/aoo42x/main/svtools/source/graphic/ |
H A D | grfmgr2.cxx | 726 const Size aNewSize( rMtf.GetPrefSize() ); in ImplCreateOutput() local 734 if( aNewSize.Width() && aNewSize.Height() && rSz.Width() && rSz.Height() ) in ImplCreateOutput() 736 const double fGrfWH = (double) aNewSize.Width() / aNewSize.Height(); in ImplCreateOutput() 743 const Size& rSizePix( pOut->LogicToPixel( aNewSize, in ImplCreateOutput() 1003 rOutMtf.SetPrefSize( Size( FRound( aNewSize.Width() * fScaleX ), in ImplCreateOutput() 1004 FRound( aNewSize.Height() * fScaleY ) ) ); in ImplCreateOutput()
|
/aoo42x/main/dbaccess/source/ui/querydesign/ |
H A D | JoinTableView.cxx | 672 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()
|
/aoo42x/main/vcl/aqua/source/gdi/ |
H A D | salvd.cxx | 231 const CGSize aNewSize = CGSizeMake( nDX, nDY); in SetSize() local 232 mxLayer = CGLayerCreateWithContext( xCGContext, aNewSize, NULL ); in SetSize()
|
/aoo42x/main/sw/source/core/layout/ |
H A D | pagechg.cxx | 1716 Size SwRootFrm::ChgSize( const Size& aNewSize ) in ChgSize() argument 1718 Frm().SSize() = aNewSize; in ChgSize() 2436 const Size aNewSize( nMaxPageRight - nBorder, nSumRowHeight - nGapBetweenPages ); in CheckViewLayout() local 2438 if ( bPageChanged || aNewSize != aOldSize ) in CheckViewLayout() 2440 ChgSize( aNewSize ); in CheckViewLayout() 2458 maPagesArea.SSize( aNewSize ); in CheckViewLayout()
|
/aoo42x/main/cui/source/tabpages/ |
H A D | tpcolor.cxx | 189 … 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()
|
/aoo42x/main/svtools/source/control/ |
H A D | tabbar.cxx | 1302 Size aNewSize = GetOutputSizePixel(); in Resize() local 1311 Point aNewSizerPos( mbMirrored ? 0 : (aNewSize.Width()-aSizerSize.Width()), 0 ); in Resize() 1312 Size aNewSizerSize( aSizerSize.Width(), aNewSize.Height() ); in Resize() 1318 long nHeight = aNewSize.Height(); in Resize() 1322 long nX = mbMirrored ? (aNewSize.Width()-nHeight) : 0; in Resize() 1352 maWinSize = aNewSize; in Resize()
|
/aoo42x/main/sw/source/ui/shells/ |
H A D | frmsh.cxx | 386 Size aNewSize = aMgr.GetSize(); in Execute() local 389 aNewSize.setWidth( static_cast< const SfxUInt32Item* >(pItem)->GetValue() ); in Execute() 395 aNewSize.setHeight( static_cast< const SfxUInt32Item* >(pItem)->GetValue() ); in Execute() 401 aMgr.SetSize( aNewSize ); in Execute()
|
/aoo42x/main/sd/source/ui/func/ |
H A D | fuinsert.cxx | 669 Size aNewSize = Window::LogicToLogic( Size( aSz.Width, aSz.Height ), in DoExecute() local 671 if ( aNewSize != aSize ) in DoExecute() 673 aRect.SetSize( aNewSize ); in DoExecute()
|
/aoo42x/main/sw/source/ui/fldui/ |
H A D | fldedt.cxx | 114 Size aNewSize(LogicToPixel(Size(nWidth, GetOKButton()->GetOutputSize().Height()))); in SwFldEditDlg() local 115 aPrevBT.SetSizePixel(aNewSize); in SwFldEditDlg()
|
/aoo42x/main/sw/source/core/doc/ |
H A D | notxtfrm.cxx | 597 const Size aNewSize( GetSize() ); in Format() local 601 (SwTwips)(aNewSize.Width() - Prt().Width()) : in Format() 602 (SwTwips)(aNewSize.Height() - Prt().Height()); in Format()
|
/aoo42x/main/svtools/source/filter/ |
H A D | filter.cxx | 945 …Size aNewSize( OutputDevice::LogicToLogic( Size( nLogicalWidth, nLogicalHeight ), MAP_100TH_MM, aM… in ImpGetScaledGraphic() local 947 if( aNewSize.Width() && aNewSize.Height() ) in ImpGetScaledGraphic() 950 aMtf.Scale( Fraction( aNewSize.Width(), aPreferredSize.Width() ), in ImpGetScaledGraphic() 951 Fraction( aNewSize.Height(), aPreferredSize.Height() ) ); in ImpGetScaledGraphic()
|
/aoo42x/main/toolkit/inc/toolkit/controls/ |
H A D | unocontrols.hxx | 162 …awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::su… 312 …awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::su… 374 …awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::su… 453 …awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::su… 534 …awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::su… 609 …awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::su… 673 …awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::su… 877 …awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::su…
|