/aoo42x/main/sc/source/ui/formdlg/ |
H A D | dwfunctr.cxx | 350 Size aNewSize=GetOutputSizePixel(); in SetLeftRightSize() local 366 SetMyWidthLeRi(aNewSize); in SetLeftRightSize() 369 SetMyHeightLeRi(aNewSize); in SetLeftRightSize() 371 aOldSize=aNewSize; in SetLeftRightSize() 401 Size aNewSize=GetOutputSizePixel(); in SetTopBottonSize() local 405 SetMyWidthToBo(aNewSize); in SetTopBottonSize() 406 SetMyHeightToBo(aNewSize); in SetTopBottonSize() 433 if((sal_uLong)aNewSize.Width()<nMinWidth) aNewSize.Width()=nMinWidth; in SetMyWidthLeRi() 473 if((sal_uLong)aNewSize.Height()<nMinHeight) aNewSize.Height()=nMinHeight; in SetMyHeightLeRi() 522 if((sal_uLong)aNewSize.Width()<nMinWidth) aNewSize.Width()=nMinWidth; in SetMyWidthToBo() [all …]
|
/aoo42x/main/sfx2/source/dialog/ |
H A D | alienwarn.cxx | 109 aNewSize.Width() += nDelta; in InitSize() 120 aNewSize.Height() += nTextHeight; in InitSize() 122 aNewSize = GetSizePixel(); in InitSize() 123 aNewSize.Height() += nTextHeight; in InitSize() 124 SetSizePixel( aNewSize ); in InitSize() 133 aNewSize.Height() -= nDelta; in InitSize() 134 m_aInfoText.SetSizePixel( aNewSize ); in InitSize() 150 aNewSize = GetSizePixel(); in InitSize() 151 aNewSize.Height() -= nDelta; in InitSize() 152 SetSizePixel( aNewSize ); in InitSize() [all …]
|
H A D | printopt.cxx | 110 Size aNewSize = aReduceBitmapsResolutionRB.GetOptimalSize( WINDOWSIZE_PREFERRED ); in SfxCommonPrintOptionsTabPage() local 111 aNewSize.Width() += nOffset; in SfxCommonPrintOptionsTabPage() 112 aNewSize.Height() = aOldSize.Height(); in SfxCommonPrintOptionsTabPage() 113 long nDelta = aOldSize.Width() - aNewSize.Width(); in SfxCommonPrintOptionsTabPage() 114 aReduceBitmapsResolutionRB.SetSizePixel( aNewSize ); in SfxCommonPrintOptionsTabPage() 118 aNewSize = aReduceBitmapsResolutionLB.GetOptimalSize( WINDOWSIZE_PREFERRED ); in SfxCommonPrintOptionsTabPage() 119 aNewSize.Width() += nOffset; in SfxCommonPrintOptionsTabPage() 120 aNewSize.Height() = aOldSize.Height(); in SfxCommonPrintOptionsTabPage() 121 aReduceBitmapsResolutionLB.SetPosSizePixel( aPos, aNewSize ); in SfxCommonPrintOptionsTabPage()
|
/aoo42x/main/svx/source/gallery2/ |
H A D | GalleryControl.cxx | 118 const Size aNewSize( GetOutputSizePixel() ); in Resize() local 119 if (aNewSize.Width()<=0 || aNewSize.Height()<=0) in Resize() 122 const bool bNewLayoutHorizontal(aNewSize.Width() > aNewSize.Height()); in Resize() 136 if (nSplitPos > aNewSize.Height()/2) in Resize() 137 nSplitPos = aNewSize.Height()/2; in Resize() 158 Size( aNewSize.Width() - ( nFrameLen2 << 1 ) - nSplitSize, aNewSize.Height() ) ) ); in Resize() 162 … Size( aNewSize.Width() - nSplitSize - nSplitPos - nFrameLen, aNewSize.Height() - nFrameLen2 ) ); in Resize() 172 Size( aNewSize.Width(), nSplitSize ) ); in Resize() 177 Size( aNewSize.Width(), aNewSize.Height() - ( nFrameLen2 << 1 ) - nSplitSize ) )); in Resize() 181 … Size( aNewSize.Width() - nFrameLen2, aNewSize.Height() - nSplitSize - nSplitPos - nFrameLen )); in Resize() [all …]
|
H A D | galbrws.cxx | 152 const Size aNewSize( GetOutputSizePixel() ); in Resize() local 153 const bool bNewLayoutHorizontal(aNewSize.Width() > aNewSize.Height()); in Resize() 170 Size(nSplitPos - nFrameLen, aNewSize.Height() - nFrameLen2) ); in Resize() 174 Size( nSplitSize, aNewSize.Height() ) ); in Resize() 179 Size( aNewSize.Width() - ( nFrameLen2 << 1 ) - nSplitSize, aNewSize.Height() ) ) ); in Resize() 183 … Size( aNewSize.Width() - nSplitSize - nSplitPos - nFrameLen, aNewSize.Height() - nFrameLen2 ) ); in Resize() 189 Size(aNewSize.Width() - nFrameLen2, nSplitPos - nFrameLen)); in Resize() 193 Size( aNewSize.Width(), nSplitSize ) ); in Resize() 198 Size( aNewSize.Width(), aNewSize.Height() - ( nFrameLen2 << 1 ) - nSplitSize ) )); in Resize() 202 … Size( aNewSize.Width() - nFrameLen2, aNewSize.Height() - nSplitSize - nSplitPos - nFrameLen )); in Resize() [all …]
|
H A D | galctrl.cxx | 135 Size aNewSize( LogicToPixel( rGraphic.GetPrefSize(), rGraphic.GetPrefMapMode() ) ); in ImplGetGraphicCenterRect() local 138 if( aNewSize.Width() && aNewSize.Height() ) in ImplGetGraphicCenterRect() 141 const double fGrfWH = (double) aNewSize.Width() / aNewSize.Height(); in ImplGetGraphicCenterRect() 146 aNewSize.Width() = (long) ( aWinSize.Height() * fGrfWH ); in ImplGetGraphicCenterRect() 147 aNewSize.Height()= aWinSize.Height(); in ImplGetGraphicCenterRect() 151 aNewSize.Width() = aWinSize.Width(); in ImplGetGraphicCenterRect() 152 aNewSize.Height()= (long) ( aWinSize.Width() / fGrfWH); in ImplGetGraphicCenterRect() 155 const Point aNewPos( ( aWinSize.Width() - aNewSize.Width() ) >> 1, in ImplGetGraphicCenterRect() 156 ( aWinSize.Height() - aNewSize.Height() ) >> 1 ); in ImplGetGraphicCenterRect() 158 rResultRect = Rectangle( aNewPos, aNewSize ); in ImplGetGraphicCenterRect()
|
/aoo42x/main/cui/source/options/ |
H A D | optimprove.cxx | 88 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 D | optinet2.cxx | 589 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 …]
|
/aoo42x/main/uui/source/ |
H A D | secmacrowarnings.cxx | 247 aNewSize.Width() += nDelta; in InitControls() 255 aNewSize.Width() -= nDelta; in InitControls() 274 aNewSize.Width() += nDelta; in InitControls() 290 Size aNewSize, aMinSize; in FitControls() local 303 aNewSize.Height() -= nDelta; in FitControls() 311 aNewSize = maDescr2FI.GetSizePixel(); in FitControls() 312 aNewSize.Height() -= nDelta2; in FitControls() 313 maDescr2FI.SetSizePixel( aNewSize ); in FitControls() 332 aNewSize = GetSizePixel(); in FitControls() 333 aNewSize.Height() -= nDelta; in FitControls() [all …]
|
/aoo42x/main/sfx2/source/appl/ |
H A D | newhelp.cxx | 798 aNewSize = aIndexCB.GetSizePixel(); in Resize() 802 aIndexCB.SetSizePixel( aNewSize ); in Resize() 1154 aSearchFT.SetSizePixel( aNewSize ); in Resize() 1159 aScopeCB.SetSizePixel( aNewSize ); in Resize() 1163 aSearchED.SetSizePixel( aNewSize ); in Resize() 1175 aNewSize = aResultsLB.GetSizePixel(); in Resize() 1178 aResultsLB.SetSizePixel( aNewSize ); in Resize() 1428 aBookmarksFT.SetSizePixel( aNewSize ); in Resize() 1816 aActiveLB.SetSizePixel( aNewSize ); in Resize() 1820 aActiveLine.SetSizePixel( aNewSize ); in Resize() [all …]
|
/aoo42x/main/sd/source/ui/app/ |
H A D | sdmod1.cxx | 785 Size aNewSize; in ChangeMedium() local 813 aNewSize.Width() = aSize.Height(); in ChangeMedium() 814 aNewSize.Height() = aSize.Width(); in ChangeMedium() 818 aNewSize = aSize; in ChangeMedium() 823 aNewSize=Size(29700, 21000); in ChangeMedium() 845 aNewSize = Size(27000, 18000); in ChangeMedium() 855 aNewSize = Size(28000, 21000); in ChangeMedium() 865 aNewSize = Size(28000, 15750); in ChangeMedium() 875 aNewSize = Size(28000, 17500); in ChangeMedium() 900 pPage->SetSize(aNewSize); in ChangeMedium() [all …]
|
/aoo42x/main/xmlsecurity/source/dialogs/ |
H A D | certificateviewer.cxx | 173 Size aNewSize = maIssuedToLabelFI.GetSizePixel(); in CertificateViewerGeneralTP() local 174 aNewSize.Width() = nNewWidth; in CertificateViewerGeneralTP() 175 maIssuedToLabelFI.SetSizePixel( aNewSize ); in CertificateViewerGeneralTP() 176 maIssuedByLabelFI.SetSizePixel( aNewSize ); in CertificateViewerGeneralTP() 185 aNewSize = maIssuedToFI.GetSizePixel(); in CertificateViewerGeneralTP() 186 aNewSize.Width() = nNewWidth; in CertificateViewerGeneralTP() 187 maIssuedToFI.SetSizePixel( aNewSize ); in CertificateViewerGeneralTP() 188 maIssuedByFI.SetSizePixel( aNewSize ); in CertificateViewerGeneralTP() 442 Size aNewSize = maViewCertPB.GetSizePixel(); in CertificateViewerCertPathTP() local 443 aNewSize.Width() += nDelta; in CertificateViewerCertPathTP() [all …]
|
/aoo42x/main/dbaccess/source/ui/querydesign/ |
H A D | TableWindow.cxx | 712 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()
|
/aoo42x/main/svx/source/tbxctrls/ |
H A D | SvxColorValueSet.cxx | 128 Size aNewSize(CalcWindowSizePixel(aItemSize, getColumnCount())); in layoutToGivenHeight() local 131 const bool bAdaptHeight(static_cast< sal_uInt32 >(aNewSize.Height()) > nHeight); in layoutToGivenHeight() 136 aNewSize = CalcWindowSizePixel(aItemSize, getColumnCount()); in layoutToGivenHeight() 140 const sal_uInt32 nFieldHeight(aNewSize.Height() - aSizeNoScrollNoFields.Height()); in layoutToGivenHeight() 148 aNewSize.Height() = nHeight; in layoutToGivenHeight() 155 return aNewSize; in layoutToGivenHeight()
|
/aoo42x/main/svx/source/dialog/ |
H A D | connctrl.cxx | 155 Size aNewSize; in Construct() local 165 aNewSize.Width() = (long) ( (double) nHeight * fRectWH ); in Construct() 166 aNewSize.Height()= nHeight; in Construct() 170 aNewSize.Width() = nWidth; in Construct() 171 aNewSize.Height()= (long) ( (double) nWidth / fRectWH ); in Construct() 183 aNewPos.X() = ( nWidth - aNewSize.Width() ) >> 1; in Construct() 184 aNewPos.Y() = ( nHeight - aNewSize.Height() ) >> 1; in Construct()
|
H A D | graphctl.cxx | 282 Size aNewSize; in Resize() local 292 aNewSize.Width() = (long) ( (double) nHeight * fGrfWH ); in Resize() 293 aNewSize.Height()= nHeight; in Resize() 297 aNewSize.Width() = nWidth; in Resize() 298 aNewSize.Height()= (long) ( (double) nWidth / fGrfWH ); in Resize() 301 aNewPos.X() = ( nWidth - aNewSize.Width() ) >> 1; in Resize() 302 aNewPos.Y() = ( nHeight - aNewSize.Height() ) >> 1; in Resize() 305 aDisplayMap.SetScaleX( Fraction( aNewSize.Width(), aGraphSize.Width() ) ); in Resize() 306 aDisplayMap.SetScaleY( Fraction( aNewSize.Height(), aGraphSize.Height() ) ); in Resize()
|
/aoo42x/main/chart2/source/view/diagram/ |
H A D | VDiagram.cxx | 743 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()
|
/aoo42x/main/desktop/source/deployment/gui/ |
H A D | dp_gui_updatedialog.cxx | 1006 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 …]
|
/aoo42x/main/sc/source/ui/miscdlgs/ |
H A D | tabbgcolordlg.cxx | 128 const Size aNewSize(aTabBgColorSet.layoutAllVisible(nColorCount)); in FillColorValueSets_Impl() local 129 const Size aNewSizeBorderWin(aNewSize.Width() + nAdd, aNewSize.Height() + nAdd); in FillColorValueSets_Impl() 166 aTabBgColorSet.SetOutputSizePixel(aNewSize); in FillColorValueSets_Impl() 167 aTabBgColorSet.SetPosSizePixel(Point(nAdd/2, nAdd/2), aNewSize); in FillColorValueSets_Impl()
|
/aoo42x/main/sc/source/ui/navipi/ |
H A D | navipi.cxx | 877 Size aNewSize = GetOutputSizePixel(); in DoResize() local 878 long nTotalHeight = aNewSize.Height(); in DoResize() 903 aNewSize.Width() -= 2*nBorderOffset; in DoResize() 905 aDocSize.Width() = aNewSize.Width(); in DoResize() 911 aNewSize.Height() -= ( aEntryPos.Y() + nListHeight + 2*nBorderOffset ); in DoResize() 912 if(aNewSize.Height()<0) aNewSize.Height()=0; in DoResize() 914 aListPos.Y() = aEntryPos.Y() + aNewSize.Height() + nBorderOffset; in DoResize() 920 aLbEntries.SetSizePixel( aNewSize ); in DoResize() 921 aWndScenarios.SetSizePixel( aNewSize ); in DoResize()
|
/aoo42x/main/dbaccess/source/ui/app/ |
H A D | AppDetailPageHelper.cxx | 1438 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()
|
/aoo42x/main/sc/source/ui/inc/ |
H A D | dwfunctr.hxx | 108 void SetMyWidthLeRi(Size &aNewSize); 109 void SetMyHeightLeRi(Size &aNewSize); 110 void SetMyWidthToBo(Size &aNewSize); 111 void SetMyHeightToBo(Size &aNewSize);
|
/aoo42x/main/sw/source/ui/utlui/ |
H A D | navipi.cxx | 712 Size aNewSize (pParent->GetOutputSizePixel()); in Resize() local 722 aNewSize = pFloat->GetOutputSizePixel(); in Resize() 737 aNewSize.Height() -= (aPos.Y() + aPos.X() + nDocLBIniHeight + nDist); in Resize() 738 aNewSize.Width() -= 2 * nDist; in Resize() 739 aLBPos.Y() = aPos.Y() + aNewSize.Height() + nDist; in Resize() 743 aDocLBSz.Width() = aNewSize.Width(); in Resize() 744 if(aNewSize.Height() < 0) in Resize() 748 aContentTree.SetSizePixel(aNewSize); in Resize() 750 aNewSize.Height() += (nDist + nDocLBIniHeight + aPos.Y() - aGlobalTree.GetPosPixel().Y()); in Resize() 751 aGlobalTree.SetSizePixel(aNewSize); in Resize()
|
/aoo42x/main/fpicker/source/office/ |
H A D | iodlg.cxx | 2724 Size aNewSize = _pFileView->GetSizePixel(); in Resize() local 2726 long nDeltaY = aNewSize.Height(); in Resize() 2727 long nDeltaX = aNewSize.Width(); in Resize() 2733 nDeltaY = aNewSize.Height() - nDeltaY; in Resize() 2734 nDeltaX = aNewSize.Width() - nDeltaX; in Resize() 2738 aNewSize.Width() -= nWinDeltaW; in Resize() 2741 _pFileView->SetSizePixel( aNewSize ); in Resize() 2804 aNewSize.Width() += nDeltaX; in Resize() 2821 aNewSize.Width() += nWinDeltaW; in Resize() 2822 aNewSize.Height() += nDeltaY; in Resize() [all …]
|
/aoo42x/main/sw/source/ui/frmdlg/ |
H A D | cption.cxx | 458 Size aNewSize; in CheckButtonWidth() local 467 aNewSize = (*pCurrent)->GetSizePixel(); in CheckButtonWidth() 468 aNewSize.Width() += nDelta; in CheckButtonWidth() 469 (*pCurrent)->SetSizePixel( aNewSize ); in CheckButtonWidth() 472 aNewSize = GetOutputSizePixel(); in CheckButtonWidth() 473 aNewSize.Width() += nDelta; in CheckButtonWidth() 474 SetOutputSizePixel( aNewSize ); in CheckButtonWidth()
|