/trunk/main/uui/source/ |
H A D | masterpasscrtdlg.cxx | 140 Size aMinSize = aFTInfoText.CalcMinimumSize( aSize.Width() ); in CalculateTextHeight() local 143 if ( aSize.Height() > aMinSize.Height() ) in CalculateTextHeight() 145 aFTInfoText.SetSizePixel( aMinSize ); in CalculateTextHeight() 146 nDelta = aSize.Height() - aMinSize.Height(); in CalculateTextHeight() 161 aMinSize = aFTCautionText.CalcMinimumSize( aSize.Width() ); in CalculateTextHeight() 163 if ( aSize.Height() > aMinSize.Height() ) in CalculateTextHeight() 165 aFTCautionText.SetSizePixel( aMinSize ); in CalculateTextHeight() 166 long nTemp = aSize.Height() - aMinSize.Height(); in CalculateTextHeight()
|
H A D | secmacrowarnings.cxx | 290 Size aNewSize, aMinSize; in FitControls() local 297 aMinSize = maSignsFI.CalcMinimumSize( maSignsFI.GetSizePixel().Width() ); in FitControls() 298 nTxtH = Max( aMinSize.Height(), maViewSignsBtn.GetSizePixel().Height() ); in FitControls() 307 aMinSize = maDescr2FI.CalcMinimumSize( maDescr2FI.GetSizePixel().Width() ); in FitControls() 308 nTxtH = aMinSize.Height(); in FitControls()
|
/trunk/main/reportdesign/source/ui/report/ |
H A D | propbrw.cxx | 464 awt::Size aMinSize = xLayoutConstrains->getMinimumSize(); in getMinimumSize() local 465 aMinSize.Height += 4; in getMinimumSize() 466 aMinSize.Width += 4; in getMinimumSize() 467 aSize.setHeight( aMinSize.Height ); in getMinimumSize() 468 aSize.setWidth( aMinSize.Width ); in getMinimumSize() 480 ::Size aMinSize = getMinimumSize(); in Resize() 481 SetMinOutputSizePixel( aMinSize ); in Resize() 484 if( aSize.Width() < aMinSize.Width() ) in Resize() 486 aSize.setWidth( aMinSize.Width() ); in Resize() 489 if( aSize.Height() < aMinSize.Height() ) in Resize() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | ctredlin.cxx | 639 aMinSize=GetSizePixel(); in SvxTPView() 750 Size aSize=aMinSize; in GetMinSizePixel() 1431 aMinSize=pTPView->GetMinSizePixel(); in SvxAcceptChgCtr() 1439 aTCAccept.SetTabPageSizePixel(aMinSize); in SvxAcceptChgCtr() 1458 aMinSize=pTPView->GetMinSizePixel(); in SvxAcceptChgCtr() 1466 aTCAccept.SetTabPageSizePixel(aMinSize); in SvxAcceptChgCtr() 1490 aMinSize=pTPView->GetMinSizePixel(); in Resize() 1494 if(aMinSize.Height()>aSize.Height()) in Resize() 1496 aSize.Height()=aMinSize.Height(); in Resize() 1499 if(aMinSize.Width()>aSize.Width()) in Resize() [all …]
|
H A D | imapdlg.cxx | 283 Size aMinSize( GetMinOutputSizePixel() ); in Resize() local 286 if ( aNewSize.Height() >= aMinSize.Height() ) in Resize()
|
H A D | _contdlg.cxx | 465 Size aMinSize( GetMinOutputSizePixel() ); in Resize() local 468 if ( aNewSize.Height() >= aMinSize.Height() ) in Resize()
|
/trunk/main/svx/source/form/ |
H A D | fmPropBrw.cxx | 484 ::com::sun::star::awt::Size aMinSize = xLayoutConstrains->getMinimumSize(); in implSetNewSelection() 488 aMinSize.Width += nLeft + nRight + 8; in implSetNewSelection() 489 aMinSize.Height += nTop + nBottom + 8; in implSetNewSelection() 491 aConstrainedSize.setHeight( aMinSize.Height ); in implSetNewSelection() 492 aConstrainedSize.setWidth( aMinSize.Width ); in implSetNewSelection() 496 if( aConstrainedSize.Width() < aMinSize.Width ) in implSetNewSelection() 498 aConstrainedSize.setWidth( aMinSize.Width ); in implSetNewSelection() 501 if( aConstrainedSize.Height() < aMinSize.Height ) in implSetNewSelection() 503 aConstrainedSize.setHeight( aMinSize.Height ); in implSetNewSelection()
|
/trunk/main/framework/source/helper/ |
H A D | dockingareadefaultacceptor.cxx | 131 css::awt::Size aMinSize( 0, 0 ); // = xLayoutContrains->getMinimumSize(); 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() 168 css::awt::Size aMinSize( 0, 0 );// = xLayoutContrains->getMinimumSize(); in setDockingAreaSpace() local 174 if (( nWidth > aMinSize.Width ) && ( nHeight > aMinSize.Height )) in setDockingAreaSpace()
|
/trunk/main/svtools/source/filter/ |
H A D | exportdialog.cxx | 758 Size aMinSize( maMfSizeX.GetSizePixel() ); in createSizeControls() local 760 xColumn->setMinimumSize( nIndex, aMinSize ); in createSizeControls() 768 xColumn->setMinimumSize( nIndex, aMinSize ); in createSizeControls() 778 xColumn->setMinimumSize( nIndex, aMinSize ); in createSizeControls() 844 Size aMinSize( maSbCompression.GetSizePixel() ); in createScrollBar() local 846 xRow->setMinimumSize( nIndex, aMinSize ); in createScrollBar() 847 aMinSize = maNfCompression.GetSizePixel(); in createScrollBar() 849 xRow->setMinimumSize( nIndex, aMinSize ); in createScrollBar() 1111 Size aMinSize( maBtnCancel.GetSizePixel() ); in createButtons() local 1113 xButtons->setMinimumSize( xButtons->addWindow( &maBtnHelp ), aMinSize ); in createButtons() [all …]
|
/trunk/main/filter/source/pdf/ |
H A D | impdialog.cxx | 459 Size aMinSize = maCbExportEmptyPages.CalcMinimumSize(); in ImpPDFTabGeneralPage() local 460 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabGeneralPage() 1072 Size aMinSize = maRbChangesComment.CalcMinimumSize(); in ImpPDFTabSecurityPage() local 1073 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabSecurityPage() 1295 Size aMinSize = maCbExprtBmkrToNmDst.CalcMinimumSize(); in ImpPDFTabLinksPage() local 1298 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabLinksPage() 1309 aMinSize = maCbOOoToPDFTargets.CalcMinimumSize(); in ImpPDFTabLinksPage() 1310 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabLinksPage() 1321 aMinSize = maCbExportRelativeFsysLinks.CalcMinimumSize(); in ImpPDFTabLinksPage() 1322 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabLinksPage()
|
/trunk/main/dbaccess/source/ui/dlg/ |
H A D | adminpages.cxx | 334 const Size aMinSize( io_button.CalcMinimumSize() ); in fitSizeRightAligned() local 335 if ( aMinSize.Width() > aOldSize.Width() ) in fitSizeRightAligned() 338 aOldPos.X() + aOldSize.Width() - aMinSize.Width(), in fitSizeRightAligned() 340 aMinSize.Width(), in fitSizeRightAligned()
|
/trunk/main/sfx2/source/dialog/ |
H A D | dockwin.cxx | 441 Size aMinSize; member in SfxDockingWindow_Impl 1035 Size aMinSize( GetMinOutputSizePixel() ); in Initialize() local 1037 if ( pImp->aSplitSize.Width() < aMinSize.Width() ) in Initialize() 1038 pImp->aSplitSize.Width() = aMinSize.Width(); in Initialize() 1039 if ( pImp->aSplitSize.Height() < aMinSize.Height() ) in Initialize() 1040 pImp->aSplitSize.Height() = aMinSize.Height(); in Initialize() 1839 pImp->aMinSize = rSize; in SetMinOutputSizePixel() 1853 return pImp->aMinSize; in GetMinOutputSizePixel()
|
H A D | alienwarn.cxx | 128 Size aMinSize = m_aInfoText.CalcMinimumSize( m_aInfoText.GetSizePixel().Width() ); in InitSize() local 129 long nTxtH = aMinSize.Height(); in InitSize()
|
H A D | templdlg.cxx | 2667 Size aMinSize = GetMinOutputSizePixel(); in Resize() local 2678 if(aDlgSize.Width() >= aMinSize.Width()) in Resize() 2705 if(aDlgSize.Height() >= aMinSize.Height()) in Resize() 2730 Size aMinSize=Size( in GetMinOutputSizePixel() local 2734 return aMinSize; in GetMinOutputSizePixel()
|
/trunk/main/sc/source/ui/navipi/ |
H A D | navipi.cxx | 1275 Size aMinSize = aInitSize; in ShowList() local 1277 aMinSize.Height() += nInitListHeight; in ShowList() 1279 pFloat->SetMinOutputSizePixel( aMinSize ); in ShowList() 1323 Size aMinSize = aInitSize; in ShowScenarios() local 1324 aMinSize.Height() += nInitListHeight; in ShowScenarios() 1326 pFloat->SetMinOutputSizePixel( aMinSize ); in ShowScenarios()
|
/trunk/main/sw/source/ui/utlui/ |
H A D | navipi.cxx | 866 Size aMinSize(pFloat ? nWishWidth : 0, pFloat ? nZoomOutInit : 0); in SwNavigationPI() local 867 pDockingParent->SetMinOutputSizePixel(aMinSize); in SwNavigationPI() 874 if (aTmpParentSize.Width() < aMinSize.Width() in SwNavigationPI() 875 || aTmpParentSize.Height() < aMinSize.Height()) in SwNavigationPI() 880 pSfxDockingParent->SetOutputSizePixel(aMinSize); in SwNavigationPI()
|
/trunk/main/svtools/source/contnr/ |
H A D | imivctl1.cxx | 2991 Size aMinSize( aImageSize ); in GetMinGrid() local 2992 aMinSize.Width() += 2 * LROFFS_BOUND; in GetMinGrid() 2999 aMinSize.Height() += aTextSize.Height(); in GetMinGrid() 3003 aMinSize.Width() += HOR_DIST_BMP_STRING; in GetMinGrid() 3004 aMinSize.Width() += aTextSize.Width(); in GetMinGrid() 3006 return aMinSize; in GetMinGrid() 3012 Size aMinSize( GetMinGrid() ); in SetGrid() local 3013 if( aSize.Width() < aMinSize.Width() ) in SetGrid() 3014 aSize.Width() = aMinSize.Width(); in SetGrid() 3015 if( aSize.Height() < aMinSize.Height() ) in SetGrid() [all …]
|
/trunk/main/extensions/source/propctrlr/ |
H A D | propcontroller.cxx | 1149 awt::Size aMinSize = getMinimumSize( ); in calcAdjustedSize() local 1151 if ( aAdjustedSize.Width < aMinSize.Width ) in calcAdjustedSize() 1152 aAdjustedSize.Width = aMinSize.Width; in calcAdjustedSize() 1153 if ( aAdjustedSize.Height < aMinSize.Height ) in calcAdjustedSize() 1154 aAdjustedSize.Height = aMinSize.Height; in calcAdjustedSize()
|
/trunk/main/svx/inc/svx/ |
H A D | ctredlin.hxx | 335 Size aMinSize; member in SvxTPView 399 Size aMinSize; member in SvxAcceptChgCtr
|
/trunk/main/vcl/unx/kde4/ |
H A D | KDESalGraphics.cxx | 681 QSize aMinSize = kapp->style()-> in getNativeControlRegion() local 683 if( aMinSize.height() > contentRect.height() ) in getNativeControlRegion() 684 contentRect.adjust( 0, 0, 0, aMinSize.height() - contentRect.height() ); in getNativeControlRegion()
|
/trunk/main/vcl/source/window/ |
H A D | printdlg.cxx | 1070 Size aMinSize( maCancelButton.GetSizePixel() ); in setupLayout() local 1072 xButtons->setMinimumSize( xButtons->addWindow( &maHelpButton ), aMinSize ); in setupLayout() 1076 xButtons->setMinimumSize( xButtons->addWindow( &maOKButton ), aMinSize ); in setupLayout() 1077 xButtons->setMinimumSize( xButtons->addWindow( &maCancelButton ), aMinSize ); in setupLayout() 2228 Size aMinSize( maJobPage.getLayout()->getOptimalSize( WINDOWSIZE_MINIMUM ) ); in IMPL_LINK() local 2230 if( aCurSize.Height() < aMinSize.Height() ) in IMPL_LINK() 2233 aDlgSize.Height() += aMinSize.Height() - aCurSize.Height(); in IMPL_LINK()
|
/trunk/main/sd/source/ui/animations/ |
H A D | SlideTransitionPane.cxx | 1337 Size aMinSize( pWindow->LogicToPixel( Size( 72, 216 ), MAP_APPFONT ) ); in createSlideTransitionPanel() local 1338 ::Window* pPaneWindow = new SlideTransitionPane( pWindow, rBase, aMinSize, pDocSh->GetDoc() ); in createSlideTransitionPanel() 1339 pWindow->SetChildWindow( pPaneWindow, aMinSize ); in createSlideTransitionPanel()
|
H A D | CustomAnimationPane.cxx | 2588 const Size aMinSize( pWindow->LogicToPixel( Size( 80, 256 ), MAP_APPFONT ) ); in createCustomAnimationPanel() local 2589 pWindow->SetSizePixel(aMinSize); in createCustomAnimationPanel() 2592 ::Window* pPaneWindow = new CustomAnimationPane( pWindow, rBase, aMinSize ); in createCustomAnimationPanel() 2593 pWindow->SetChildWindow( pPaneWindow, aMinSize ); in createCustomAnimationPanel()
|
/trunk/main/toolkit/source/awt/ |
H A D | vclxwindow.cxx | 2241 ::com::sun::star::awt::Size aMinSize = getMinimumSize(); in calcAdjustedSize() 2243 if ( aNewSize.Width < aMinSize.Width ) in calcAdjustedSize() 2244 aNewSize.Width = aMinSize.Width; in calcAdjustedSize() 2245 if ( aNewSize.Height < aMinSize.Height ) in calcAdjustedSize() 2246 aNewSize.Height = aMinSize.Height; in calcAdjustedSize()
|
/trunk/main/framework/source/layoutmanager/ |
H A D | toolbarlayoutmanager.cxx | 2649 ::Size aMinSize; in implts_calcWindowPosSizeOnSingleRowColumn() 2656 aMinSize = ((ToolBox *)pWindow)->CalcMinimumWindowSizePixel(); in implts_calcWindowPosSizeOnSingleRowColumn() 2659 if (( aMinSize.Width() > 0 ) && ( aMinSize.Height() > 0 )) in implts_calcWindowPosSizeOnSingleRowColumn() 2663 sal_Int32 nMaxReducation = ( rWinRect.Width - aMinSize.Width() ); in implts_calcWindowPosSizeOnSingleRowColumn() 2671 rWinRect.Width = aMinSize.Width(); in implts_calcWindowPosSizeOnSingleRowColumn() 2681 sal_Int32 nMaxReducation = ( rWinRect.Height - aMinSize.Height() ); in implts_calcWindowPosSizeOnSingleRowColumn() 2689 rWinRect.Height = aMinSize.Height(); in implts_calcWindowPosSizeOnSingleRowColumn()
|