Home
last modified time | relevance | path

Searched refs:nLineHeight (Results 1 – 25 of 39) sorted by relevance

12

/trunk/main/sd/source/ui/dlg/
H A Dtpoption.cxx620 long nLineHeight = aCbxPickThrough.GetPosPixel().Y() in SetImpressMode() local
626 -nLineHeight); in SetImpressMode()
629 lcl_MoveWin (aGrpProgramStart, -nLineHeight); in SetImpressMode()
630 lcl_MoveWin (aCbxStartWithTemplate, -nLineHeight); in SetImpressMode()
631 lcl_MoveWin (aGrpSettings, -nLineHeight); in SetImpressMode()
632 lcl_MoveWin (aCbxMasterPageCache, -nLineHeight); in SetImpressMode()
633 lcl_MoveWin (aCbxCopy, -nLineHeight); in SetImpressMode()
634 lcl_MoveWin (aCbxMarkedHitMovesAlways, -nLineHeight); in SetImpressMode()
635 lcl_MoveWin (aCbxCrookNoContortion, -nLineHeight); in SetImpressMode()
636 lcl_MoveWin (aTxtMetric, -nLineHeight); in SetImpressMode()
[all …]
/trunk/main/sw/source/core/text/
H A Ditrform2.cxx1699 KSHORT nLineHeight = pCurr->Height(); in CalcRealHeight() local
1709 nLineHeight = nGridWidth + nRubyHeight; in CalcRealHeight()
1710 sal_uInt16 nLineDist = nLineHeight; in CalcRealHeight()
1712 while ( pCurr->Height() > nLineHeight ) in CalcRealHeight()
1713 nLineHeight = nLineHeight + nLineDist; in CalcRealHeight()
1717 ( nLineHeight - pCurr->Height() + nRubyHeight ) / 2 : in CalcRealHeight()
1718 ( nLineHeight - pCurr->Height() - nRubyHeight ) / 2 ); in CalcRealHeight()
1720 pCurr->Height( nLineHeight ); in CalcRealHeight()
1734 nTmp *= nLineHeight; in CalcRealHeight()
1735 nLineHeight = (sal_uInt16)(nTmp / 100); in CalcRealHeight()
[all …]
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 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 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()
/trunk/main/sw/source/filter/writer/
H A Dwrtswtbl.cxx438 long nLineHeight = GetLineHeight( pLine ); in CollectTableRowsCols() local
439 nRPos += nLineHeight; in CollectTableRowsCols()
447 nRPos -= nLineHeight; in CollectTableRowsCols()
448 nLineHeight = nStartRPos + nParentLineHeight - nRPos; // remaining parent height in CollectTableRowsCols()
449 nLineHeight /= nLines - nLine; // divided through the number of remaining sub rows in CollectTableRowsCols()
450 nRPos += nLineHeight; in CollectTableRowsCols()
570 long nLineHeight = GetLineHeight( pLine ); in FillTableRowsCols() local
571 nRPos += nLineHeight; in FillTableRowsCols()
576 nRPos -= nLineHeight; in FillTableRowsCols()
577 nLineHeight = nStartRPos + nParentLineHeight - nRPos; // remaining parent height in FillTableRowsCols()
[all …]
/trunk/main/vcl/source/gdi/
H A Doutdev3.cxx3373 long nLineHeight = ((nDescent*25)+50) / 100; in ImplInitTextLineSize() local
3374 if ( !nLineHeight ) in ImplInitTextLineSize()
3375 nLineHeight = 1; in ImplInitTextLineSize()
3376 long nLineHeight2 = nLineHeight / 2; in ImplInitTextLineSize()
3381 if ( nBLineHeight == nLineHeight ) in ImplInitTextLineSize()
3404 mnUnderlineSize = nLineHeight; in ImplInitTextLineSize()
3430 mnStrikeoutSize = nLineHeight; in ImplInitTextLineSize()
3455 long nLineHeight = ((nIntLeading*25)+50) / 100; in ImplInitAboveTextLineSize() local
3456 if ( !nLineHeight ) in ImplInitAboveTextLineSize()
3457 nLineHeight = 1; in ImplInitAboveTextLineSize()
[all …]
H A Dpdfwriter_impl.cxx8025 long nLineHeight = 0; in drawWaveTextLine() local
8035 nLineHeight = HCONV( pFontEntry->maMetric.mnAboveWUnderlineSize ); in drawWaveTextLine()
8042 nLineHeight = HCONV( pFontEntry->maMetric.mnWUnderlineSize ); in drawWaveTextLine()
8045 if ( (eTextLine == UNDERLINE_SMALLWAVE) && (nLineHeight > 3) ) in drawWaveTextLine()
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()
[all …]
/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/sw/source/filter/rtf/
H A Drtftbl.cxx217 long nLineHeight = 0; in ReadTable() local
284 nLineHeight = nTokenValue; in ReadTable()
753 if( nLineHeight ) in ReadTable()
756 if( 0 > nLineHeight ) in ReadTable()
757 eSize = ATT_FIX_SIZE, nLineHeight = -nLineHeight; in ReadTable()
760 pNewLine->ClaimFrmFmt()->SetFmtAttr(SwFmtFrmSize(eSize, 0, nLineHeight)); in ReadTable()
/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/vcl/source/window/
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/editeng/source/items/
H A Dparaitem.cxx109 nLineHeight = nHeight; in SV_IMPL_VARARR_SORT()
127 nLineHeight == rLineSpace.nLineHeight) in operator ==()
175 aLSp.Height = ( bConvert ? (short)TWIP_TO_MM100_UNSIGNED(nLineHeight) : nLineHeight ); in QueryValue()
215 nLineHeight = aLSp.Height; in PutValue()
243 nLineHeight = aLSp.Height; in PutValue()
245 nLineHeight = (sal_uInt16)MM100_TO_TWIP_UNSIGNED(nLineHeight); in PutValue()
/trunk/main/basctl/source/basicide/
H A Dbaside2b.cxx915 long nLineHeight = GetTextHeight(); in ParagraphInsertedDeleted() local
918 long nY = nPara*nLineHeight - pModulWindow->GetBreakPointWindow().GetCurYOffset(); in ParagraphInsertedDeleted()
986 long nLineHeight = GetTextHeight(); in Paint() local
996 aBmpOff.Y() = ( nLineHeight - aBmpSz.Height() ) / 2; in Paint()
1002 sal_uLong nY = nLine*nLineHeight - nCurYOffset; in Paint()
1036 long nLineHeight = GetTextHeight(); in ShowMarker() local
1047 aMarkerOff.Y() = ( nLineHeight - aMarkerSz.Height() ) / 2; in ShowMarker()
1049 sal_uLong nY = nMarkerPos*nLineHeight - nCurYOffset; in ShowMarker()
1063 long nLineHeight = GetTextHeight(); in FindBreakPoint() local
1073 long nY = nLine*nLineHeight; in FindBreakPoint()
[all …]
/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/editeng/inc/editeng/
H A Dlspcitem.hxx51 sal_uInt16 nLineHeight; member in SvxLineSpacingItem
91 inline sal_uInt16 GetLineHeight() const { return nLineHeight; } in GetLineHeight()
94 nLineHeight = nHeight; in SetLineHeight()
/trunk/main/sw/inc/
H A Dfmtclds.hxx80 sal_uInt8 nLineHeight; //Prozentuale Hoehe der Linien member in SwFmtCol
132 sal_uInt8 GetLineHeight()const { return nLineHeight; } in GetLineHeight()
141 void SetLineHeight( sal_uInt8 nNew ) { nLineHeight = nNew; } in SetLineHeight()
/trunk/main/filter/source/pdf/
H A Dimpdialog.cxx1296 long nLineHeight = in ImpPDFTabLinksPage() local
1300 Size aNewSize( aSize.Width(), nLineHeight ); in ImpPDFTabLinksPage()
1301 nDelta += ( aSize.Height() - nLineHeight ); in ImpPDFTabLinksPage()
1312 Size aNewSize( aSize.Width(), nLineHeight ); in ImpPDFTabLinksPage()
1313 nDelta += ( aSize.Height() - nLineHeight ); in ImpPDFTabLinksPage()
1324 Size aNewSize( aSize.Width(), nLineHeight ); in ImpPDFTabLinksPage()
1325 nDelta += ( aSize.Height() - nLineHeight ); in ImpPDFTabLinksPage()
/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/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/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/filter/source/svg/
H A Dsvgwriter.cxx962 … const long nLineHeight = Max( (long) FRound( aMetric.GetLineHeight() * 0.05 ), (long) 1 ); in ImplWriteText() local
968 … aPoly[ 0 ].X() = aBaseLinePos.X(); aPoly[ 0 ].Y() = nYLinePos - ( nLineHeight >> 1 ); in ImplWriteText()
970 aPoly[ 2 ].X() = aPoly[ 1 ].X(); aPoly[ 2 ].Y() = aPoly[ 0 ].Y() + nLineHeight - 1; in ImplWriteText()
978 const long nYLinePos = aBaseLinePos.Y() + ( nLineHeight << 1 ); in ImplWriteText()
980 … aPoly[ 0 ].X() = aBaseLinePos.X(); aPoly[ 0 ].Y() = nYLinePos - ( nLineHeight >> 1 ); in ImplWriteText()
982 aPoly[ 2 ].X() = aPoly[ 1 ].X(); aPoly[ 2 ].Y() = aPoly[ 0 ].Y() + nLineHeight - 1; in ImplWriteText()
/trunk/main/sw/source/filter/ww8/
H A Dww8par2.cxx112 short nLineHeight; member
1968 pNewBand->nLineHeight = (sal_Int16)SVBT16ToShort( pParams ); in WW8TabDesc()
3259 if (pActBand->nLineHeight == 0) // 0 = Auto in AdjustNewBand()
3263 if (pActBand->nLineHeight < 0) // Pos = min, Neg = exakt in AdjustNewBand()
3266 pActBand->nLineHeight = -pActBand->nLineHeight; in AdjustNewBand()
3268 if (pActBand->nLineHeight < MINLAY) // nicht erlaubte Zeilenhoehe in AdjustNewBand()
3269 pActBand->nLineHeight = MINLAY; in AdjustNewBand()
3271 aF.SetHeight(pActBand->nLineHeight);// Min- / Exakt-Hoehe setzen in AdjustNewBand()
/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()

12