/aoo41x/main/svx/source/sidebar/tools/ |
H A D | ValueSetWithTextControl.cxx | 363 long nTextWidth = pDev->GetTextWidth(sText); in UserDraw() local 366 while (nTextWidth>nRectWidth && aSize.Height()>4) { in UserDraw() 370 nTextWidth = pDev->GetTextWidth(sText); in UserDraw() 372 Point aSStart(aBLPos.X()+(nRectWidth-nTextWidth)/2, aBLPos.Y() +(nRectHeight-nTextHeight)/2); in UserDraw() 462 long nTextWidth = pDev->GetTextWidth(sText); in UserDraw() local 464 Point aStart(aBLPos.X()+(nRectWidth-nTextWidth)/2, aBLPos.Y() +(nRectHeight-nTextHeight)/2); in UserDraw() 501 long nTextWidth = pDev->GetTextWidth(sText); in UserDraw() local 504 while (nTextWidth>nRectWidth && aSize.Height()>4) { in UserDraw() 508 nTextWidth = pDev->GetTextWidth(sText); in UserDraw() 510 Point aStart(aBLPos.X()+(nRectWidth-nTextWidth)/2, aBLPos.Y() +(nRectHeight-nTextHeight)/2); in UserDraw()
|
/aoo41x/main/cui/source/dialogs/ |
H A D | about.cxx | 85 const long nTextWidth ) in lcl_layoutFixedText() argument 89 aSize.Width() = nTextWidth; in lcl_layoutFixedText() 101 const long nTextWidth ) in lcl_layoutEdit() argument 105 aSize.Width() = nTextWidth; in lcl_layoutEdit() 442 long nTextWidth = nCol2 - nDlgMargin; in LayoutControls() local 450 lcl_layoutFixedText( maVersionText, aPos, aSize, nTextWidth ); in LayoutControls() 455 lcl_layoutEdit( maBuildInfoEdit, aPos, aSize, nTextWidth ); in LayoutControls() 460 lcl_layoutEdit( maCopyrightEdit, aPos, aSize, nTextWidth ); in LayoutControls() 465 lcl_layoutFixedText( maCreditsLink, aPos, aSize, nTextWidth ); in LayoutControls()
|
/aoo41x/main/dbaccess/source/ui/control/ |
H A D | curledit.cxx | 117 sal_Int32 nTextWidth = 0; in SetText() local 120 nTextWidth = m_pForcedPrefix->GetTextWidth(sPrefix) + 2; in SetText() 121 m_pForcedPrefix->SetPosSizePixel(Point(0, -2), Size(nTextWidth, aMySize.Height())); in SetText() 123 …GetSubEdit()->SetPosSizePixel(Point(nTextWidth, -2), Size(aMySize.Width() - nTextWidth - 4, aMySiz… in SetText()
|
/aoo41x/main/svtools/source/dialogs/ |
H A D | filedlg2.cxx | 199 long nTextWidth = pDlg->GetTextWidth( aOkStr )+nExtraWidth; in InitControls() local 200 if( nTextWidth > aBtnSiz.Width() ) in InitControls() 201 aBtnSiz.Width() = nTextWidth; in InitControls() 204 nTextWidth = pDlg->GetTextWidth( aCancelStr )+nExtraWidth; in InitControls() 205 if( nTextWidth > aBtnSiz.Width() ) in InitControls() 206 aBtnSiz.Width() = nTextWidth; in InitControls() 209 nTextWidth = pDlg->GetTextWidth( aNewDirStr )+nExtraWidth; in InitControls() 210 if( nTextWidth > aBtnSiz.Width() ) in InitControls() 211 aBtnSiz.Width() = nTextWidth; in InitControls() 215 if( nTextWidth > aBtnSiz.Width() ) in InitControls() [all …]
|
/aoo41x/main/vcl/source/gdi/ |
H A D | graph.cxx | 129 long nTextWidth = pOutDev->GetTextWidth( *pText ); in ImplDrawDefault() local 137 if ( nTextWidth <= nWidth || aSz.Height() <= nThreshold ) in ImplDrawDefault() 155 nTextWidth = pOutDev->GetTextWidth( *pText, nStart, nNext ); in ImplDrawDefault() 156 if ( nTextWidth > aSize.Width() ) in ImplDrawDefault() 163 nTextWidth = pOutDev->GetTextWidth( *pText, nStart, n ); in ImplDrawDefault() 164 while( nTextWidth > aSize.Width() ) in ImplDrawDefault() 165 nTextWidth = pOutDev->GetTextWidth( *pText, nStart, --n ); in ImplDrawDefault()
|
H A D | textlayout.cxx | 209 … long nTextWidth = m_rReferenceDevice.GetTextArray( _rText, _pDXAry, _nStartIndex, _nLength ); in GetTextArray() local 217 aTrace.append( nTextWidth ); in GetTextArray() 229 return nTextWidth; in GetTextArray() 256 long nTextWidth = GetTextArray( _rText, pCharWidths, _nStartIndex, _nLength ); in DrawText() local 260 …m_aCompleteTextRect.Union( Rectangle( _rStartPoint, Size( nTextWidth, m_rTargetDevice.GetTextHeigh… in DrawText()
|
H A D | sallayout.cxx | 2189 long nTextWidth = mpLayouts[n]->FillDXArray( pTempWidths ); in FillDXArray() local 2190 if( !nTextWidth ) in FillDXArray() 2195 nTextWidth = static_cast<long>(nTextWidth * fUnitMul + 0.5); in FillDXArray() 2196 if( nMaxWidth < nTextWidth ) in FillDXArray() 2197 nMaxWidth = nTextWidth; in FillDXArray()
|
/aoo41x/main/sw/source/ui/misc/ |
H A D | pggrid.cxx | 361 …sal_Int32 nTextWidth = static_cast< sal_Int32 >(aCharWidthMF.Denormalize(aCharWidthMF.GetValue(FUN… in UpdatePageSize() local 363 if (nTextWidth) in UpdatePageSize() 364 aCharsPerLineNF.SetValue(m_aPageSize.Width() / nTextWidth); in UpdatePageSize() 456 …sal_Int32 nTextWidth = static_cast< sal_Int32 >(aCharWidthMF.Denormalize(aCharWidthMF.GetValue(FUN… in IMPL_LINK() local 457 if (nTextWidth) in IMPL_LINK() 458 aCharsPerLineNF.SetValue(m_aPageSize.Width() / nTextWidth); in IMPL_LINK()
|
/aoo41x/main/extensions/source/abpilot/ |
H A D | fieldmappingpage.cxx | 52 sal_Int32 nTextWidth = m_aInvokeDialog.GetTextWidth( m_aInvokeDialog.GetText() ); in FieldMappingPage() local 57 if ( nSpace < nTextWidth ) in FieldMappingPage() 60 aButtonSize.Width() += nTextWidth - nSpace; in FieldMappingPage()
|
/aoo41x/main/vcl/unx/generic/printergfx/ |
H A D | text_gfx.cxx | 243 …sal_Int32 nTextWidth = maVirtualStatus.mnTextWidth ? maVirtualStatus.mnTextWidth : maVirtualStatu… in DrawGlyphs() local 280 … aRotPoint = Point( -nAscend*nTextWidth/nTextHeight, -nDescend*nTextWidth/nTextHeight - nOffset ); in DrawGlyphs() 288 … aRotPoint = Point( -nDescend*nTextWidth/nTextHeight, nOffset + nAscend*nTextWidth/nTextHeight ); in DrawGlyphs() 301 maVirtualStatus.mnTextHeight = nTextWidth; in DrawGlyphs()
|
/aoo41x/main/sdext/source/presenter/ |
H A D | PresenterPaneBorderPainter.cxx | 613 const double nTextWidth = aBox.X2 - aBox.X1; in PaintTitle() local 614 double nX = rInnerBox.X + (rInnerBox.Width - nTextWidth)/2; in PaintTitle() 626 nX = rInnerBox.X + rInnerBox.Width - nTextWidth; in PaintTitle() 629 nX = rInnerBox.X + (rInnerBox.Width - nTextWidth)/2; in PaintTitle() 635 if (rUpdateBox.X >= nX+nTextWidth in PaintTitle() 656 aPolygons[0][2] = geometry::RealPoint2D(nTextWidth, 0); in PaintTitle() 657 aPolygons[0][3] = geometry::RealPoint2D(nTextWidth, -nTextHeight); in PaintTitle()
|
/aoo41x/main/uui/source/ |
H A D | masterpasscrtdlg.cxx | 104 … long nTextWidth = aFTMasterPasswordWarning.GetCtrlTextWidth( aFTMasterPasswordWarning.GetText() ); in MasterPasswordCreateDialog() local 111 if ( nTextWidth > 0 ) in MasterPasswordCreateDialog() 113 for( nNewLabelHeight = ( nTextWidth / nLableWidth + 1 ) * nTextHeight; in MasterPasswordCreateDialog()
|
H A D | passworddlg.cxx | 135 long nTextWidth = aFTPassword.GetCtrlTextWidth( aFTPassword.GetText() ); in PasswordDialog() local 142 for( nNewLabelHeight = ( nTextWidth / nLabelWidth + 1 ) * nTextHeight; in PasswordDialog()
|
/aoo41x/main/editeng/source/uno/ |
H A D | unofored.cxx | 391 sal_uLong nTextWidth; in GetParaBounds() local 401 nTextWidth = rEditEngine.GetTextHeight(); in GetParaBounds() 403 return Rectangle( nTextWidth - aPnt.Y() - nWidth, 0, nTextWidth - aPnt.Y(), nHeight ); in GetParaBounds()
|
/aoo41x/main/vcl/source/control/ |
H A D | edit.cxx | 1245 long nTextWidth = GetTextWidth( ImplGetText() ); in ImplAlign() local 1250 if( mnXOffset && ( nTextWidth < nOutWidth ) ) in ImplAlign() 1256 long nMinXOffset = nOutWidth - nTextWidth - 1 - ImplGetExtraOffset(); in ImplAlign() 1262 if( nTextWidth < nOutWidth ) in ImplAlign() 1267 if( nTextWidth < nOutWidth ) in ImplAlign() 1277 mnXOffset = (nOutWidth - nTextWidth) / 2; in ImplAlign() 1946 long nTextWidth = pDev->GetTextWidth( aText ); in Draw() local 1954 ((nOffX+nTextWidth) > aSize.Width()) ) in Draw() 1964 aPos.X() += (aSize.Width() - nTextWidth) / 2; in Draw() 1969 aPos.X() += aSize.Width() - nTextWidth; in Draw() [all …]
|
H A D | ilstbox.cxx | 653 long nTextWidth; member 667 aMetrics.nTextWidth = 0; in ImplUpdateEntryMetrics() 682 aMetrics.nTextWidth = aTextRect.GetWidth(); in ImplUpdateEntryMetrics() 683 if( aMetrics.nTextWidth > mnMaxTxtWidth ) in ImplUpdateEntryMetrics() 684 mnMaxTxtWidth = aMetrics.nTextWidth; in ImplUpdateEntryMetrics() 691 aMetrics.nTextWidth = (sal_uInt16)GetTextWidth( rEntry.maStr ); in ImplUpdateEntryMetrics() 692 if( aMetrics.nTextWidth > mnMaxTxtWidth ) in ImplUpdateEntryMetrics() 693 mnMaxTxtWidth = aMetrics.nTextWidth; in ImplUpdateEntryMetrics() 714 mnMaxImgTxtWidth = Max( mnMaxImgTxtWidth, aMetrics.nTextWidth ); in ImplUpdateEntryMetrics() 722 aMetrics.nEntryWidth += aMetrics.nTextWidth + IMG_TXT_DISTANCE; in ImplUpdateEntryMetrics()
|
/aoo41x/main/desktop/source/deployment/gui/ |
H A D | dp_gui_updatedialog.cxx | 1000 long nTextWidth = m_PublisherLabel.GetCtrlTextWidth( m_PublisherLabel.GetText() ); in initDescription() local 1002 if ( nTemp > nTextWidth ) in initDescription() 1003 nTextWidth = nTemp; in initDescription() 1004 nTextWidth = nTextWidth * 110 / 100; in initDescription() 1007 if ( nTextWidth > aNewSize.Width() ) in initDescription() 1009 long nDelta = nTextWidth - aNewSize.Width(); in initDescription() 1010 aNewSize.Width() = nTextWidth; in initDescription()
|
/aoo41x/main/starmath/source/ |
H A D | rect.cxx | 736 long nTextWidth = rDev.GetTextWidth(rText); in SmGetGlyphBoundRect() local 738 Rectangle aResult (aPoint, Size(nTextWidth, rDev.GetTextHeight())), in SmGetGlyphBoundRect() 753 nTextWidth != nGDTextWidth) in SmGetGlyphBoundRect() 755 aResult.Right() *= nTextWidth; in SmGetGlyphBoundRect()
|
/aoo41x/main/sc/inc/ |
H A D | cell.hxx | 109 inline sal_uInt16 GetTextWidth() const { return nTextWidth; } in GetTextWidth() 110 inline void SetTextWidth( sal_uInt16 nNew ) { nTextWidth = nNew; } in SetTextWidth() 167 sal_uInt16 nTextWidth; member in ScBaseCell
|
/aoo41x/main/sc/source/ui/view/ |
H A D | gridwin.cxx | 649 if ( nTextWidth > nMaxText ) in LaunchPageFieldMenu() 650 nMaxText = nTextWidth; in LaunchPageFieldMenu() 812 if ( nTextWidth > nMaxText ) in DoScenarioMenue() 813 nMaxText = nTextWidth; in DoScenarioMenue() 985 if ( nTextWidth > nMaxText ) in DoAutoFilterMenue() 986 nMaxText = nTextWidth; in DoAutoFilterMenue() 1004 if ( nTextWidth > nMaxText ) in DoAutoFilterMenue() 1005 nMaxText = nTextWidth; in DoAutoFilterMenue() 5050 if ( nTextWidth < nThisColLogic ) in GetEditUrlOrError() 5053 nStartX += nThisColLogic - nTextWidth; in GetEditUrlOrError() [all …]
|
/aoo41x/main/svx/source/dialog/ |
H A D | fntctrl.cxx | 744 long nTextWidth = 0; in Paint() local 755 nTextWidth = pImpl->CalcTextSize( this, pPrinter, aSmallFont ).Width(); in Paint() 758 nResultWidth += nTextWidth; in Paint() 779 _nX += nTextWidth; in Paint()
|
/aoo41x/main/svtools/source/filter/wmf/ |
H A D | winmtf.cxx | 1572 sal_Int32 nTextWidth; in DrawText() local 1580 nTextWidth = aVDev.GetTextWidth( rText.GetChar( (sal_uInt16)( nLen - 1 ) ) ); in DrawText() 1582 nTextWidth += pDXArry[ nLen - 2 ]; in DrawText() 1585 nTextWidth = aVDev.GetTextWidth( rText ); in DrawText() 1592 … double fLenght = ( ( mnTextAlign & TA_RIGHT_CENTER ) == TA_RIGHT ) ? nTextWidth : nTextWidth >> 1; in DrawText() 1598 maActPos.X() = rPosition.X() + nTextWidth; in DrawText()
|
/aoo41x/main/sfx2/source/doc/ |
H A D | objcont.cxx | 824 long nTextWidth; in Print() local 826 nTextWidth = pPrinter->GetTextWidth(aStr, nStart, nIdx-nStart); in Print() 828 aOutPos.X() + nTextWidth < in Print() 833 nTextWidth = pPrinter->GetTextWidth(aStr, nStart, nIdx-nStart); in Print()
|
/aoo41x/main/sc/source/ui/dbgui/ |
H A D | csvruler.cxx | 602 sal_Int32 nTextWidth = maBackgrDev.GetTextWidth( aText ); in ImplDrawBackgrDev() local 603 sal_Int32 nTextX = GetX( nPos ) - nTextWidth / 2; in ImplDrawBackgrDev() 604 ImplDrawArea( nTextX - 1, nTextWidth + 2 ); in ImplDrawBackgrDev()
|
/aoo41x/main/svx/source/fmcomp/ |
H A D | gridctrl.cxx | 473 long nTextWidth = m_aRecordText.GetTextWidth(aText); in ArrangeControls() local 475 m_aRecordText.SetSizePixel(Size(nTextWidth,nH)); in ArrangeControls() 476 nX = sal::static_int_cast< sal_uInt16 >(nX + nTextWidth + aBorder.Width()); in ArrangeControls() 483 nTextWidth = m_aRecordOf.GetTextWidth(aText); in ArrangeControls() 485 m_aRecordOf.SetSizePixel(Size(nTextWidth,nH)); in ArrangeControls() 486 nX = sal::static_int_cast< sal_uInt16 >(nX + nTextWidth + aBorder.Width()); in ArrangeControls() 488 nTextWidth = m_aRecordCount.GetTextWidth( String::CreateFromAscii("0000000 (00000) *") ); in ArrangeControls() 490 m_aRecordCount.SetSizePixel(Size(nTextWidth,nH)); in ArrangeControls() 491 nX = sal::static_int_cast< sal_uInt16 >(nX + nTextWidth + aBorder.Width()); in ArrangeControls()
|