/trunk/main/vcl/source/control/ |
H A D | tabctrl.cxx | 707 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 D | lstbox.cxx | 470 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 D | combobox.cxx | 1267 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 D | edit.cxx | 1231 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 D | button.cxx | 2386 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 D | outdev3.cxx | 6422 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 D | pdfwriter_impl.cxx | 7814 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 D | graph.cxx | 128 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 D | outlnvsh.cxx | 1190 long nTextHeight = pOlView->GetOutliner()->GetTextHeight(); in VirtVScrollHdl() local 1191 nViewHeight += nTextHeight; in VirtVScrollHdl()
|
/trunk/main/sc/source/ui/view/ |
H A D | viewdata.cxx | 1379 long nTextHeight = pEngine->GetTextHeight(); in EditGrowY() local 1400 while (aArea.GetHeight() + nAllowedExtra < nTextHeight && nEditEndRow < nBottom && !bMaxReached) in EditGrowY()
|
H A D | gridwin.cxx | 5064 long nTextHeight = aEngine.GetTextHeight(); in GetEditUrlOrError() local 5087 aLogicEdit.Bottom() = aLogicEdit.Top() + nTextHeight; in GetEditUrlOrError()
|
H A D | printfun.cxx | 1430 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 D | editutil.cxx | 161 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 D | brdwin.cxx | 234 long nTextHeight = pBorderWindow->GetTextHeight(); in ImplInitTitle() local 235 if ( nTextHeight > pData->mnTitleHeight ) in ImplInitTitle() 236 pData->mnTitleHeight = nTextHeight; in ImplInitTitle()
|
H A D | window.cxx | 347 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 D | menu.cxx | 2465 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 D | printdlg.cxx | 166 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 D | gridtablerenderer.cxx | 617 long const nTextHeight = i_targetDevice.GetTextHeight(); in FitsIntoCell() local 618 if ( nTextHeight > aTargetArea.GetHeight() ) in FitsIntoCell()
|
/trunk/main/filter/source/pdf/ |
H A D | pdfexport.cxx | 1095 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 D | svppspgraphics.cxx | 840 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 D | text_gfx.cxx | 242 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 D | common_gfx.cxx | 791 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 D | pspgraphics.cxx | 931 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 D | passworddlg.cxx | 136 long nTextHeight = aFTPassword.GetTextHeight(); in PasswordDialog() local 142 for( nNewLabelHeight = ( nTextWidth / nLabelWidth + 1 ) * nTextHeight; in PasswordDialog() 144 nNewLabelHeight += nTextHeight ) {} ; in PasswordDialog()
|
H A D | masterpasscrtdlg.cxx | 105 long nTextHeight = aFTMasterPasswordWarning.GetTextHeight(); in MasterPasswordCreateDialog() local 113 for( nNewLabelHeight = ( nTextWidth / nLableWidth + 1 ) * nTextHeight; in MasterPasswordCreateDialog() 115 nNewLabelHeight += nTextHeight ) {}; in MasterPasswordCreateDialog()
|