Home
last modified time | relevance | path

Searched refs:nLineHeight (Results 1 – 25 of 39) sorted by last modified time

12

/trunk/main/sw/source/ui/frmdlg/
H A Dcolex.cxx558 sal_Int32 nLineHeight = nBaseHeight + nRubyHeight; in DrawPage() local
561 sal_Int32 nLines = (m_bVertical ? aRect.GetWidth(): aRect.GetHeight()) / nLineHeight; in DrawPage()
568 sal_Int16 nXStart = static_cast< sal_Int16 >(aRect.GetWidth() / 2 - nLineHeight * nLines /2); in DrawPage()
574 sal_Int16 nYStart = static_cast< sal_Int16 >(aRect.GetHeight() / 2 - nLineHeight * nLines /2); in DrawPage()
587 sal_Int32 nXMove = m_bVertical ? nLineHeight : 0; in DrawPage()
588 sal_Int32 nYMove = m_bVertical ? 0 : nLineHeight; in DrawPage()
/trunk/main/vcl/source/window/
H A Dtoolbox.cxx1017 long nLineHeight; in ImplCalcLines() local
1022 nLineHeight = pThis->mnWinHeight; in ImplCalcLines()
1024 nLineHeight = pThis->mnMaxItemHeight; in ImplCalcLines()
1027 nLineHeight = pThis->mnMaxItemWidth; in ImplCalcLines()
1034 nLineHeight += TB_LINESPACING; in ImplCalcLines()
1039 long nLines = nToolSize/nLineHeight; in ImplCalcLines()
2331 long nLineHeight = ( mnWinHeight > mnMaxItemHeight ) ? mnWinHeight : mnMaxItemHeight; in ImplGetOptimalFloatingSize() local
2341 aSz.Height() = nBorderY + nLineHeight * nLines; in ImplGetOptimalFloatingSize()
H A Ddecoview.cxx688 long nLineHeight = pDev->ImplGetDPIY()/300; in ImplDrawDPILineRect() local
691 if ( !nLineHeight ) in ImplDrawDPILineRect()
692 nLineHeight = 1; in ImplDrawDPILineRect()
696 if ( (nLineWidth == 1) && (nLineHeight == 1) ) in ImplDrawDPILineRect()
716 pDev->DrawRect( Rectangle( rRect.TopLeft(), Size( nWidth, nLineHeight ) ) ); in ImplDrawDPILineRect()
718 pDev->DrawRect( Rectangle( Point( rRect.Left(), rRect.Bottom()-nLineHeight ), in ImplDrawDPILineRect()
719 Size( nWidth, nLineHeight ) ) ); in ImplDrawDPILineRect()
726 rRect.Top() += nLineHeight; in ImplDrawDPILineRect()
728 rRect.Bottom() -= nLineHeight; in ImplDrawDPILineRect()
/trunk/main/vcl/source/gdi/
H A Doutdev3.cxx3374 if ( !nLineHeight ) in ImplInitTextLineSize()
3375 nLineHeight = 1; in ImplInitTextLineSize()
3456 if ( !nLineHeight ) in ImplInitAboveTextLineSize()
3457 nLineHeight = 1; in ImplInitAboveTextLineSize()
3651 long nLineHeight; in ImplDrawWaveTextLine() local
3665 nLineHeight = 3; in ImplDrawWaveTextLine()
3676 nLineHeight /= 3; in ImplDrawWaveTextLine()
3677 if ( nLineHeight < 2 ) in ImplDrawWaveTextLine()
3680 nLineHeight = 2; in ImplDrawWaveTextLine()
3778 if ( nLineHeight ) in ImplDrawStraightTextLine()
[all …]
H A Dpdfwriter_impl.cxx8025 long nLineHeight = 0; in drawWaveTextLine() local
8046 nLineHeight = 3; in drawWaveTextLine()
8060 long nOrgLineHeight = nLineHeight; in drawWaveTextLine()
8061 nLineHeight /= 3; in drawWaveTextLine()
8062 if ( nLineHeight < 2 ) in drawWaveTextLine()
8065 nLineHeight = 2; in drawWaveTextLine()
8067 nLineHeight = 1; in drawWaveTextLine()
8095 long nLineHeight = 0; in drawStraightTextLine() local
8168 if ( nLineHeight ) in drawStraightTextLine()
8264 long nLineHeight = 0; in drawStrikeoutLine() local
[all …]
/trunk/main/filter/source/flash/
H A Dswfwriter1.cxx721 const long nLineHeight = Max( (long) FRound( aMetric.GetLineHeight() * 0.05 ), (long) 1 ); in Impl_writeText() local
726 aPoly[ 0 ].Y() = aBaseLinePos.Y() - FRound( aMetric.GetAscent() * 0.26 ) - nLineHeight; in Impl_writeText()
730 aPoly[ 2 ].Y() = aPoly[ 1 ].Y() + nLineHeight - 1; in Impl_writeText()
742 aPoly[ 0 ].Y() = static_cast<long>(aBaseLinePos.Y() + 1.5*nLineHeight); in Impl_writeText()
746 aPoly[ 2 ].Y() = aPoly[ 1 ].Y() + nLineHeight - 1; in Impl_writeText()
/trunk/main/sw/source/ui/uiview/
H A Dsrcview.cxx782 sal_uInt16 nLineHeight = (sal_uInt16) pOutDev->GetTextHeight(); // etwas mehr. in PrintSource() local
790 sal_uInt16 nLinespPage = (sal_uInt16) (aPaperSz.Height() / nLineHeight); in PrintSource()
810 aPos.Y() += nLineHeight; in PrintSource()
811 if ( aPos.Y() > ( aPaperSz.Height() + TMARGPRN - nLineHeight/2 ) ) in PrintSource()
/trunk/main/editeng/source/editeng/
H A Dimpedit3.cxx845 sal_uInt16 nLineHeight = aTempFormatterMetrics.GetHeight(); in CreateLines() local
846 if ( nLineHeight > nTextLineHeight ) in CreateLines()
847 nTextLineHeight = nLineHeight; in CreateLines()
1298 sal_uInt16 nLineHeight = aFormatterMetrics.GetHeight(); in CreateLines() local
1299 if ( nLineHeight > pLine->GetHeight() ) in CreateLines()
1300 pLine->SetHeight( nLineHeight ); in CreateLines()
1645 sal_uInt16 nLineHeight = aFormatterMetrics.GetHeight(); in CreateAndInsertEmptyLine() local
1646 if ( nLineHeight > pTmpLine->GetHeight() ) in CreateAndInsertEmptyLine()
1647 pTmpLine->SetHeight( nLineHeight ); in CreateAndInsertEmptyLine()
/trunk/main/editeng/source/outliner/
H A Doutliner.cxx1191 long nLineHeight = (long)pEditEngine->GetLineHeight(nPara ); in InvalidateBullet() local
1200 aRect.Bottom() += nLineHeight; in InvalidateBullet()
/trunk/main/sw/source/filter/ww8/
H A Dww8par2.cxx113 short nLineHeight; member
1969 pNewBand->nLineHeight = (sal_Int16)SVBT16ToShort( pParams ); in WW8TabDesc()
3260 if (pActBand->nLineHeight == 0) // 0 = Auto in AdjustNewBand()
3264 if (pActBand->nLineHeight < 0) // Pos = min, Neg = exakt in AdjustNewBand()
3267 pActBand->nLineHeight = -pActBand->nLineHeight; in AdjustNewBand()
3269 if (pActBand->nLineHeight < MINLAY) // nicht erlaubte Zeilenhoehe in AdjustNewBand()
3270 pActBand->nLineHeight = MINLAY; in AdjustNewBand()
3272 aF.SetHeight(pActBand->nLineHeight);// Min- / Exakt-Hoehe setzen in AdjustNewBand()
/trunk/main/basctl/source/basicide/
H A Dbaside2.cxx979 sal_uInt16 nLineHeight = (sal_uInt16) pPrinter->GetTextHeight(); // etwas mehr. in FormatAndPrint() local
987 sal_uInt16 nLinespPage = (sal_uInt16) (aPaperSz.Height()/nLineHeight); in FormatAndPrint()
1005 aPos.Y() += nLineHeight; in FormatAndPrint()
1010 aPos = Point( LMARGPRN, TMARGPRN+nLineHeight ); in FormatAndPrint()
/trunk/main/wizards/com/sun/star/wizards/reportbuilder/layout/
H A DReportBuilderLayouter.java444 final int nLineHeight = LayoutConstants.LineHeight; in insertGroups() local
445 insertHorizontalLine(xGroupSection, aRect, nLineWidth, nLineHeight); in insertGroups()
446 xGroupSection.setHeight(height + nLineHeight); in insertGroups()
1373 final int nLineHeight = LayoutConstants.LineHeight; in insertPageHeader() local
1374 insertHorizontalLine(xSection, aRect, nLineWidth, nLineHeight); in insertPageHeader()
1376 aRect.Y += nLineHeight; in insertPageHeader()
1458 final int nLineHeight = LayoutConstants.LineHeight; in insertPageFooter() local
1459 insertHorizontalLine(xSection, aRect, nLineWidth, nLineHeight); in insertPageFooter()
1461 aRect.Y += nLineHeight; in insertPageFooter()
/trunk/main/vbahelper/source/vbahelper/
H A Dvbashapes.cxx232 …e( sal_Int32 startX, sal_Int32 startY, sal_Int32 nLineWidth, sal_Int32 nLineHeight, uno::Any aRang… in AddRectangle() argument
238 sal_Int32 nHeight = Millimeter::getInHundredthsOfOneMillimeter( nLineHeight ); in AddRectangle()
264 …e( sal_Int32 startX, sal_Int32 startY, sal_Int32 nLineWidth, sal_Int32 nLineHeight, uno::Any aRang… in AddEllipse() argument
270 sal_Int32 nHeight = Millimeter::getInHundredthsOfOneMillimeter( nLineHeight ); in AddEllipse()
312 sal_Int32 nLineHeight = endY - StartY; in AddLine() local
314 sal_Int32 nHeight = Millimeter::getInHundredthsOfOneMillimeter( nLineHeight ); in AddLine()
/trunk/main/vbahelper/inc/vbahelper/
H A Dvbashapes.hxx50 …e( sal_Int32 startX, sal_Int32 startY, sal_Int32 nLineWidth, sal_Int32 nLineHeight, css::uno::Any …
51 …e( sal_Int32 startX, sal_Int32 startY, sal_Int32 nLineWidth, sal_Int32 nLineHeight, css::uno::Any …
/trunk/main/sw/source/ui/misc/
H A Doutline.cxx1129 sal_uInt16 nLineHeight = nFontHeight * 8 / 7; in Paint() local
1252 …Rectangle aRect2(Point(nXStart, nYStart + nLineHeight + nFontHeight / 2 ), Size(aSize.Width() / 2,… in Paint()
1254 nYStart += 2 * nLineHeight; in Paint()
1260 sal_uInt16 nLineHeight = nFontHeight * 3 / 2; in Paint() local
1293 nTextOffset = nLineHeight + nXStep; in Paint()
/trunk/main/sw/source/filter/writer/
H A Dwrtswtbl.cxx440 long nLineHeight = GetLineHeight( pLine ); in CollectTableRowsCols() local
441 nRPos += nLineHeight; in CollectTableRowsCols()
449 nRPos -= nLineHeight; in CollectTableRowsCols()
450 nLineHeight = nStartRPos + nParentLineHeight - nRPos; // remaining parent height in CollectTableRowsCols()
451 nLineHeight /= nLines - nLine; // divided through the number of remaining sub rows in CollectTableRowsCols()
452 nRPos += nLineHeight; in CollectTableRowsCols()
572 long nLineHeight = GetLineHeight( pLine ); in FillTableRowsCols() local
573 nRPos += nLineHeight; in FillTableRowsCols()
578 nRPos -= nLineHeight; in FillTableRowsCols()
579 nLineHeight = nStartRPos + nParentLineHeight - nRPos; // remaining parent height in FillTableRowsCols()
[all …]
/trunk/main/sw/source/filter/rtf/
H A Drtftbl.cxx218 long nLineHeight = 0; in ReadTable() local
285 nLineHeight = nTokenValue; in ReadTable()
754 if( nLineHeight ) in ReadTable()
757 if( 0 > nLineHeight ) in ReadTable()
758 eSize = ATT_FIX_SIZE, nLineHeight = -nLineHeight; in ReadTable()
761 pNewLine->ClaimFrmFmt()->SetFmtAttr(SwFmtFrmSize(eSize, 0, nLineHeight)); in ReadTable()
/trunk/main/sw/source/core/text/
H A Dtxtfrm.cxx2756 SwTwips nLineHeight = 200; in CalcBaseOfstForFly() local
2764 nLineHeight = pLay->Height(); in CalcBaseOfstForFly()
2766 (aFlyRect.*fnRect->fnSetTopAndHeight)( nTop, nLineHeight ); in CalcBaseOfstForFly()
H A Dwidorp.cxx137 SwTwips nLineHeight = (*fnRect->fnYDiff)( nTmpY , nOrigin ); in IsInside() local
140 nLineHeight += (pFrm->*fnRect->fnGetBottomMargin)(); in IsInside()
143 bFit = nRstHeight >= nLineHeight; in IsInside()
151 bFit = nHeight >= nLineHeight; in IsInside()
162 bFit = nHeight >= nLineHeight; in IsInside()
176 bFit = nHeight >= nLineHeight; in IsInside()
H A Dfrmcrsr.cxx1460 SwTwips nLineHeight = pFnt->GetHeight( pSh, *pOut ); in FillCrsrPos() local
1462 if( nLineHeight ) in FillCrsrPos()
1468 rFill.aFrm.Height( nLineHeight ); in FillCrsrPos()
1477 nDist += nLineHeight; in FillCrsrPos()
1499 rRect.Top( rFill.Bottom() + (nDiff+1) * nDist - nLineHeight ); in FillCrsrPos()
1502 rRect.Height( nLineHeight ); in FillCrsrPos()
H A Dinftxt.cxx1449 nLineHeight = 0; in CtorInitTxtFormatInfo()
1568 nLineHeight = 0; in SwTxtFormatInfo()
H A Dinftxt.hxx548 KSHORT nLineHeight; // endgueltige Hoehe nach CalcLine member in SwTxtFormatInfo
659 inline KSHORT GetLineHeight() const { return nLineHeight; } in GetLineHeight()
660 inline void SetLineHeight( const KSHORT nNew ) { nLineHeight = nNew; } in SetLineHeight()
H A Ditradj.cxx573 const sal_uInt16 nLineHeight = pCurrent->Height(); in CalcRightMargin() local
586 SwRect aCurrRect( nLeftMar + nPrtWidth, Y() + nRealHeight - nLineHeight, in CalcRightMargin()
587 nRealWidth - nPrtWidth, nLineHeight ); in CalcRightMargin()
H A Ditrform2.cxx1699 KSHORT nLineHeight = pCurr->Height(); in CalcRealHeight() local
1709 nLineHeight = nGridWidth + nRubyHeight; in CalcRealHeight()
1710 sal_uInt16 nLineDist = nLineHeight; in CalcRealHeight()
1713 nLineHeight = nLineHeight + nLineDist; in CalcRealHeight()
1720 pCurr->Height( nLineHeight ); in CalcRealHeight()
1734 nTmp *= nLineHeight; in CalcRealHeight()
1738 pCurr->SetRealHeight( nLineHeight ); in CalcRealHeight()
1789 nTmp *= nLineHeight; in CalcRealHeight()
1798 nLineHeight = nLineHeight + pSpace->GetInterLineSpace(); in CalcRealHeight()
1805 KSHORT nDummy = nLineHeight + 1; in CalcRealHeight()
[all …]
/trunk/main/sw/source/core/layout/
H A Datrfrm.cxx827 nLineHeight( rCpy.GetLineHeight() ), in SwFmtCol()
847 nLineHeight = rCpy.GetLineHeight(); in operator =()
866 nLineHeight( 100 ), in SwFmtCol()
880 nLineHeight == rCmp.GetLineHeight() && in operator ==()
1119 nLineHeight = pSwColums->GetSepLineHeightRelative(); in PutValue()

Completed in 394 milliseconds

12