Home
last modified time | relevance | path

Searched refs:nMaxWidth (Results 1 – 25 of 69) sorted by relevance

123

/aoo41x/main/svx/inc/svx/
H A Dframelink.hxx121 … 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 Dswframevalidation.hxx54 sal_Int32 nMaxWidth; member
75 nMaxWidth(SAL_MAX_INT32), in SvxSwFrameValidation()
/aoo41x/main/sd/source/ui/animations/
H A DSlideTransitionPane.cxx616 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 …]
/aoo41x/main/vcl/source/window/
H A Dmsgbox.cxx256 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()
/aoo41x/main/svtools/source/control/
H A Dprgsbar.cxx156 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()
/aoo41x/main/sw/source/core/text/
H A Dpormulti.cxx424 nMaxWidth -= rInf.X(); in FormatBrackets()
440 if( nMaxWidth > aSize.Width() ) in FormatBrackets()
443 nMaxWidth -= aSize.Width(); in FormatBrackets()
449 nMaxWidth = 0; in FormatBrackets()
469 if( nMaxWidth > aSize.Width() ) in FormatBrackets()
472 nMaxWidth -= aSize.Width(); in FormatBrackets()
477 nMaxWidth = 0; in FormatBrackets()
482 nMaxWidth += rInf.X(); in FormatBrackets()
1746 SwTwips nMaxWidth = rInf.Width(); in BuildMultiPortion() local
1810 nMaxWidth = pUpperFrm ? in BuildMultiPortion()
[all …]
H A Dporfld.cxx1241 sal_uInt16 nMaxDescent, nMaxAscent, nMaxWidth; in Format() local
1255 nMaxWidth = 0; in Format()
1282 Width( nMaxWidth ); in Format()
1286 nMaxWidth = 0; in Format()
1288 nMaxWidth = nMaxWidth + aPos[ i++ ]; in Format()
1297 nMaxWidth *= 2; in Format()
1323 if( nMaxWidth > Width() ) in Format()
1325 nTopDiff = ( nMaxWidth - Width() ) / 2; in Format()
1326 Width( nMaxWidth ); in Format()
1329 nBotDiff = ( Width() - nMaxWidth ) / 2; in Format()
H A Ditratr.cxx442 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()
/aoo41x/main/svx/source/dialog/
H A Dframelink.cxx205 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 Dhyprlink.cxx129 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 Dhyprdlg.hxx44 long nMaxWidth; member in HyperCombo
57 inline long GetResizeWidth() { return (nMaxWidth - nMinWidth); } in GetResizeWidth()
97 long nMaxWidth; member in SvxHyperlinkDlg
/aoo41x/main/sw/source/ui/frmdlg/
H A Dfrmmgr.cxx362 rVal.nMaxWidth = aBoundRect.Right() - nH; in ValidateMetrics()
428 rVal.nMaxWidth = rVal.nMaxHPos + rVal.nWidth - nH; in ValidateMetrics()
455 rVal.nMaxWidth = rVal.nMaxHPos + rVal.nWidth - nH; in ValidateMetrics()
487 rVal.nMaxWidth = aBoundRect.Width(); in ValidateMetrics()
507 if (rVal.nMaxWidth < rVal.nWidth) in ValidateMetrics()
508 rVal.nWidth = rVal.nMaxWidth; in ValidateMetrics()
/aoo41x/main/svtools/source/dialogs/
H A Dfiledlg2.cxx559 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()
/aoo41x/main/vcl/source/gdi/
H A Doutdev3.cxx4039 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 Dsallayout.cxx1472 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()
/aoo41x/main/padmin/source/
H A Dpadialog.cxx449 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()
/aoo41x/main/toolkit/source/layout/core/
H A Dflow.cxx112 Flow::calculateSize( long nMaxWidth ) in calculateSize() argument
138 if ( nMaxWidth && nRowWidth > 0 && nRowWidth + aChildSize.Width > nMaxWidth ) in calculateSize()
/aoo41x/main/vcl/inc/vcl/
H A Dtabctrl.hxx73 SAL_DLLPRIVATE Size ImplGetItemSize( ImplTabItem* pItem, long nMaxWidth );
148 void SetMaxPageWidth( long nMaxWidth ) { mnMaxPageWidth = nMaxWidth; } in SetMaxPageWidth() argument
/aoo41x/main/svtools/source/contnr/
H A Dsvimpicn.cxx115 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 …]
/aoo41x/main/vcl/source/control/
H A Dtabctrl.cxx285 Size TabControl::ImplGetItemSize( ImplTabItem* pItem, long nMaxWidth ) in ImplGetItemSize() argument
322 if ( aSize.Width()+4 >= nMaxWidth ) in ImplGetItemSize()
333 while ( (aSize.Width()+4 >= nMaxWidth) && (pItem->maFormatText.Len() > aAppendStr.Len()) ); in ImplGetItemSize()
334 if ( aSize.Width()+4 >= nMaxWidth ) in ImplGetItemSize()
416 long nMaxWidth = nWidth; in ImplGetTabRect() local
419 if ( (mnMaxPageWidth > 0) && (mnMaxPageWidth < nMaxWidth) ) in ImplGetTabRect()
420 nMaxWidth = mnMaxPageWidth; in ImplGetTabRect()
421 nMaxWidth -= GetItemsOffset().X(); in ImplGetTabRect()
433 aSize = ImplGetItemSize( &(*it), nMaxWidth ); in ImplGetTabRect()
529 int nRightSpace=nMaxWidth;//space left on the right by the tabs in ImplGetTabRect()
H A Dbutton.cxx1836 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 Dfixed.cxx384 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()
/aoo41x/main/vcl/inc/
H A Dsallayout.hxx174 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;
/aoo41x/main/sw/source/ui/shells/
H A Ddrwbassh.cxx914 pValidation->nMaxWidth = aBoundRect.Right() - nH; in IMPL_LINK()
975 pValidation->nMaxWidth = pValidation->nMaxHPos + pValidation->nWidth - nH; in IMPL_LINK()
983 pValidation->nMaxWidth = aBoundRect.Width(); in IMPL_LINK()
1001 if (pValidation->nMaxWidth < pValidation->nWidth) in IMPL_LINK()
1002 pValidation->nWidth = pValidation->nMaxWidth; in IMPL_LINK()
/aoo41x/main/vcl/win/source/gdi/
H A Dwinlayout.cxx183 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);

Completed in 606 milliseconds

123