Home
last modified time | relevance | path

Searched refs:aNewSize (Results 1 – 25 of 115) sorted by relevance

12345

/aoo41x/main/sfx2/source/dialog/
H A Dalienwarn.cxx109 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 Dprintopt.cxx110 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()
/aoo41x/main/sc/source/ui/formdlg/
H A Ddwfunctr.cxx350 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 …]
/aoo41x/main/svx/source/gallery2/
H A DGalleryControl.cxx118 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 Dgalbrws.cxx152 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 Dgalctrl.cxx135 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()
/aoo41x/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 …]
/aoo41x/main/uui/source/
H A Dsecmacrowarnings.cxx247 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 …]
/aoo41x/main/sfx2/source/appl/
H A Dnewhelp.cxx798 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 …]
/aoo41x/main/xmlsecurity/source/dialogs/
H A Dcertificateviewer.cxx173 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 …]
/aoo41x/main/svx/source/tbxctrls/
H A DSvxColorValueSet.cxx128 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()
/aoo41x/main/dbaccess/source/ui/querydesign/
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()
/aoo41x/main/svx/source/dialog/
H A Dconnctrl.cxx155 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 Dgraphctl.cxx282 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()
/aoo41x/main/sd/source/ui/app/
H A Dsdmod1.cxx789 Size aNewSize; in ChangeMedium() local
817 aNewSize.Width() = aSize.Height(); in ChangeMedium()
818 aNewSize.Height() = aSize.Width(); in ChangeMedium()
822 aNewSize = aSize; in ChangeMedium()
827 aNewSize=Size(29700, 21000); in ChangeMedium()
849 aNewSize = Size(27000, 18000); in ChangeMedium()
859 aNewSize = Size(28000, 21000); in ChangeMedium()
883 pPage->ScaleObjects(aNewSize, aBorderRect, bScaleAll); in ChangeMedium()
884 pPage->SetSize(aNewSize); in ChangeMedium()
906 pPage->ScaleObjects(aNewSize, aBorderRect, bScaleAll); in ChangeMedium()
[all …]
/aoo41x/main/soldep/source/
H A Ddepper.cxx321 Size aNewSize; in AddObjectToList() local
322 aNewSize.Width() = pWin->GetTextWidth( String( rBodyText, RTL_TEXTENCODING_UTF8 )); in AddObjectToList()
323 aNewSize.Height() = pWin->GetTextHeight(); in AddObjectToList()
324 if ( aNewSize.Width() > rSize.Width() - 8 ) in AddObjectToList()
326 aNewSize.Width() = aNewSize.Width() + 8; in AddObjectToList()
327 aNewSize.Height() = rSize.Height(); in AddObjectToList()
330 aNewSize = rSize; in AddObjectToList()
331 pWin->SetPosSizePixel( rPos,aNewSize); in AddObjectToList()
/aoo41x/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()
/aoo41x/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 …]
/aoo41x/main/sc/source/ui/miscdlgs/
H A Dtabbgcolordlg.cxx129 const Size aNewSize(aTabBgColorSet.layoutAllVisible(nColorCount)); in FillColorValueSets_Impl() local
130 const Size aNewSizeBorderWin(aNewSize.Width() + nAdd, aNewSize.Height() + nAdd); in FillColorValueSets_Impl()
167 aTabBgColorSet.SetOutputSizePixel(aNewSize); in FillColorValueSets_Impl()
168 aTabBgColorSet.SetPosSizePixel(Point(nAdd/2, nAdd/2), aNewSize); in FillColorValueSets_Impl()
/aoo41x/main/sc/source/ui/inc/
H A Ddwfunctr.hxx108 void SetMyWidthLeRi(Size &aNewSize);
109 void SetMyHeightLeRi(Size &aNewSize);
110 void SetMyWidthToBo(Size &aNewSize);
111 void SetMyHeightToBo(Size &aNewSize);
/aoo41x/main/sc/source/ui/navipi/
H A Dnavipi.cxx877 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()
/aoo41x/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()
/aoo41x/main/slideshow/source/engine/
H A Danimatedsprite.cxx111 ::basegfx::B2DSize aNewSize( maEffectiveSpriteSizePixel ); in resize()
118aNewSize.setX( ::canvas::tools::nextPow2( ::basegfx::fround(rSpriteSizePixel.getX()) ) ); in resize()
126aNewSize.setY( ::canvas::tools::nextPow2( ::basegfx::fround(rSpriteSizePixel.getY()) ) ); in resize()
139 maEffectiveSpriteSizePixel = aNewSize; in resize()
/aoo41x/main/toolkit/qa/complex/toolkit/
H A DUnitConversion.java204 …com.sun.star.awt.Size aNewSize = m_xConversion.convertSizeToPixel(aSizeInMM_100TH, com.sun.star.ut… in testXUnitConversion() local
206 System.out.println("Width:" + aNewSize.Width + " pixel"); in testXUnitConversion()
207 System.out.println("Height:" + aNewSize.Height + " pixel"); in testXUnitConversion()
210 …: Size from pixel to 1/100mm to pixel", aSize.Width == aNewSize.Width && aSize.Height == aNewSize.… in testXUnitConversion()

Completed in 176 milliseconds

12345