Home
last modified time | relevance | path

Searched refs:nTextHeight (Results 1 – 25 of 47) sorted by last modified time

12

/trunk/main/vcl/source/control/
H A Dtabctrl.cxx707 long nTextHeight = GetTextHeight(); in ImplShowFocus() local
727 aRect.Top() = aRect.Top()+((aTabSize.Height()-nTextHeight)/2)-1-1; in ImplShowFocus()
729 aRect.Bottom() = aRect.Top()+nTextHeight+2; in ImplShowFocus()
918 long nTextHeight = GetTextHeight(); in ImplDrawItem() local
927 long nYPos = aRect.Top()+((aTabSize.Height()-nTextHeight)/2)-nOff3; in ImplDrawItem()
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()
2465 long nTextHeight = GetTextHeight(); in ImplShowDDCursor() local
2466 …Point( nTextWidth + mnXOffset, (GetOutputSize().Height()-nTextHeight)/2 ), Size( 2, nTextHeight ) … in ImplShowDDCursor()
H A Dbutton.cxx2386 long nTextHeight = pDev->GetTextHeight(); in ImplDraw() local
2396 aImageRect.Top() = (rSize.Height()-(aTmpSize.Height()+nTextHeight+6))/2; in ImplDraw()
2414 aTxtPos.Y() += (rSize.Height()-nTextHeight)/2; in ImplDraw()
/trunk/main/vcl/source/gdi/
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 …]
H A Dpdfwriter_impl.cxx7814 long nTextHeight = m_pReferenceDevice->GetTextHeight(); in drawText() local
7832 if ( nTextHeight ) in drawText()
7836 nLines = (xub_StrLen)(nHeight/nTextHeight); in drawText()
7865 aPos.Y() += nHeight-(nFormatLines*nTextHeight); in drawText()
7867 aPos.Y() += (nHeight-(nFormatLines*nTextHeight))/2; in drawText()
7882 aPos.Y() += nTextHeight; in drawText()
7915 aPos.Y() += nHeight-nTextHeight; in drawText()
7917 aPos.Y() += (nHeight-nTextHeight)/2; in drawText()
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()
/trunk/main/sd/source/ui/view/
H A Doutlnvsh.cxx1190 long nTextHeight = pOlView->GetOutliner()->GetTextHeight(); in VirtVScrollHdl() local
1191 nViewHeight += nTextHeight; in VirtVScrollHdl()
/trunk/main/sc/source/ui/view/
H A Dviewdata.cxx1379 long nTextHeight = pEngine->GetTextHeight(); in EditGrowY() local
1400 while (aArea.GetHeight() + nAllowedExtra < nTextHeight && nEditEndRow < nBottom && !bMaxReached) in EditGrowY()
H A Dgridwin.cxx5064 long nTextHeight = aEngine.GetTextHeight(); in GetEditUrlOrError() local
5087 aLogicEdit.Bottom() = aLogicEdit.Top() + nTextHeight; in GetEditUrlOrError()
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()
/trunk/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()
/trunk/main/vcl/source/window/
H A Dbrdwin.cxx234 long nTextHeight = pBorderWindow->GetTextHeight(); in ImplInitTitle() local
235 if ( nTextHeight > pData->mnTitleHeight ) in ImplInitTitle()
236 pData->mnTitleHeight = nTextHeight; in ImplInitTitle()
H A Dwindow.cxx347 long nTextHeight = pWindow->GetTextHeight(); in ImplInitAppFontData() local
349 long nSymHeight = nTextHeight*4; in ImplInitAppFontData()
359 pSVData->maGDIData.mnAppFontY = nTextHeight * 10; in ImplInitAppFontData()
369 …lRegion( Point(), Size( nTextWidth < 10 ? 10 : nTextWidth, nTextHeight < 10 ? 10 : nTextHeight ) ); in ImplInitAppFontData()
378 if( aContentRgn.GetHeight() - nTextHeight > (nTextHeight+4)/4 ) in ImplInitAppFontData()
H A Dmenu.cxx2465 long nTextHeight = pWin->GetTextHeight(); in ImplCalcSize() local
2472 if ( nTextHeight > pData->aSz.Height() ) in ImplCalcSize()
2473 pData->aSz.Height() = nTextHeight; in ImplCalcSize()
2479 pData->aSz.Height() = Max( Max( nTextHeight, pData->aSz.Height() ), nMinMenuItemHeight ); in ImplCalcSize()
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 …]
/trunk/main/svtools/source/table/
H A Dgridtablerenderer.cxx617 long const nTextHeight = i_targetDevice.GetTextHeight(); in FitsIntoCell() local
618 if ( nTextHeight > aTargetArea.GetHeight() ) in FitsIntoCell()
/trunk/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()
/trunk/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()
/trunk/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()
H A Dcommon_gfx.cxx791 sal_Int32 nTextHeight = rCurrent.mnTextHeight; in PSSetFont() local
830 nChar += psp::getValueOf (-nTextHeight, pSetFont + nChar); in PSSetFont()
840 nChar += psp::getValueOf (-nTextHeight, pSetFont + nChar); in PSSetFont()
/trunk/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()
/trunk/main/uui/source/
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()
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()

Completed in 407 milliseconds

12