Home
last modified time | relevance | path

Searched refs:aTextSize (Results 1 – 25 of 42) sorted by relevance

12

/trunk/main/sc/source/ui/view/
H A Dhintwin.cxx63 Size aTextSize; in ScHintWindow() local
70 aTextSize.Height() += nTextHeight; in ScHintWindow()
71 if ( aLineSize.Width() > aTextSize.Width() ) in ScHintWindow()
72 aTextSize.Width() = aLineSize.Width(); in ScHintWindow()
74 aTextSize.Width() += HINT_INDENT; in ScHintWindow()
79 Size aWinSize( Max( aHeadSize.Width(), aTextSize.Width() ) + 2 * HINT_MARGIN + 1, in ScHintWindow()
80 aHeadSize.Height() + aTextSize.Height() + HINT_LINESPACE + 2 * HINT_MARGIN + 1 ); in ScHintWindow()
H A Doutput2.cxx106 Size aTextSize; member in ScDrawStringsVars
502 aTextSize = Size(0,0); in SetText()
622 aTextSize.Width() = (long)(aTextSize.Width() / fMul + 0.5); in SetAutoText()
628 long nTemp = aTextSize.Height(); in SetAutoText()
629 aTextSize.Height() = aTextSize.Width(); in SetAutoText()
630 aTextSize.Width() = nTemp; in SetAutoText()
635 aTextSize = pRefDevice->LogicToPixel( aTextSize ); in SetAutoText()
693 aTextSize.Width() = (long)(aTextSize.Width() / fMul + 0.5); in TextChanged()
700 aTextSize.Height() = aTextSize.Width(); in TextChanged()
701 aTextSize.Width() = nTemp; in TextChanged()
[all …]
H A Dhdrcont.cxx293 Size aTextSize; in Paint() local
570 aTextSize.Width() = GetTextWidth( aString ); in Paint()
571 aTextSize.Height() = GetTextHeight(); in Paint()
576 aTxtPos.X() += (nBarSize-aTextSize.Width())/2; in Paint()
577 aTxtPos.Y() += (nSizePix*nLayoutSign-aTextSize.Height())/2; in Paint()
583 aTxtPos.X() += (nSizePix*nLayoutSign-aTextSize.Width()+1)/2; in Paint()
584 aTxtPos.Y() += (nBarSize-aTextSize.Height())/2; in Paint()
H A Dgridwin4.cxx131 Size aTextSize( pDev->GetTextWidth( rTitle ), pDev->GetTextHeight() ); in lcl_DrawOneFrame() local
134 aOuter.Bottom() += aTextSize.Height(); in lcl_DrawOneFrame()
136 aOuter.Top() -= aTextSize.Height(); in lcl_DrawOneFrame()
152 long nBHeight = nVer + aTextSize.Height() + 1; in lcl_DrawOneFrame()
163 sal_Bool bClip = ( aTextSize.Width() > aOuter.Right() - nBWidth - aInner.Left() ); in lcl_DrawOneFrame()
174 nClipEndX, nButtonY + nVer/2 + aTextSize.Height() ) ); in lcl_DrawOneFrame()
1167 Size aTextSize( pEditEng->CalcTextWidth(), pEditEng->GetTextHeight() ); in DrawPagePreview() local
1168 Point aPos( (aPageStart.X()+aPageEnd.X()-aTextSize.Width())/2, in DrawPagePreview()
1169 (aPageStart.Y()+aPageEnd.Y()-aTextSize.Height())/2 ); in DrawPagePreview()
1187 Point aPos( (aPageStart.X()+aPageEnd.X()-aTextSize.Width())/2, in DrawPagePreview()
[all …]
/trunk/main/dbaccess/source/ui/app/
H A DAppTitleWindow.cxx89 Size aTextSize = LogicToPixel( Size( 6, 3 ), MAP_APPFONT ); in Resize() local
90 sal_Int32 nXOffset = aTextSize.Width(); in Resize()
91 sal_Int32 nYOffset = aTextSize.Height(); in Resize()
124 Size aTextSize = LogicToPixel( Size( 12, 0 ), MAP_APPFONT ); in GetWidthPixel() local
125 sal_Int32 nWidth = GetTextWidth(m_aTitle.GetText()) + 2*aTextSize.Width(); in GetWidthPixel()
/trunk/main/sd/source/ui/slideshow/
H A Dshowwin.cxx564 const Size aTextSize( LogicToLogic( Size( 0, 14 ), MAP_POINT, rMap ) ); in DrawPauseScene() local
572 aFont.SetSize( aTextSize ); in DrawPauseScene()
640 const Size aTextSize( LogicToLogic( Size( 0, 14 ), MAP_POINT, GetMapMode() ) ); in DrawEndScene() local
643 aFont.SetSize( aTextSize ); in DrawEndScene()
648 DrawText( Point( aOutOrg.X() + aTextSize.Height(), aOutOrg.Y() + aTextSize.Height() ), aText ); in DrawEndScene()
/trunk/main/UnoControls/source/controls/
H A Dstatusindicator.cxx296 Size aTextSize = xTextLayout->getPreferredSize(); in getPreferredSize() local
302 sal_Int32 nHeight = (2*FREEBORDER)+aTextSize.Height ; in getPreferredSize()
516 Size aTextSize = xTextLayout->getPreferredSize(); in impl_recalcLayout() local
530 nWidth_Text = aTextSize.Width ; in impl_recalcLayout()
531 nHeight_Text = aTextSize.Height ; in impl_recalcLayout()
/trunk/main/extensions/source/scanner/
H A Dgrid.cxx349 Size aTextSize( GetTextWidth( aMark ), GetTextHeight() ); in drawGrid() local
350 aPt.X() -= aTextSize.Width()/2; in drawGrid()
351 aPt.Y() += aTextSize.Height()/2; in drawGrid()
362 Size aTextSize( GetTextWidth( aMark ), GetTextHeight() ); in drawGrid() local
363 aPt.X() -= aTextSize.Width() + 2; in drawGrid()
364 aPt.Y() -= aTextSize.Height()/2; in drawGrid()
/trunk/main/svx/source/tbxctrls/
H A Dlayctrl.cxx407 Size aTextSize( GetTextWidth( aText ), GetTextHeight() ); in Paint() local
415 …DrawText( Point( (aSize.Width() - aTextSize.Width()) / 2, aSize.Height() - nTextHeight + 2 ), aTex… in Paint()
735 Size aTextSize(GetTextWidth( aText ), GetTextHeight()); in Paint() local
736 …DrawText( Point( ( aSize.Width() - aTextSize.Width() ) / 2, aSize.Height() - nTextHeight + 2 ), aT… in Paint()
738 …DrawRect( Rectangle( 0, aSize.Height()-nTextHeight+2, (aSize.Width()-aTextSize.Width())/2-1, aSize… in Paint()
739 …DrawRect( Rectangle( (aSize.Width()-aTextSize.Width())/2+aTextSize.Width(), aSize.Height()-nTextHe… in Paint()
/trunk/main/svtools/source/contnr/
H A Dsvimpicn.cxx575 if ( aTextSize.Width() > nWidth ) in DrawText()
587 if ( aTextSize.Height() <= nHeight ) in DrawText()
593 aPos.X() += nWidth-aTextSize.Width(); in DrawText()
595 aPos.X() += (nWidth-aTextSize.Width())/2; in DrawText()
599 aPos.Y() += aTextSize.Height(); in DrawText()
604 aPos.Y() += nHeight-aTextSize.Height(); in DrawText()
2361 aTextSize.Width() += 2*LROFFS_TEXT; in CalcTextRect()
2386 if( aTextSize.Width() < nMinWidth ) in CalcTextRect()
2387 aTextSize.Width() = nMinWidth; in CalcTextRect()
2410 Rectangle aRect( aPos, aTextSize ); in CalcTextRect()
[all …]
H A Dimivctl1.cxx2280 Size aTextSize( aTextRect.GetSize() ); in CalcTextRect() local
2300 if( aTextSize.Width() < nMinWidth ) in CalcTextRect()
2301 aTextSize.Width() = nMinWidth; in CalcTextRect()
2305 if( aOptSize.Height() > aTextSize.Height() ) in CalcTextRect()
2306 aTextSize.Height() = aOptSize.Height(); in CalcTextRect()
2308 aPos.X() += (nBoundWidth - aTextSize.Width()) / 2; in CalcTextRect()
2315 aPos.Y() += (nBoundHeight - aTextSize.Height()) / 2; in CalcTextRect()
2318 return Rectangle( aPos, aTextSize ); in CalcTextRect()
2995 Size aTextSize( pView->GetTextWidth( aStrDummy ), pView->GetTextHeight() ); in GetMinGrid() local
2999 aMinSize.Height() += aTextSize.Height(); in GetMinGrid()
[all …]
/trunk/main/padmin/source/
H A Dtitlectrl.cxx52 Size aTextSize( GetTextWidth( m_aText ), GetTextHeight() ); in arrange() local
56 m_aTextPos.X() = m_aImagePos.X() + aImageSize.Width() + aTextSize.Height()/2; in arrange()
57 m_aTextPos.Y() = ( aCtrlSize.Height() - aTextSize.Height() ) / 2; in arrange()
/trunk/main/sw/source/filter/ww8/dump/
H A Ddump8.cxx136 Size aTextSize( GetTextWidth( aText ), GetTextHeight()); in Paint() local
137 Point aPos( aWinSize.Width() / 2 - aTextSize.Width() / 2, in Paint()
138 aWinSize.Height() / 2 - aTextSize.Height() / 2 ); in Paint()
/trunk/main/svx/source/svdraw/
H A Dsvdomeas.cxx302 Size aTextSize; member
376 rPol.aTextSize=GetTextSize(); in ImpCalcGeometrics()
430 long nNeedSiz=!rRec.bTextRota90 ? rPol.aTextSize.Width() : rPol.aTextSize.Height(); in ImpCalcGeometrics()
514 long nNeedSiz=!rRec.bTextRota90 ? rPol.aTextSize.Width() : rPol.aTextSize.Height(); in ImpCalcGeometrics()
527 long nTextWdt=rRec.bTextRota90 ? rPol.aTextSize.Height() : rPol.aTextSize.Width(); in ImpCalcGeometrics()
633 ((SdrMeasureObj*)this)->aTextSize=aSiz; in UndirtyText()
648 Size aTextSize2(aMPol.aTextSize); in TakeUnrotatedSnapRect()
H A Dsvdotext.cxx322 aTextSize=aSiz; in NbcSetText()
349 aTextSize=aSiz; in NbcSetText()
378 ((SdrTextObj*)this)->aTextSize=aSiz; in GetTextSize()
381 return aTextSize; in GetTextSize()
1239 aTextSize=pTextObj->aTextSize; in operator =()
/trunk/main/vcl/source/control/
H A Dbutton.cxx437 Size aTextSize; in ImplDrawAlignedImage() local
499 aTextSize = aRect.GetSize(); in ImplDrawAlignedImage()
501 aTSSize.Width() += aTextSize.Width(); in ImplDrawAlignedImage()
503 if ( aTSSize.Height() < aTextSize.Height() ) in ImplDrawAlignedImage()
504 aTSSize.Height() = aTextSize.Height(); in ImplDrawAlignedImage()
3208 aSize.Width() += aTextSize.Width(); in CalcMinimumSize()
3209 if ( aSize.Height() < aTextSize.Height() ) in CalcMinimumSize()
3210 aSize.Height() = aTextSize.Height(); in CalcMinimumSize()
4112 aSize.Width() += aTextSize.Width(); in CalcMinimumSize()
4113 if ( aSize.Height() < aTextSize.Height() ) in CalcMinimumSize()
[all …]
/trunk/main/svtools/source/toolpanel/
H A Dpaneltabbar.cxx602 … const Size aTextSize( m_rTabBar.GetCtrlTextWidth( sItemText ), m_rTabBar.GetTextHeight() ); in impl_calculateItemContentSize() local
603 aItemContentSize.Width() += aTextSize.Width(); in impl_calculateItemContentSize()
604 aItemContentSize.Height() = ::std::max( aItemContentSize.Height(), aTextSize.Height() ); in impl_calculateItemContentSize()
677 … const Size aTextSize( m_rTabBar.GetCtrlTextWidth( sItemText ), m_rTabBar.GetTextHeight() ); in impl_renderItemContent() local
688 aTextPos.X() += aTextSize.Height(); in impl_renderItemContent()
689 aTextPos.X() += ( aRenderArea.GetWidth() - aTextSize.Height() ) / 2; in impl_renderItemContent()
693 aTextPos.Y() += ( aRenderArea.GetHeight() - aTextSize.Height() ) / 2; in impl_renderItemContent()
/trunk/main/chart2/source/view/main/
H A DVLegend.cxx248 awt::Size aTextSize( aTextShapes[ nEntry ]->getSize() ); in lcl_collectColumnWidths() local
249 sal_Int32 nWidth = nSymbolPlusDistanceWidth + aTextSize.Width; in lcl_collectColumnWidths()
276 awt::Size aTextSize( aTextShapes[ nEntry ]->getSize() ); in lcl_collectRowHeighs() local
277 nCurrentRowHeight = ::std::max( nCurrentRowHeight, aTextSize.Height ); in lcl_collectRowHeighs()
580 awt::Size aTextSize( xTextShape->getSize() ); in lcl_placeLegendEntries() local
583 nTextXPos = nCurrentXPos - nSymbolPlusDistanceWidth - aTextSize.Width; in lcl_placeLegendEntries()
/trunk/main/cui/source/dialogs/
H A Dthesdlg.cxx270 Size aTextSize( GetTextWidth( m_rDialogImpl.aErrStr ), GetTextHeight() ); in Paint() local
271 aTextSize = LogicToPixel( aTextSize ); in Paint()
273 aPos.X() += GetSizePixel().Width() / 2 - aTextSize.Width() / 2; in Paint()
/trunk/main/sdext/source/presenter/
H A DPresenterButton.cxx444 geometry::RealSize2D aTextSize (PresenterCanvasHelper::GetTextSize(mpFont->mxFont,msText)); in CalculateButtonSize() local
447 sal_Int32(0.5 + aTextSize.Width + 2*gnHorizontalBorder), in CalculateButtonSize()
448 sal_Int32(0.5 + aTextSize.Height + 2*gnVerticalBorder)); in CalculateButtonSize()
/trunk/main/dbaccess/source/ui/control/
H A DRelationControl.cxx392 Size aTextSize( GetDataWindow().GetTextHeight(),GetDataWindow().GetTextWidth( aText )); in PaintCell() local
394 if( aPos.X() < rRect.Right() || aPos.X() + aTextSize.Width() > rRect.Right() || in PaintCell()
395 aPos.Y() < rRect.Top() || aPos.Y() + aTextSize.Height() > rRect.Bottom() ) in PaintCell()
/trunk/main/editeng/source/editeng/
H A Dimpedit3.cxx1264 Size aTextSize = pLine->CalcTextSize( *pParaPortion ); in CreateLines() local
1266 if ( aTextSize.Height() == 0 ) in CreateLines()
1276 pLine->SetHeight( (sal_uInt16)aTextSize.Height() ); in CreateLines()
1384 if ( aTextSize.Width() < nMaxLineWidthFix ) in CreateLines()
1390 long nRemainingWidth = nMaxLineWidth - aTextSize.Width(); in CreateLines()
1394 aTextSize = pLine->CalcTextSize( *pParaPortion ); in CreateLines()
1402 long n = nMaxLineWidth - aTextSize.Width(); in CreateLines()
1410 pLine->SetTextWidth( aTextSize.Width() ); in CreateLines()
1415 long n = ( nMaxLineWidth - aTextSize.Width() ) / 2; in CreateLines()
1429 long n = nMaxLineWidth - aTextSize.Width(); in CreateLines()
[all …]
/trunk/main/svtools/source/uno/
H A Dtreecontrolpeer.cxx1731 const Size aTextSize(pView->GetTextWidth( maText ), pView->GetTextHeight()); in InitViewData() local
1734 pViewData->aSize.Width() += 6 + aTextSize.Width(); in InitViewData()
1735 if( pViewData->aSize.Height() < aTextSize.Height() ) in InitViewData()
1736 pViewData->aSize.Height() = aTextSize.Height(); in InitViewData()
1740 pViewData->aSize = aTextSize; in InitViewData()
/trunk/main/starmath/source/
H A Ddialog.cxx445 aTextSize(this, SmResId(4)), in SmFontSizeDialog()
472 aTextSize .SetValue( rFormat.GetRelSize(SIZ_TEXT) ); in ReadFrom()
484 rFormat.SetRelSize(SIZ_TEXT, (sal_uInt16) aTextSize .GetValue()); in WriteTo()
1335 Size aTextSize(GetTextWidth(rText), GetTextHeight()); in Paint() local
1337 DrawText(Point((GetOutputSize().Width() - aTextSize.Width()) / 2, in Paint()
1654 Size aTextSize(GetTextWidth(aText), GetTextHeight()); in Paint() local
1656 DrawText(Point((GetOutputSize().Width() - aTextSize.Width()) / 2, in Paint()
/trunk/main/sw/source/ui/chrdlg/
H A Ddrpcps.cxx345 Size aTextSize( maTextSize ); in Paint() local
346 aTextSize.Width() += nDistW; in Paint()
347 DrawRect( Rectangle( Point( BORDER, nY0 ), aTextSize ) ); in Paint()

Completed in 233 milliseconds

12