/trunk/main/vcl/source/control/ |
H A D | tabctrl.cxx | 708 long nTextWidth = GetCtrlTextWidth( rItem.maFormatText ); in ImplShowFocus() local 726 …aRect.Left() = aRect.Left()+aImageSize.Width()+((aTabSize.Width()-nTextWidth-aImageSize.Width())… in ImplShowFocus() 728 aRect.Right() = aRect.Left()+nTextWidth+2; in ImplShowFocus() 734 long nXPos = aRect.Left()+((aTabSize.Width()-nTextWidth-aImageSize.Width())/2)-nOff-1; in ImplShowFocus() 919 long nTextWidth = GetCtrlTextWidth( pItem->maFormatText ); in ImplDrawItem() local 926 long nXPos = aRect.Left()+((aTabSize.Width()-nTextWidth-aImageSize.Width())/2)-nOff-nOff3; in ImplDrawItem()
|
H A D | lstbox.cxx | 471 long nTextWidth = pDev->GetTextWidth( aText ); in Draw() local 478 ((nOffX+nTextWidth) > aSize.Width()) ) in Draw()
|
/trunk/main/vcl/unx/generic/printergfx/ |
H A D | common_gfx.cxx | 792 sal_Int32 nTextWidth = rCurrent.mnTextWidth ? rCurrent.mnTextWidth in PSSetFont() local 828 nChar += psp::getValueOf (nTextWidth, pSetFont + nChar); in PSSetFont() 836 nChar += psp::getValueOf (nTextWidth, pSetFont + nChar); in PSSetFont() 838 nChar += psp::getValueOfDouble (pSetFont + nChar, 0.27*(double)nTextWidth, 3 ); in PSSetFont()
|
/trunk/main/framework/source/services/ |
H A D | backingwindow.cxx | 644 long nTextWidth = i_rBtn.GetTextWidth( i_rBtn.GetText() ); in layoutButton() local 646 nTextWidth += maButtonImageSize.Width() + 8; // add some fuzz to be on the safe side in layoutButton() 649 if( nTextWidth > mnColumnWidth[nColumn] ) in layoutButton() 650 mnColumnWidth[nColumn] = nTextWidth; in layoutButton()
|
/trunk/main/filter/source/pdf/ |
H A D | pdfexport.cxx | 1065 long nTextWidth = rPageSize.Width(); in ImplWriteWatermark() local 1068 nTextWidth = rPageSize.Height(); in ImplWriteWatermark() 1083 while( ( w = pDev->GetTextWidth( aText ) ) > nTextWidth ) in ImplWriteWatermark() 1085 long nNewHeight = aFont.GetHeight() * nTextWidth / w; in ImplWriteWatermark()
|
/trunk/main/sw/source/core/txtnode/ |
H A D | fntcache.cxx | 2448 xub_StrLen SwFont::GetTxtBreak( SwDrawTextInfo& rInf, long nTextWidth ) in GetTxtBreak() argument 2489 while( nTxtBreak < rInf.GetLen() && nTextWidth >= nCurrPos ) in GetTxtBreak() 2520 while( nTxtBreak < rInf.GetLen() && nTextWidth >= nCurrPos) in GetTxtBreak() 2532 rInf.GetScriptInfo(), rInf.GetText(), nTextWidth,0, rInf.GetIdx(),nLn ); in GetTxtBreak() 2580 nTxtBreak = rInf.GetOut().GetTextBreak( *pTmpText, nTextWidth, in GetTxtBreak() 2584 nTxtBreak = rInf.GetOut().GetTextBreak( *pTmpText, nTextWidth, in GetTxtBreak() 2618 while( nTxtBreak<nLn && nTextWidth >= pKernArray[nTxtBreak] +nKern ) in GetTxtBreak()
|
H A D | fntcap.cxx | 264 const SwScriptInfo* pScript, const XubString& rTxt, long nTextWidth, in GetCapitalBreak() argument 281 SwDoGetCapitalBreak aDo( aInfo, nTextWidth, pExtra ); in GetCapitalBreak()
|
/trunk/main/vcl/unx/generic/gdi/ |
H A D | pspgraphics.cxx | 932 sal_Int32 nTextWidth = m_pPrinterGfx->GetFontWidth(); in GetFontMetric() local 933 if( ! nTextWidth ) in GetFontMetric() 934 nTextWidth = nTextHeight; in GetFontMetric() 936 pMetric->mnWidth = nTextWidth; in GetFontMetric()
|
/trunk/main/vcl/unx/headless/ |
H A D | svppspgraphics.cxx | 841 sal_Int32 nTextWidth = m_pPrinterGfx->GetFontWidth(); in GetFontMetric() local 842 if( ! nTextWidth ) in GetFontMetric() 843 nTextWidth = nTextHeight; in GetFontMetric() 845 pMetric->mnWidth = nTextWidth; in GetFontMetric()
|
/trunk/main/sc/source/ui/cctrl/ |
H A D | dpcontrol.cxx | 697 long nTextWidth = 0; in resizeToFitMenuItems() local 699 nTextWidth = ::std::max(GetTextWidth(itr->maText), nTextWidth); in resizeToFitMenuItems() 705 aPos.X() += nTextWidth + 15; in resizeToFitMenuItems()
|
/trunk/main/svx/source/dialog/ |
H A D | charmap.cxx | 363 int nTextWidth = GetTextWidth(aCharStr); in DrawChars_Impl() local 364 int tx = x + (nX - nTextWidth + 1) / 2; in DrawChars_Impl() 372 if( !nTextWidth ) in DrawChars_Impl()
|
/trunk/main/extensions/source/propctrlr/ |
H A D | browserlistbox.cxx | 1150 sal_uInt16 nTextWidth = (sal_uInt16)m_aLinesPlayground.GetTextWidth(_rPropertyData.DisplayName); in ChangeEntry() local 1151 if (m_nTheNameSize< nTextWidth) in ChangeEntry() 1152 m_nTheNameSize = nTextWidth; in ChangeEntry()
|
/trunk/main/svtools/source/dialogs/ |
H A D | property.cxx | 1001 sal_uInt16 nTextWidth=(sal_uInt16)aPlayGround.GetTextWidth(aPropData.aName); in ChangeEntry() local 1003 if ( nTheNameSize < nTextWidth ) in ChangeEntry() 1004 nTheNameSize = nTextWidth; in ChangeEntry()
|
/trunk/main/svtools/source/table/ |
H A D | gridtablerenderer.cxx | 621 long const nTextWidth = i_targetDevice.GetTextWidth( sText ); in FitsIntoCell() local 622 if ( nTextWidth > aTargetArea.GetWidth() ) in FitsIntoCell()
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterToolBar.cxx | 1781 sal_Int32 nTextWidth (sal::static_int_cast<sal_Int32>(0.5 + aTextBBox.X2 - aTextBBox.X1)); in CreateBoundingSize() local 1793 return awt::Size(nTextWidth,nTextHeight); in CreateBoundingSize() 2017 const double nTextWidth = aBox.X2 - aBox.X1; in Paint() local 2019 const double nX = rBoundingBox.X + (rBoundingBox.Width - nTextWidth)/2; in Paint()
|
H A D | PresenterSlideSorter.cxx | 1925 const double nTextWidth ( in GetFittingText() local 1927 if (nTextWidth > nMaximalWidth) in GetFittingText() 1935 sal_Int32 nLength (round(rsText.getLength() * nMaximalWidth / nTextWidth)); in GetFittingText()
|
/trunk/main/vcl/source/gdi/ |
H A D | outdev3.cxx | 6245 xub_StrLen OutputDevice::GetTextBreak( const String& rStr, long nTextWidth, in GetTextBreak() argument 6262 nTextWidth *= nWidthFactor * nSubPixelFactor; in GetTextBreak() 6263 long nTextPixelWidth = ImplLogicWidthToDevicePixel( nTextWidth ); in GetTextBreak() 6280 xub_StrLen OutputDevice::GetTextBreak( const String& rStr, long nTextWidth, in GetTextBreak() argument 6301 nTextWidth *= nWidthFactor * nSubPixelFactor; in GetTextBreak() 6302 long nTextPixelWidth = ImplLogicWidthToDevicePixel( nTextWidth ); in GetTextBreak() 6529 long nTextWidth = _rLayout.GetTextWidth( aStr, 0, STRING_LEN ); in ImplDrawText() local 6532 if ( nTextWidth > nWidth ) in ImplDrawText() 6539 nTextWidth = _rLayout.GetTextWidth( aStr, 0, aStr.Len() ); in ImplDrawText() 6550 aPos.X() += nWidth-nTextWidth; in ImplDrawText() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | cell.cxx | 82 nTextWidth( TEXTWIDTH_DIRTY ), in IMPL_FIXEDMEMPOOL_NEWDEL() 91 nTextWidth( rCell.nTextWidth ), in ScBaseCell()
|
/trunk/main/sw/source/core/inc/ |
H A D | swfont.hxx | 331 long nTextWidth, xub_StrLen* pExtra, const xub_StrLen nIdx, 349 xub_StrLen GetTxtBreak( SwDrawTextInfo& rInf, long nTextWidth );
|
/trunk/main/cui/source/options/ |
H A D | optjava.cxx | 157 sal_Int32 nTextWidth = m_aClassPathBtn.GetTextWidth(m_aClassPathBtn.GetText()); in SvxJavaOptionsPage() local 159 sal_Int32 nDiff = nTextWidth + 4 - aButtonSize.Width(); in SvxJavaOptionsPage()
|
/trunk/main/svx/source/customshapes/ |
H A D | EnhancedCustomShapeFontWork.cxx | 301 sal_Int32 nTextWidth = aVirDev.GetTextWidth( aCharText, 0, STRING_LEN ); in GetTextAreaOutline() local 313 aOutlineIter->Rotate( Point( nTextWidth / 2, rFWData.nSingleLineHeight / 2 ), 900 ); in GetTextAreaOutline()
|
/trunk/main/sc/source/ui/view/ |
H A D | printfun.cxx | 1429 long nTextWidth = pDev->GetTextWidth(aText); in PrintColHdr() local 1431 long nAddX = ( nWidth - nTextWidth ) / 2; in PrintColHdr() 1473 long nTextWidth = pDev->GetTextWidth(aText); in PrintRowHdr() local 1475 long nAddX = ( nWidth - nTextWidth ) / 2; in PrintRowHdr()
|
H A D | viewdata.cxx | 1195 long nTextWidth = pEngine->CalcTextWidth(); in EditGrowX() local 1215 while (aArea.GetWidth() + 0 < nTextWidth && ( nEditStartCol > nLeft || nEditEndCol < nRight ) ) in EditGrowX() 1250 while (aArea.GetWidth() + 0 < nTextWidth && nEditStartCol > nLeft) in EditGrowX() 1273 while (aArea.GetWidth() + 0 < nTextWidth && nEditEndCol < nRight) in EditGrowX()
|
/trunk/main/svtools/source/control/ |
H A D | toolbarmenu.cxx | 709 long nTextWidth = GetCtrlTextWidth( pEntry->maText ) + mpImpl->mnTextPos + nExtra; in implCalcSize() local 710 nMaxTextWidth = std::max( nTextWidth, nMaxTextWidth ); in implCalcSize()
|
/trunk/main/vcl/inc/vcl/ |
H A D | outdev.hxx | 623 xub_StrLen GetTextBreak( const XubString& rStr, long nTextWidth, 626 xub_StrLen GetTextBreak( const XubString& rStr, long nTextWidth,
|