Home
last modified time | relevance | path

Searched refs:nTextHeight (Results 1 – 25 of 47) sorted by relevance

12

/aoo41x/main/svx/source/tbxctrls/
H A Dlayctrl.cxx68 long nTextHeight; member in TableWindow
113 nTextHeight = GetTextHeight()+1; in TableWindow()
204 (short)(aWinPos.Y()+(nMY*nHeight-1+nTextHeight)) >= in UpdateSize_Impl()
246 Invalidate( Rectangle( 0, aWinSize.Height()-nTextHeight+2, in UpdateSize_Impl()
364 aSize.Width(), aSize.Height()-nTextHeight+1 ) ); in Paint()
366 aSize.Width(), aSize.Height()-nTextHeight+1 ) ); in Paint()
471 long nTextHeight; member in ColumnsWindow
510 nTextHeight = GetTextHeight()+1; in ColumnsWindow()
589 Invalidate( Rectangle( 0, aWinSize.Height()-nTextHeight+2, in UpdateSize_Impl()
714 i*nMX+nMX, aSize.Height()-nTextHeight+1 ) ); in Paint()
[all …]
/aoo41x/main/vcl/unx/generic/printergfx/
H A Dtext_gfx.cxx242 sal_Int32 nTextHeight = maVirtualStatus.mnTextHeight; in DrawGlyphs() local
247 nDescend = nDescend * nTextHeight / 1000; in DrawGlyphs()
248 nAscend = nAscend * nTextHeight / 1000; in DrawGlyphs()
280 … aRotPoint = Point( -nAscend*nTextWidth/nTextHeight, -nDescend*nTextWidth/nTextHeight - nOffset ); in DrawGlyphs()
288 … aRotPoint = Point( -nDescend*nTextWidth/nTextHeight, nOffset + nAscend*nTextWidth/nTextHeight ); in DrawGlyphs()
300 maVirtualStatus.mnTextWidth = nTextHeight; in DrawGlyphs()
/aoo41x/main/sw/source/ui/utlui/
H A Dtextcontrolcombo.cxx49 long nTextHeight = _rFTcomplete.GetSizePixel().Height(); in Arrange() local
55 if( nCtrlHeight > nTextHeight ) in Arrange()
77 mrFTbefore.SetPosSizePixel( nX, nYFT, nWidth, nTextHeight ); in Arrange()
86 mrFTafter.SetPosSizePixel( nX, nYFT, GetTextWidth( aTxtAfter ), nTextHeight ); in Arrange()
/aoo41x/main/vcl/source/control/
H A Dlstbox.cxx470 long nTextHeight = pDev->GetTextHeight(); in Draw() local
473 long nOffY = (aSize.Height()-nTextHeight) / 2; in Draw()
477 ((nOffY+nTextHeight) > aSize.Height()) || in Draw()
481 if ( nTextHeight > aSize.Height() ) in Draw()
482 aClip.Bottom() += nTextHeight-aSize.Height()+1; // Damit HP-Drucker nicht 'weg-optimieren' in Draw()
490 long nTextHeight = pDev->GetTextHeight(); in Draw() local
491 sal_uInt16 nLines = (sal_uInt16)(aSize.Height() / nTextHeight); in Draw()
506 pDev->DrawRect( Rectangle( Point( aPos.X(), aPos.Y() + n*nTextHeight ), in Draw()
507 Point( aPos.X() + aSize.Width(), aPos.Y() + (n+1)*nTextHeight + 2*nOnePixel ) ) ); in Draw()
512 aTextRect.Top() = aPos.Y() + n*nTextHeight; in Draw()
[all …]
H A Dcombobox.cxx1267 long nTextHeight = pDev->GetTextHeight(); in Draw() local
1268 long nEditHeight = nTextHeight + 6*nOnePixel; in Draw()
1301 sal_uInt16 nLines = (sal_uInt16) ( (aSize.Height()-nEditHeight) / nTextHeight ); in Draw()
1311 aTextRect.Bottom() = aTextRect.Top() + nTextHeight; in Draw()
1317 aTextRect.Top() += nTextHeight; in Draw()
1318 aTextRect.Bottom() += nTextHeight; in Draw()
H A Dedit.cxx1231 const long nTextHeight = GetTextHeight(); in ImplShowCursor() local
1234 pCursor->SetSize( Size( nCursorWidth, nTextHeight ) ); in ImplShowCursor()
1945 long nTextHeight = pDev->GetTextHeight(); in Draw() local
1949 long nOffY = (aSize.Height() - nTextHeight) / 2; in Draw()
1953 ((nOffY+nTextHeight) > aSize.Height()) || in Draw()
1957 if ( nTextHeight > aSize.Height() ) in Draw()
1958 aClip.Bottom() += nTextHeight-aSize.Height()+1; // Damit HP-Drucker nicht 'weg-optimieren' in Draw()
2462 long nTextHeight = GetTextHeight(); in ImplShowDDCursor() local
2463 …Point( nTextWidth + mnXOffset, (GetOutputSize().Height()-nTextHeight)/2 ), Size( 2, nTextHeight ) … in ImplShowDDCursor()
/aoo41x/main/sfx2/source/doc/
H A Dobjcont.cxx788 long nTextHeight( pPrinter->GetTextHeight() ); in Print() local
790 aOutPos.Y() += nTextHeight; in Print()
791 aOutPos.Y() += nTextHeight/2; in Print()
800 nTextHeight = pPrinter->GetTextHeight(); in Print()
802 if ( aOutPos.Y() + nTextHeight*2 > in Print()
810 aOutPos.Y() += nTextHeight; in Print()
819 nTextHeight = pPrinter->GetTextHeight(); in Print()
855 if ( aOutPos.Y() + nTextHeight*2 > in Print()
/aoo41x/main/svx/source/sidebar/tools/
H A DValueSetWithTextControl.cxx364 long nTextHeight = pDev->GetTextHeight(); in UserDraw() local
372 Point aSStart(aBLPos.X()+(nRectWidth-nTextWidth)/2, aBLPos.Y() +(nRectHeight-nTextHeight)/2); in UserDraw()
463 long nTextHeight = pDev->GetTextHeight(); in UserDraw() local
464 Point aStart(aBLPos.X()+(nRectWidth-nTextWidth)/2, aBLPos.Y() +(nRectHeight-nTextHeight)/2); in UserDraw()
502 long nTextHeight = pDev->GetTextHeight(); in UserDraw() local
510 Point aStart(aBLPos.X()+(nRectWidth-nTextWidth)/2, aBLPos.Y() +(nRectHeight-nTextHeight)/2); in UserDraw()
/aoo41x/main/sc/source/core/tool/
H A Deditutil.cxx161 long nTextHeight = pDoc->GetNeededSize( nCol, nRow, nTab, in GetEditArea() local
163 if (!nTextHeight) in GetEditArea()
169 nTextHeight = pDev->GetTextHeight() + nTopMargin + in GetEditArea()
175 if ( nTextHeight > nCellY + nTopMargin || bForceToTop ) in GetEditArea()
180 nPixDifY = nTopMargin + ( nCellY - nTextHeight ) / 2; in GetEditArea()
182 nPixDifY = nCellY - nTextHeight + nTopMargin; // JUSTIFY_BOTTOM in GetEditArea()
/aoo41x/main/vcl/source/window/
H A Dprintdlg.cxx166 long nTextHeight = maHorzDim.GetTextHeight(); in Resize() local
168 aNewSize.Width() -= nTextHeight + 2; in Resize()
169 aNewSize.Height() -= nTextHeight + 2; in Resize()
215 maHorzDim.SetPosSizePixel( Point( aRef.X(), aRef.Y() - nTextHeight ), in Resize()
217 maVertDim.SetPosSizePixel( Point( aRef.X() - nTextHeight, aRef.Y() ), in Resize()
224 long nTextHeight = maHorzDim.GetTextHeight(); in Paint() local
226 aSize.Width() -= nTextHeight; in Paint()
227 aSize.Height() -= nTextHeight; in Paint()
232 Rectangle aTextRect( Point( nTextHeight, nTextHeight ), aSize ); in Paint()
431 long nTextHeight = GetTextHeight(); in Paint() local
[all …]
/aoo41x/main/sc/source/ui/view/
H A Dhintwin.cxx69 nTextHeight = aLineSize.Height(); in ScHintWindow()
70 aTextSize.Height() += nTextHeight; in ScHintWindow()
102 aLineStart.Y() += nTextHeight; in Paint()
H A Dprintfun.cxx1430 long nTextHeight = pDev->GetTextHeight(); in PrintColHdr() local
1432 long nAddY = ( nHeight - nTextHeight ) / 2; in PrintColHdr()
1474 long nTextHeight = pDev->GetTextHeight(); in PrintRowHdr() local
1476 long nAddY = ( nHeight - nTextHeight ) / 2; in PrintRowHdr()
1931 long nTextHeight = pEditEngine->GetTextHeight(); in DoNotes() local
1932 if ( nPosY + nTextHeight < aPageRect.Bottom() ) in DoNotes()
1949 Rectangle aTextRect( Point( nPosX, nPosY ), Size( aDataSize.Width(), nTextHeight ) ); in DoNotes()
1951 Rectangle aMarkRect( Point( aPageRect.Left(), nPosY ), Size( nMarkLen, nTextHeight ) ); in DoNotes()
1955 nPosY += nTextHeight; in DoNotes()
/aoo41x/main/filter/source/pdf/
H A Dpdfexport.cxx1095 long nTextHeight = pDev->GetTextHeight(); in ImplWriteWatermark() local
1098 nTextHeight += nTextHeight/20; in ImplWriteWatermark()
1110 rPageSize.Height()-(rPageSize.Height()-nTextHeight)/2 ); in ImplWriteWatermark()
1112 (rPageSize.Height()-nTextHeight)/2 ), in ImplWriteWatermark()
1113 Size( w, nTextHeight ) ); in ImplWriteWatermark()
1117 aTextPoint = Point( (rPageSize.Width()-nTextHeight)/2, in ImplWriteWatermark()
1119 aTextRect = Rectangle( aTextPoint, Size( nTextHeight, w ) ); in ImplWriteWatermark()
/aoo41x/main/sfx2/source/dialog/
H A Dalienwarn.cxx118 long nTextHeight = m_aWarningOnBox.GetTextHeight(); in InitSize() local
120 aNewSize.Height() += nTextHeight; in InitSize()
123 aNewSize.Height() += nTextHeight; in InitSize()
/aoo41x/main/uui/source/
H A Dmasterpasscrtdlg.cxx105 long nTextHeight = aFTMasterPasswordWarning.GetTextHeight(); in MasterPasswordCreateDialog() local
113 for( nNewLabelHeight = ( nTextWidth / nLableWidth + 1 ) * nTextHeight; in MasterPasswordCreateDialog()
115 nNewLabelHeight += nTextHeight ) {}; in MasterPasswordCreateDialog()
H A Dpassworddlg.cxx136 long nTextHeight = aFTPassword.GetTextHeight(); in PasswordDialog() local
142 for( nNewLabelHeight = ( nTextWidth / nLabelWidth + 1 ) * nTextHeight; in PasswordDialog()
144 nNewLabelHeight += nTextHeight ) {} ; in PasswordDialog()
/aoo41x/main/vcl/source/gdi/
H A Dgraph.cxx128 long nTextHeight = pOutDev->GetTextHeight(); in ImplDrawDefault() local
130 if ( nTextHeight ) in ImplDrawDefault()
134 long nLines = aSize.Height() / nTextHeight; in ImplDrawDefault()
168 aPoint.Y() += nTextHeight; in ImplDrawDefault()
H A Doutdev3.cxx6422 if ( nTextHeight ) in ImplDrawText()
6458 if ( nFormatLines*nTextHeight > nHeight ) in ImplDrawText()
6476 aPos.Y() += nTextHeight; in ImplDrawText()
6512 aPos.Y() += nTextHeight; in ImplDrawText()
6544 if ( nTextHeight <= nHeight ) in ImplDrawText()
6556 aPos.Y() += nTextHeight; in ImplDrawText()
6561 aPos.Y() += nHeight-nTextHeight; in ImplDrawText()
6563 aPos.Y() += (nHeight-nTextHeight)/2; in ImplDrawText()
6711 long nTextHeight = GetTextHeight(); in GetTextRect() local
6728 if ( !nTextHeight ) in GetTextRect()
[all …]
/aoo41x/main/sdext/source/presenter/
H A DPresenterPaneBorderPainter.cxx612 const double nTextHeight = aBox.Y2 - aBox.Y1; in PaintTitle() local
616 double nY = rOuterBox.Y + (nTitleBarHeight - nTextHeight) / 2 - aBox.Y1; in PaintTitle()
636 || rUpdateBox.Y >= nY+nTextHeight in PaintTitle()
654 aPolygons[0][0] = geometry::RealPoint2D(0, -nTextHeight); in PaintTitle()
657 aPolygons[0][3] = geometry::RealPoint2D(nTextWidth, -nTextHeight); in PaintTitle()
H A DPresenterToolBar.cxx259 const sal_Int32 nTextHeight,
1755 sal_Int32 nTextHeight (sal::static_int_cast<sal_Int32>(0.5 + aTextBBox.Y2 - aTextBBox.Y1)); in Paint() local
1757 PaintIcon(rxCanvas, nTextHeight, rViewState); in Paint()
1780 sal_Int32 nTextHeight (sal::static_int_cast<sal_Int32>(0.5 + aTextBBox.Y2 - aTextBBox.Y1)); in CreateBoundingSize() local
1790 aSize.Height+ nGap + nTextHeight); in CreateBoundingSize()
1793 return awt::Size(nTextWidth,nTextHeight); in CreateBoundingSize()
1801 const sal_Int32 nTextHeight, in PaintIcon() argument
1813 + (maSize.Height - nTextHeight - xBitmap->getSize().Height) / 2); in PaintIcon()
/aoo41x/main/svtools/source/contnr/
H A Dsvimpicn.cxx400 long nTextHeight; in GetTextRect() local
411 nTextHeight = pDev->GetTextHeight(); in GetTextRect()
412 nLines = (sal_uInt16)(aRect.GetHeight()/nTextHeight); in GetTextRect()
433 nTextHeight = pDev->GetTextHeight(); in GetTextRect()
449 aRect.Top() = aRect.Bottom()-(nTextHeight*nLines)+1; in GetTextRect()
453 aRect.Bottom() = aRect.Top()+(nTextHeight*nLines)-1; in GetTextRect()
456 aRect.Bottom() = aRect.Top()+(nTextHeight*nLines)-1; in GetTextRect()
532 aPos.Y() += nHeight-(nFormatLines*nTextHeight); in DrawText()
534 aPos.Y() += (nHeight-(nFormatLines*nTextHeight))/2; in DrawText()
538 aPos.Y() += nTextHeight; in DrawText()
[all …]
/aoo41x/main/svtools/source/control/
H A Dcalendar.cxx461 long nTextHeight = GetTextHeight(); in ImplFormat() local
478 mnDayHeight = nTextHeight + DAY_OFFY; in ImplFormat()
479 mnWeekDayOffY = nTextHeight + TITLE_OFFY + (TITLE_BORDERY*2); in ImplFormat()
480 mnDaysOffY = mnWeekDayOffY + nTextHeight + WEEKDAY_OFFY; in ImplFormat()
489 long nSpinSize = nTextHeight+TITLE_BORDERY-SPIN_OFFY; in ImplFormat()
2623 long nTextHeight = GetTextHeight(); in CalcWindowSizePixel() local
2632 aSize.Height() = nTextHeight + TITLE_OFFY + (TITLE_BORDERY*2); in CalcWindowSizePixel()
2633 aSize.Height() += nTextHeight + WEEKDAY_OFFY; in CalcWindowSizePixel()
2634 aSize.Height() += ((nTextHeight+DAY_OFFY)*6); in CalcWindowSizePixel()
/aoo41x/main/vcl/unx/generic/gdi/
H A Dpspgraphics.cxx931 sal_Int32 nTextHeight = m_pPrinterGfx->GetFontHeight(); in GetFontMetric() local
934 nTextWidth = nTextHeight; in GetFontMetric()
937 pMetric->mnAscent = ( aInfo.m_nAscend * nTextHeight + 500 ) / 1000; in GetFontMetric()
938 pMetric->mnDescent = ( aInfo.m_nDescend * nTextHeight + 500 ) / 1000; in GetFontMetric()
939 pMetric->mnIntLeading = ( aInfo.m_nLeading * nTextHeight + 500 ) / 1000; in GetFontMetric()
/aoo41x/main/vcl/unx/headless/
H A Dsvppspgraphics.cxx840 sal_Int32 nTextHeight = m_pPrinterGfx->GetFontHeight(); in GetFontMetric() local
843 nTextWidth = nTextHeight; in GetFontMetric()
846 pMetric->mnAscent = ( aInfo.m_nAscend * nTextHeight + 500 ) / 1000; in GetFontMetric()
847 pMetric->mnDescent = ( aInfo.m_nDescend * nTextHeight + 500 ) / 1000; in GetFontMetric()
848 pMetric->mnIntLeading = ( aInfo.m_nLeading * nTextHeight + 500 ) / 1000; in GetFontMetric()
/aoo41x/main/svtools/source/edit/
H A Dsvmedit.cxx303 sal_uLong nTextHeight = mpTextWindow->GetTextEngine()->GetTextHeight(); in ImpSetScrollBarRanges() local
304 mpVScrollBar->SetRange( Range( 0, (long)nTextHeight-1 ) ); in ImpSetScrollBarRanges()
581 long nTextHeight = mpTextWindow->GetTextEngine()->GetTextHeight(); in Notify() local
582 if ( nTextHeight < nOutHeight ) in Notify()

Completed in 210 milliseconds

12