/trunk/main/sd/source/ui/animations/ |
H A D | SlideTransitionPane.cxx | 616 long nMaxWidth = aPaneSize.getWidth() - 2 * nOffsetX; in updateLayout() local 626 aCtrlSize.setWidth( nMaxWidth ); in updateLayout() 669 aCtrlSize.setWidth( nMaxWidth ); in updateLayout() 676 if( (nItemWidth + nMinCtrlWidth + nOffsetX) <= nMaxWidth ) in updateLayout() 712 aCtrlSize.setWidth( nMaxWidth ); in updateLayout() 718 aCtrlSize.setWidth( nMaxWidth ); in updateLayout() 727 bool bStack = ( (nIndent + nMinCtrlWidth + nOffsetX) > nMaxWidth ); in updateLayout() 733 aCtrlSize.setWidth( nMaxWidth - nIndent ); in updateLayout() 767 aCtrlSize.setWidth( nMaxWidth ); in updateLayout() 773 aCtrlSize.setWidth( nMaxWidth ); in updateLayout() [all …]
|
/trunk/main/svx/inc/svx/ |
H A D | framelink.hxx | 121 … Style( const SvxBorderLine& rBorder, double fScale = 1.0, sal_uInt16 nMaxWidth = SAL_MAX_UINT16… in Style() argument 122 meRefMode( REFMODE_CENTERED ) { Set( rBorder, fScale, nMaxWidth ); } in Style() 124 … Style( const SvxBorderLine* pBorder, double fScale = 1.0, sal_uInt16 nMaxWidth = SAL_MAX_UINT16… in Style() argument 125 meRefMode( REFMODE_CENTERED ) { Set( pBorder, fScale, nMaxWidth ); } in Style() 145 … Set( const SvxBorderLine& rBorder, double fScale = 1.0, sal_uInt16 nMaxWidth = SAL_MAX_UINT16… 147 … Set( const SvxBorderLine* pBorder, double fScale = 1.0, sal_uInt16 nMaxWidth = SAL_MAX_UINT16… 157 Style& ScaleSelf( double fScale, sal_uInt16 nMaxWidth = SAL_MAX_UINT16 ); 159 Style Scale( double fScale, sal_uInt16 nMaxWidth = SAL_MAX_UINT16 ) const;
|
H A D | swframevalidation.hxx | 54 sal_Int32 nMaxWidth; member 75 nMaxWidth(SAL_MAX_INT32), in SvxSwFrameValidation()
|
/trunk/main/vcl/source/window/ |
H A D | msgbox.cxx | 256 long nMaxWidth = GetDesktopRectPixel().GetWidth()-8; in ImplPosControls() local 285 nMaxWidth = 630; in ImplPosControls() 286 else if ( nMaxWidth < 120 ) in ImplPosControls() 287 nMaxWidth = 120; in ImplPosControls() 289 nMaxWidth -= mpWindowImpl->mnLeftBorder+mpWindowImpl->mnRightBorder+4; in ImplPosControls() 296 nMaxWidth -= (IMPL_DIALOG_OFFSET*2)+(IMPL_MSGBOX_OFFSET_EXTRA_X*2); in ImplPosControls() 315 nMaxWidth -= aImageSize.Width()+IMPL_SEP_MSGBOX_IMAGE; in ImplPosControls() 334 if ( nWidth > nMaxWidth ) in ImplPosControls() 335 nWidth = nMaxWidth; in ImplPosControls()
|
/trunk/main/sw/source/core/text/ |
H A D | pormulti.cxx | 424 nMaxWidth -= rInf.X(); in FormatBrackets() 440 if( nMaxWidth > aSize.Width() ) in FormatBrackets() 443 nMaxWidth -= aSize.Width(); in FormatBrackets() 449 nMaxWidth = 0; in FormatBrackets() 472 nMaxWidth -= aSize.Width(); in FormatBrackets() 477 nMaxWidth = 0; in FormatBrackets() 482 nMaxWidth += rInf.X(); in FormatBrackets() 1809 nMaxWidth = pUpperFrm ? in BuildMultiPortion() 1824 SwTwips nActWidth = nMaxWidth; in BuildMultiPortion() 2005 nMaxWidth = nActWidth; in BuildMultiPortion() [all …]
|
H A D | porfld.cxx | 1242 sal_uInt16 nMaxDescent, nMaxAscent, nMaxWidth; in Format() local 1256 nMaxWidth = 0; in Format() 1283 Width( nMaxWidth ); in Format() 1287 nMaxWidth = 0; in Format() 1289 nMaxWidth = nMaxWidth + aPos[ i++ ]; in Format() 1298 nMaxWidth *= 2; in Format() 1324 if( nMaxWidth > Width() ) in Format() 1326 nTopDiff = ( nMaxWidth - Width() ) / 2; in Format() 1327 Width( nMaxWidth ); in Format() 1330 nBotDiff = ( Width() - nMaxWidth ) / 2; in Format()
|
H A D | itratr.cxx | 442 sal_uLong nMaxWidth; // Summe aller Rahmenbreite member in SwMinMaxNodeArgs 576 ( (SwMinMaxNodeArgs*)pArgs )->nMaxWidth += nMax; in lcl_MinMaxNode() 618 aNodeArgs.nMaxWidth = 0; in GetMinMaxSize() 636 aNodeArgs.nMaxWidth -= aNodeArgs.nLeftRest; in GetMinMaxSize() 642 aNodeArgs.nMaxWidth -= aNodeArgs.nRightRest; in GetMinMaxSize() 807 rMax += aNodeArgs.nMaxWidth; in GetMinMaxSize()
|
/trunk/main/svtools/source/control/ |
H A D | prgsbar.cxx | 156 long nMaxWidth = (aSize.Width()-(PROGRESSBAR_WIN_OFFSET*2)+PROGRESSBAR_OFFSET); in ImplDrawProgress() local 157 sal_uInt16 nMaxCount = (sal_uInt16)(nMaxWidth / (mnPrgsWidth+PROGRESSBAR_OFFSET)); in ImplDrawProgress() 162 while ( ((10000/(10000/nMaxCount))*(mnPrgsWidth+PROGRESSBAR_OFFSET)) > nMaxWidth ) in ImplDrawProgress() 166 nMaxWidth = ((10000/(10000/nMaxCount))*(mnPrgsWidth+PROGRESSBAR_OFFSET))-PROGRESSBAR_OFFSET; in ImplDrawProgress() 167 maPos.X() = (aSize.Width()-nMaxWidth)/2; in ImplDrawProgress()
|
/trunk/main/svx/source/dialog/ |
H A D | framelink.cxx | 205 sal_uInt16 lclScaleValue( long nValue, double fScale, sal_uInt16 nMaxWidth ) in lclScaleValue() argument 210 static_cast< long >( nValue * fScale ), 1L ), nMaxWidth ) ) : 0; in lclScaleValue() 1200 #define SCALEVALUE( value ) lclScaleValue( value, fScale, nMaxWidth ) 1227 void Style::Set( const SvxBorderLine& rBorder, double fScale, sal_uInt16 nMaxWidth, bool bUseDots ) in Set() argument 1249 while( GetWidth() > nMaxWidth ) in Set() 1255 if( GetWidth() > nMaxWidth ) in Set() 1268 if( (GetWidth() > nMaxWidth) && mnSecn ) in Set() 1279 Set( *pBorder, fScale, nMaxWidth, bUseDots ); in Set() 1287 Style& Style::ScaleSelf( double fScale, sal_uInt16 nMaxWidth ) in ScaleSelf() argument 1293 Style Style::Scale( double fScale, sal_uInt16 nMaxWidth ) const in Scale() [all …]
|
H A D | hyprlink.cxx | 129 nMaxWidth = GetSizePixel().Width(); in SvxHyperlinkDlg() 225 long nDeltaW = nMaxWidth - nWidth + aUrlCB.LogicToPixel(Size(3, 1)).Width() + 1; in Resize() 253 if (rSize.Width() > nMaxWidth) in Resizing() 254 rSize.Width() = nMaxWidth; in Resizing() 866 nMaxWidth = GetSizePixel().Width(); in HyperCombo() 928 long nNewWidth = Max(nMaxWidth - nW * GetRatio() / 100L, nMinWidth); in CalcResizeWidth() 930 if (nNewWidth > nMaxWidth) in CalcResizeWidth() 931 nNewWidth = nMaxWidth; in CalcResizeWidth()
|
H A D | hyprdlg.hxx | 44 long nMaxWidth; member in HyperCombo 57 inline long GetResizeWidth() { return (nMaxWidth - nMinWidth); } in GetResizeWidth() 97 long nMaxWidth; member in SvxHyperlinkDlg
|
/trunk/main/svtools/source/dialogs/ |
H A D | filedlg2.cxx | 559 long nMaxWidth = 0; in PreExecute() local 571 if( nMaxWidth < nWidth ) in PreExecute() 572 nMaxWidth = nWidth; in PreExecute() 574 if( nMaxWidth < nWidth ) in PreExecute() 575 nMaxWidth = nWidth; in PreExecute() 579 if( nMaxWidth > aSize.Width() ) in PreExecute() 582 …GetPathDialog()->SetOutputSizePixel( Size( aDlgSize.Width()+nMaxWidth-aSize.Width(), aDlgSize.Heig… in PreExecute() 583 aSize.Width() = nMaxWidth; in PreExecute() 593 nMaxWidth = aSize.Width(); in PreExecute()
|
/trunk/main/sw/source/ui/frmdlg/ |
H A D | frmmgr.cxx | 367 rVal.nMaxWidth = aBoundRect.Right() - nH; in ValidateMetrics() 433 rVal.nMaxWidth = rVal.nMaxHPos + rVal.nWidth - nH; in ValidateMetrics() 460 rVal.nMaxWidth = rVal.nMaxHPos + rVal.nWidth - nH; in ValidateMetrics() 492 rVal.nMaxWidth = aBoundRect.Width(); in ValidateMetrics() 512 if (rVal.nMaxWidth < rVal.nWidth) in ValidateMetrics() 513 rVal.nWidth = rVal.nMaxWidth; in ValidateMetrics()
|
/trunk/main/vcl/source/gdi/ |
H A D | outdev3.cxx | 4039 long nMaxWidth = nStrikeoutWidth * 3 / 4; in ImplDrawStrikeoutChar() local 4040 if ( nMaxWidth < 2 ) in ImplDrawStrikeoutChar() 4041 nMaxWidth = 2; in ImplDrawStrikeoutChar() 4042 nMaxWidth += nWidth + 1; in ImplDrawStrikeoutChar() 6710 long nMaxWidth; in GetTextRect() local 6724 nMaxWidth = 0; in GetTextRect() 6745 nMaxWidth = nWidth; in GetTextRect() 6761 else if ( !nMaxWidth ) in GetTextRect() 6779 pInfo->mnMaxWidth = nMaxWidth; in GetTextRect() 6786 nMaxWidth = nWidth; in GetTextRect() [all …]
|
H A D | sallayout.cxx | 1472 int GenericSalLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const in GetTextBreak() argument 1483 if( nWidth >= nMaxWidth ) in GetTextBreak() 2133 int MultiSalLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const in GetTextBreak() argument 2138 return mpLayouts[0]->GetTextBreak( nMaxWidth, nCharExtra, nFactor ); in GetTextBreak() 2162 if( nWidth > nMaxWidth ) in GetTextBreak() 2174 long nMaxWidth = 0; in FillDXArray() local 2196 if( nMaxWidth < nTextWidth ) in FillDXArray() 2197 nMaxWidth = nTextWidth; in FillDXArray() 2215 return nMaxWidth; in FillDXArray()
|
/trunk/main/padmin/source/ |
H A D | padialog.cxx | 449 long nWidth = 0, nMaxWidth = 0; in printPage() local 473 nMaxWidth = ( nWidth = pPrinter->GetTextWidth( aToken ) ) > nMaxWidth ? nWidth : nMaxWidth; in printPage() 505 pPrinter->DrawText( Rectangle( Point( 1100 + nMaxWidth, 1000 ), in printPage() 506 Size( aPaperSize.Width() - 2100 - nMaxWidth, in printPage()
|
/trunk/main/svtools/source/contnr/ |
H A D | svimpicn.cxx | 115 const XubString& rStr, long nMaxWidth, in GetEllipsisString() argument 386 *pMaxWidth = nMaxWidth; in GetTextLines() 399 long nMaxWidth; in GetTextRect() local 408 nMaxWidth = 0; in GetTextRect() 420 nMaxWidth = nWidth; in GetTextRect() 425 if ( pLineInfo->GetWidth() > nMaxWidth ) in GetTextRect() 426 nMaxWidth = pLineInfo->GetWidth(); in GetTextRect() 435 nMaxWidth = nWidth; in GetTextRect() 439 aRect.Left() = aRect.Right()-nMaxWidth+1; in GetTextRect() 442 aRect.Left() += (nWidth-nMaxWidth)/2; in GetTextRect() [all …]
|
/trunk/main/toolkit/source/layout/core/ |
H A D | flow.cxx | 112 Flow::calculateSize( long nMaxWidth ) in calculateSize() argument 138 if ( nMaxWidth && nRowWidth > 0 && nRowWidth + aChildSize.Width > nMaxWidth ) in calculateSize()
|
/trunk/main/vcl/source/control/ |
H A D | tabctrl.cxx | 283 Size TabControl::ImplGetItemSize( ImplTabItem* pItem, long nMaxWidth ) in ImplGetItemSize() argument 320 if ( aSize.Width()+4 >= nMaxWidth ) in ImplGetItemSize() 331 while ( (aSize.Width()+4 >= nMaxWidth) && (pItem->maFormatText.Len() > aAppendStr.Len()) ); in ImplGetItemSize() 332 if ( aSize.Width()+4 >= nMaxWidth ) in ImplGetItemSize() 414 long nMaxWidth = nWidth; in ImplGetTabRect() local 417 if ( (mnMaxPageWidth > 0) && (mnMaxPageWidth < nMaxWidth) ) in ImplGetTabRect() 418 nMaxWidth = mnMaxPageWidth; in ImplGetTabRect() 419 nMaxWidth -= GetItemsOffset().X(); in ImplGetTabRect() 431 aSize = ImplGetItemSize( &(*it), nMaxWidth ); in ImplGetTabRect() 527 int nRightSpace=nMaxWidth;// space left on the right by the tabs in ImplGetTabRect()
|
H A D | button.cxx | 1836 Size PushButton::CalcMinimumSize( long nMaxWidth ) const in CalcMinimumSize() 1854 …Size textSize = GetTextRect( Rectangle( Point(), Size( nMaxWidth ? nMaxWidth : 0x7fffffff, 0x7ffff… in CalcMinimumSize() 3195 nMaxWidth -= aSize.Width(); in CalcMinimumSize() 3201 nMaxWidth-=2; in CalcMinimumSize() 3202 nMaxWidth -= ImplGetImageToTextDistance(); in CalcMinimumSize() 3204 …Size aTextSize = GetTextRect( Rectangle( Point(), Size( nMaxWidth > 0 ? nMaxWidth : 0x7fffffff, 0x… in CalcMinimumSize() 4096 Size CheckBox::CalcMinimumSize( long nMaxWidth ) const in CalcMinimumSize() 4099 nMaxWidth -= aSize.Width(); in CalcMinimumSize() 4105 nMaxWidth-=2; in CalcMinimumSize() 4106 nMaxWidth -= ImplGetImageToTextDistance(); in CalcMinimumSize() [all …]
|
H A D | fixed.cxx | 384 Size FixedText::CalcMinimumTextSize( Control const *pControl, long nMaxWidth ) in CalcMinimumTextSize() argument 390 …Size aSize = pControl->GetTextRect( Rectangle( Point(), Size( (nMaxWidth ? nMaxWidth : 0x7fffffff)… in CalcMinimumTextSize() 405 Size FixedText::CalcMinimumSize( long nMaxWidth ) const in CalcMinimumSize() 407 return CalcWindowSize( CalcMinimumTextSize ( this, nMaxWidth ) ); in CalcMinimumSize()
|
/trunk/main/vcl/inc/vcl/ |
H A D | tabctrl.hxx | 73 SAL_DLLPRIVATE Size ImplGetItemSize( ImplTabItem* pItem, long nMaxWidth ); 148 void SetMaxPageWidth( long nMaxWidth ) { mnMaxPageWidth = nMaxWidth; } in SetMaxPageWidth() argument
|
/trunk/main/vcl/inc/ |
H A D | sallayout.hxx | 174 virtual int GetTextBreak( long nMaxWidth, long nCharExtra=0, int nFactor=1 ) const = 0; 236 virtual int GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const; 330 virtual int GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const;
|
/trunk/main/sw/source/ui/shells/ |
H A D | drwbassh.cxx | 910 pValidation->nMaxWidth = aBoundRect.Right() - nH; in IMPL_LINK() 971 pValidation->nMaxWidth = pValidation->nMaxHPos + pValidation->nWidth - nH; in IMPL_LINK() 979 pValidation->nMaxWidth = aBoundRect.Width(); in IMPL_LINK() 997 if (pValidation->nMaxWidth < pValidation->nWidth) in IMPL_LINK() 998 pValidation->nWidth = pValidation->nMaxWidth; in IMPL_LINK()
|
/trunk/main/vcl/win/source/gdi/ |
H A D | winlayout.cxx | 183 virtual int GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const; 716 int SimpleWinLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const argument 720 if( (mnWidth * nFactor + mnCharCount * nCharExtra) <= nMaxWidth ) 731 if( nExtraWidth >= nMaxWidth ) 1058 virtual int GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const; 2284 int UniscribeLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const argument 2292 if( nWidth >= nMaxWidth ) 2827 virtual int GetTextBreak( long nMaxWidth, long nCharExtra=0, int nFactor=1 ) const; 2978 int GraphiteWinLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const argument 2981 int nBreak = maImpl.GetTextBreak(nMaxWidth, nCharExtra, nFactor);
|