Home
last modified time | relevance | path

Searched refs:nTxtWidth (Results 1 – 20 of 20) sorted by relevance

/aoo4110/main/sw/source/core/txtnode/
H A Dfntcap.cxx202 long nTxtWidth; member in SwDoGetCapitalBreak
206 : SwDoCapitals ( rInfo ), pExtraPos( pExtra ), nTxtWidth( nWidth ), in SwDoGetCapitalBreak()
220 if ( nTxtWidth ) in Do()
222 if ( rInf.GetSize().Width() < nTxtWidth ) in Do()
223 nTxtWidth -= rInf.GetSize().Width(); in Do()
229 nBreak = GetOut().GetTextBreak( rInf.GetText(), nTxtWidth, '-', in Do()
235 nBreak = GetOut().GetTextBreak( rInf.GetText(), nTxtWidth, in Do()
254 nTxtWidth = 0; in Do()
/aoo4110/main/vcl/source/window/
H A Dtabdlg.cxx63 long nTxtWidth = pChild->GetCtrlTextWidth( pChild->GetText() ); in ImplPosControls() local
64 nTxtWidth += IMPL_EXTRA_BUTTON_WIDTH; in ImplPosControls()
65 if ( nTxtWidth > aCtrlSize.Width() ) in ImplPosControls()
66 aCtrlSize.Width() = nTxtWidth; in ImplPosControls()
H A Dbtndlg.cxx163 long nTxtWidth = pItem->mpPushButton->GetCtrlTextWidth( pItem->mpPushButton->GetText() ); in ImplGetButtonSize() local
164 nTxtWidth += IMPL_EXTRA_BUTTON_WIDTH; in ImplGetButtonSize()
165 if ( nTxtWidth > maCtrlSize.Width() ) in ImplGetButtonSize()
166 maCtrlSize.Width() = nTxtWidth; in ImplGetButtonSize()
/aoo4110/main/svtools/source/control/
H A Dtaskbox.cxx251 long nTxtWidth = GetTextWidth( aText ); in ImplFormatTaskToolBox() local
252 if ( nTxtWidth > mnMaxTextWidth ) in ImplFormatTaskToolBox()
261 nTxtWidth = GetTextWidth( aText ); in ImplFormatTaskToolBox()
263 while ( (nTxtWidth > mnMaxTextWidth) && (aText.Len() > 3) ); in ImplFormatTaskToolBox()
H A Dheadbar.cxx423 long nTxtWidth = aTxtSize.Width(); in ImplDrawItem() local
424 if ( nTxtWidth > nMaxTxtWidth ) in ImplDrawItem()
432 nTxtWidth = pDev->GetTextWidth( pItem->maOutText ); in ImplDrawItem()
434 while ( (nTxtWidth > nMaxTxtWidth) && (pItem->maOutText.Len() > 3) ); in ImplDrawItem()
437 nTxtWidth = 0; in ImplDrawItem()
446 nTxtPos = aRect.Right()-nTxtWidth-HEADERBAR_TEXTOFF; in ImplDrawItem()
452 long nTempWidth = nTxtWidth; in ImplDrawItem()
460 if ( nTxtPos+nTxtWidth+nArrowWidth >= aRect.Right() ) in ImplDrawItem()
529 nImagePos += nTxtWidth; in ImplDrawItem()
573 nArrowX += nTxtWidth+HEADERBAR_ARROWOFF; in ImplDrawItem()
H A Druler.cxx498 long nTxtWidth = GetTextWidth( aNumStr ); in ImplDrawTicks() local
501 if ( nTickWidth < nTxtWidth+nTextOff ) in ImplDrawTicks()
506 while ( nTickWidth < nTxtWidth+nTextOff ) in ImplDrawTicks()
643 long nTxtWidth; in ImplDrawArrows() local
675 nTxtWidth = GetTextWidth( aStr2 ); in ImplDrawArrows()
676 if ( nTxtWidth < mpData->pArrows[i].nWidth-10 ) in ImplDrawArrows()
680 nTxtWidth = GetTextWidth( aStr ); in ImplDrawArrows()
690 n3 -= nTxtWidth/2; in ImplDrawArrows()
692 n3 += nTxtWidth/2; in ImplDrawArrows()
695 n4 = n3 + nTxtWidth + 2; in ImplDrawArrows()
[all …]
H A Dvalueset.cxx268 long nTxtWidth = GetTextWidth( pItem->maText ); in ImplFormatItem() local
274 if ( (aTxtPos.X()+nTxtWidth) > aRect.Right() ) in ImplFormatItem()
695 long nTxtWidth = GetTextWidth( rText ); in ImplDrawItemText() local
712 DrawText( Point( (aWinSize.Width()-nTxtWidth) / 2, nTxtOffset+(NAME_OFFSET/2) ), rText ); in ImplDrawItemText()
/aoo4110/main/sc/source/ui/dbgui/
H A Dexpftext.cxx72 long nTxtWidth = GetTextWidth(aTxtStr); in RequestHelp() local
74 nTxtWidth > GetSizePixel().Width()) in RequestHelp()
80 Rectangle( aShowPoint, Size(nTxtWidth,nTxtHeight) ), aTxtStr, in RequestHelp()
/aoo4110/main/cui/source/options/
H A Doptupdt.cxx395 long nTxtWidth = ::std::max( m_aCheckNowButton.GetCtrlTextWidth( m_aCheckNowButton.GetText() ), in CalcButtonWidth() local
398 nTxtWidth = nTxtWidth + 12; in CalcButtonWidth()
402 if ( nTxtWidth > aSize.Width() ) in CalcButtonWidth()
404 aSize.Width() = nTxtWidth; in CalcButtonWidth()
H A Doptgdlg.cxx274 long nTxtWidth = aHelpAgentResetBtn.GetTextWidth( aHelpAgentResetBtn.GetText() ); in OfaMiscTabPage() local
276 if ( aBtnSz.Width() < nTxtWidth ) in OfaMiscTabPage()
278 aBtnSz.Width() = nTxtWidth; in OfaMiscTabPage()
/aoo4110/main/cui/source/dialogs/
H A Ddlgname.cxx66 long nTxtWidth = aFtDescription.GetCtrlTextWidth( rDesc ); in SvxNameDialog() local
67 if ( nTxtWidth > aSize.Width() ) in SvxNameDialog()
69 long nLines = Min( ( nTxtWidth / aSize.Width() + 1 ), MAX_DESCRIPTION_LINES ); in SvxNameDialog()
/aoo4110/main/basctl/source/dlged/
H A Dmanagelang.cxx153 long nTxtWidth = m_aInfoFT.GetCtrlTextWidth( sInfoStr ) + nLongWord; in CalcInfoSize() local
154 long nLines = ( nTxtWidth / nInfoWidth ) + 1; in CalcInfoSize()
374 long nTxtWidth = m_aInfoFT.GetCtrlTextWidth( sInfoStr ) + nLongWord; in CalcInfoSize() local
375 long nLines = ( nTxtWidth / nInfoWidth ) + 1; in CalcInfoSize()
/aoo4110/main/sw/source/ui/config/
H A Doptcomp.cxx390 long nTxtWidth = m_aDefaultPB.GetTextWidth( m_aDefaultPB.GetText() ); in InitControls() local
392 if ( nTxtWidth > aBtnSz.Width() ) in InitControls()
394 long nDelta = nTxtWidth - aBtnSz.Width() + 2 * BUTTON_BORDER; in InitControls()
/aoo4110/main/sw/source/ui/chrdlg/
H A Ddrpcps.cxx466 long nTxtWidth = 0; in CalcTextSize() local
481 nTxtWidth += nWidth; in CalcTextSize()
517 Size aTxtSize( nTxtWidth, nHeight ); in CalcTextSize()
/aoo4110/main/svx/source/dialog/
H A Dfntctrl.cxx299 long nTxtWidth = 0; in CalcTextSize() local
312 nTxtWidth += nWidth; in CalcTextSize()
348 Size aTxtSize( nTxtWidth, nHeight ); in CalcTextSize()
/aoo4110/main/editeng/source/editeng/
H A Deditdoc.hxx446 long nTxtWidth; member in EditLine
495 void SetTextWidth( long n ) { nTxtWidth = n; } in SetTextWidth()
496 long GetTextWidth() const { return nTxtWidth; } in GetTextWidth()
H A Deditdoc.cxx414 nTxtWidth = 0; in EditLine()
434 nTxtWidth = 0; in EditLine()
458 pL->nTxtWidth = nTxtWidth; in Clone()
H A Dimpedit3.cxx3214 long nTxtWidth = pTextPortion->GetSize().Width(); in Paint() local
3364 if ( nOrientation || ( !IsVertical() && ( ( aTmpPos.X() + nTxtWidth ) >= nFirstVisXPos ) ) in Paint()
3365 || ( IsVertical() && ( ( aTmpPos.Y() + nTxtWidth ) >= nFirstVisYPos ) ) ) in Paint()
/aoo4110/main/sc/source/ui/Accessibility/
H A DAccessibleText.cxx923 long nTxtWidth = static_cast< long >( pEditEngine->CalcTextWidth() ); in GetTextForwarder() local
924 aSize.setWidth( std::max( aSize.getWidth(), nTxtWidth + 2 ) ); in GetTextForwarder()
934 long nTxtWidth = static_cast< long >( pEditEngine->CalcTextWidth() ); in GetTextForwarder() local
935 aSize.setWidth( ::std::max( aSize.getWidth(), nTxtWidth ) ); in GetTextForwarder()
/aoo4110/main/svtools/source/edit/
H A Dtexteng.cxx2127 long nTxtWidth = pTextPortion->GetWidth(); in ImpPaint() local
2131 if ( ( ( aTmpPos.X() + nTxtWidth ) >= 0 ) in ImpPaint()
2227 Rectangle aTabArea( aTmpPos, Point( aTmpPos.X()+nTxtWidth, aTmpPos.Y()+mnCharHeight-1 ) ); in ImpPaint()
2249 Rectangle aTabArea( aTmpPos, Point( aTmpPos.X()+nTxtWidth, aTmpPos.Y()+mnCharHeight-1 ) ); in ImpPaint()

Completed in 194 milliseconds