Home
last modified time | relevance | path

Searched refs:nDist (Results 1 – 25 of 74) sorted by relevance

123

/aoo42x/main/sw/source/core/doc/
H A Dtblrwcl.cxx2631 nDist += nWidth; in lcl_SetSelBoxWidth()
2727 nDist += nWidth; in lcl_SetOtherBoxWidth()
2866 nDist += nWidth; in lcl_InsSelBox()
3016 nDist += nWidth; in lcl_InsOtherBox()
3236 sal_uInt16(rParam.bLeft ? nDist - nWidth : nDist), in lcl_DelSelBox()
3237 sal_uInt16(rParam.bLeft ? nDist : nDist + nWidth)); in lcl_DelSelBox()
3462 nDist -= nWidth; in lcl_DelSelBox()
3595 bLeft ? nDist : rSz.GetWidth() - nDist, in SetColWidth()
3798 ( bLeft ? nDist : Abs( rSz.GetWidth() - nDist ) > COLFUZZY ) ) in SetColWidth()
4145 SetLineHeight( *pLine, 0, rParam.bBigger ? nDist : -nDist, in lcl_SetSelLineHeight()
[all …]
/aoo42x/main/sw/source/core/layout/
H A Dwsfrm.cxx1297 if ( nDist ) in Grow()
1349 if ( nDist ) in Shrink()
1979 if ( nReal < nDist ) in GrowFrm()
1996 nReal = nDist; in GrowFrm()
2057 nRstHeight = nDist; in ShrinkFrm()
2062 nDist = nRstHeight; in ShrinkFrm()
2553 nReal = nDist; in GrowFrm()
2626 nDist = nFrmHeight; in ShrinkFrm()
2641 SwTwips nReal = nDist; in ShrinkFrm()
2646 return nDist; in ShrinkFrm()
[all …]
H A Dhffrm.cxx441 SwTwips SwHeadFootFrm::GrowFrm( SwTwips nDist, sal_Bool bTst, sal_Bool bInfo ) in GrowFrm() argument
451 nResult = SwLayoutFrm::GrowFrm(nDist, bTst, bInfo); in GrowFrm()
465 SwTwips nEat = nDist; in GrowFrm()
518 if (nDist - nEat > 0) in GrowFrm()
521 SwLayoutFrm::GrowFrm( nDist - nEat, bTst, bInfo ); in GrowFrm()
543 SwTwips SwHeadFootFrm::ShrinkFrm( SwTwips nDist, sal_Bool bTst, sal_Bool bInfo ) in ShrinkFrm() argument
553 nResult = SwLayoutFrm::ShrinkFrm(nDist, bTst, bInfo); in ShrinkFrm()
572 if (nBiggerThanMin < nDist) in ShrinkFrm()
574 nRest = nDist - nBiggerThanMin; in ShrinkFrm()
581 nRest = nDist; in ShrinkFrm()
[all …]
H A Dftnfrm.cxx376 nDist = Min( nDist, pBoss->GetMaxFtnHeight() in GrowFrm()
378 if ( nDist <= 0 ) in GrowFrm()
385 if ( nDist > nMax ) in GrowFrm()
386 nDist = nMax; in GrowFrm()
387 if ( nDist <= 0 ) in GrowFrm()
405 if ( nAvail > nDist ) in GrowFrm()
406 nAvail = nDist; in GrowFrm()
414 Frm().Pos().X() -= nDist; in GrowFrm()
416 long nGrow = nDist - nAvail, in GrowFrm()
450 if ( nReal != nDist ) in GrowFrm()
[all …]
H A Dsectfrm.cxx2028 SwTwips SwSectionFrm::_Grow( SwTwips nDist, sal_Bool bTst ) in _Grow() argument
2035 nDist = LONG_MAX - nFrmHeight; in _Grow()
2037 if ( nDist <= 0L ) in _Grow()
2064 if( nGrow > nDist ) in _Grow()
2065 nGrow = nDist; in _Grow()
2069 if( nDist && !bTst ) in _Grow()
2160 if ( nDist > nFrmHeight ) in _Shrink()
2161 nDist = nFrmHeight; in _Shrink()
2169 return nDist; in _Shrink()
2180 (Frm().*fnRect->fnAddBottom)( -nDist ); in _Shrink()
[all …]
H A Dfly.cxx1451 nRemaining = nDist - nBorder; in Format()
1938 SwTwips SwFlyFrm::_Grow( SwTwips nDist, sal_Bool bTst ) in _Grow() argument
1944 if( nSize > 0 && nDist > ( LONG_MAX - nSize ) ) in _Grow()
1945 nDist = LONG_MAX - nSize; in _Grow()
1947 if ( nDist <= 0L ) in _Grow()
2011 return nDist; in _Grow()
2016 SwTwips SwFlyFrm::_Shrink( SwTwips nDist, sal_Bool bTst ) in _Shrink() argument
2022 if ( nDist > nHeight ) in _Shrink()
2023 nDist = nHeight; in _Shrink()
2025 SwTwips nVal = nDist; in _Shrink()
[all …]
H A Dpaintfrm.cxx1170 return nDist; in lcl_MinHeightDist()
1174 long MA_FASTCALL lcl_MinWidthDist( const long nDist ) in lcl_MinWidthDist() argument
1177 return nDist; in lcl_MinWidthDist()
2432 if ( nDist > 0 ) in PaintLines()
2433 nDist = (sal_uInt16)( Max( 1L, nPixelSzH * ( nDist / nPixelSzH ) ) ); in PaintLines()
4225 (_iorRect.*_rRectFn->fnSubTop)( -nDist ); in lcl_SubTopBottom()
4313 (rRect.*rRectFn->fnSubLeft)( -nDist ); in lcl_SubLeftRight()
4320 (rRect.*rRectFn->fnAddRight)( -nDist ); in lcl_SubLeftRight()
4380 (aRect.*_rRectFn->fnSubTop)( -nDist ); in lcl_PaintLeftRightLine()
4383 if ( nDist == 1 ) in lcl_PaintLeftRightLine()
[all …]
H A Dflycnt.cxx1031 sal_uLong nDist; in lcl_FindCnt() local
1033 nDist = ::lcl_FindCntDiff( rPt, pLay, pNew, bBody, bFtn ); in lcl_FindCnt()
1038 nDist = ULONG_MAX; in lcl_FindCnt()
1041 sal_uLong nNearest = nDist; in lcl_FindCnt()
1051 if ( nNew < nDist ) in lcl_FindCnt()
1056 nDist = nNearest = nNew; in lcl_FindCnt()
1076 if ( nNew < nDist ) in lcl_FindCnt()
1081 nDist = nNearest = nNew; in lcl_FindCnt()
H A Dtabfrm.cxx3182 if( nHeight > 0 && nDist > ( LONG_MAX - nHeight ) ) in GrowFrm()
3183 nDist = LONG_MAX - nHeight; in GrowFrm()
3186 return nDist; in GrowFrm()
3203 if ( nReal < nDist ) in GrowFrm()
3209 nTmp = Min( nDist, nReal + nTmp ); in GrowFrm()
3210 nDist = nTmp < 0 ? 0 : nTmp; in GrowFrm()
3216 (Frm().*fnRect->fnAddBottom)( nDist ); in GrowFrm()
3255 return nDist; in GrowFrm()
4681 nReal = Min( nAdditionalSpace, nDist ); in GrowFrm()
4682 nDist -= nReal; in GrowFrm()
[all …]
H A Dpagechg.cxx1434 SwTwips SwRootFrm::GrowFrm( SwTwips nDist, sal_Bool bTst, sal_Bool ) in GrowFrm() argument
1437 Frm().SSize().Height() += nDist; in GrowFrm()
1438 return nDist; in GrowFrm()
1448 SwTwips SwRootFrm::ShrinkFrm( SwTwips nDist, sal_Bool bTst, sal_Bool ) in ShrinkFrm() argument
1450 ASSERT( nDist >= 0, "nDist < 0." ); in ShrinkFrm()
1451 ASSERT( nDist <= Frm().Height(), "nDist > als aktuelle Groesse." ); in ShrinkFrm()
1454 Frm().SSize().Height() -= nDist; in ShrinkFrm()
1455 return nDist; in ShrinkFrm()
/aoo42x/main/sw/source/core/objectpositioning/
H A Dtocntntanchoredobjectposition.cxx789 if( nDist < 0 ) in CalcPosition()
803 if ( nDist >= 0 ) in CalcPosition()
820 pLayoutFrmToGrow->Grow( -nDist ); in CalcPosition()
835 if ( nDist < 0 && pOrientFrm->IsInTab() ) in CalcPosition()
852 nTmpRelPosY = aRelPos.X() - nDist; in CalcPosition()
854 nTmpRelPosY = aRelPos.Y() + nDist; in CalcPosition()
888 if ( nDist < 0 && in CalcPosition()
901 while( bMoveable && nDist < 0 ) in CalcPosition()
914 if ( nDist >= 0 ) in CalcPosition()
983 if( nDist < 0 ) in CalcPosition()
[all …]
/aoo42x/main/sw/source/filter/writer/
H A Dwrtswtbl.cxx240 if( nDist && (!nCellSpacing || nDist < nCellSpacing) ) in MergeBorders()
241 nCellSpacing = nDist; in MergeBorders()
288 if( nDist && (!nCellPadding || nDist < nCellPadding) ) in MergeBoxBorders()
289 nCellPadding = nDist; in MergeBoxBorders()
291 if( nDist && (!nCellPadding || nDist < nCellPadding) ) in MergeBoxBorders()
292 nCellPadding = nDist; in MergeBoxBorders()
293 nDist = rBoxItem.GetDistance( BOX_LINE_LEFT ); in MergeBoxBorders()
294 if( nDist && (!nCellPadding || nDist < nCellPadding) ) in MergeBoxBorders()
295 nCellPadding = nDist; in MergeBoxBorders()
297 if( nDist && (!nCellPadding || nDist < nCellPadding) ) in MergeBoxBorders()
[all …]
/aoo42x/main/editeng/source/items/
H A Dfrmitems.cxx2008 nDist = MM100_TO_TWIP(nDist); in PutValue()
2055 if(nDist >= 0) in PutValue()
2058 nDist = MM100_TO_TWIP(nDist); in PutValue()
2378 rStrm >> nDist; in Create()
2453 if( nBottomDist && (!nDist || nBottomDist < nDist) ) in GetDistance()
2455 if( nLeftDist && (!nDist || nLeftDist < nDist) ) in GetDistance()
2457 if( nRightDist && (!nDist || nRightDist < nDist) ) in GetDistance()
2460 return nDist; in GetDistance()
2486 return nDist; in GetDistance()
2545 nDist = 0; in CalcLineSpace()
[all …]
/aoo42x/main/starmath/source/
H A Dnode.cxx519 { nDist = nTmp; in FindRectClosestTo()
780 aPos.Y() += nDist; in Arrange()
865 nDist = 0; in Arrange()
878 aPos.X() += nDist; in Arrange()
1065 aPos.X() += nDist; in Arrange()
1070 aPos.X() += nDist; in Arrange()
1479 nDist = 0; in Arrange()
1709 aPos.X() -= nDist; in Arrange()
1713 aPos.X() += nDist; in Arrange()
1911 aPos.X() -= nDist; in Arrange()
[all …]
/aoo42x/main/svx/source/dialog/
H A Dhdft.cxx273 long nDist = GetCoreValue( aDistEdit, eUnit ); in FillItemSet() local
278 nH += nDist; // dann Abstand dazu addieren in FillItemSet()
291 aUL.SetLower( (sal_uInt16)nDist ); in FillItemSet()
293 aUL.SetUpper( (sal_uInt16)nDist ); in FillItemSet()
969 long nDist = rUL.GetLower(); in ActivatePage() local
972 aBspWin.SetHdDist( nDist ); in ActivatePage()
1006 long nDist = rUL.GetUpper(); in ActivatePage() local
1009 aBspWin.SetFtDist( nDist ); in ActivatePage()
1070 long nDist = aTurnOnBox.IsChecked() ? in IMPL_LINK() local
1079 nHDist = nDist; in IMPL_LINK()
[all …]
/aoo42x/main/vcl/source/gdi/
H A Doutdev4.cxx1238 rInc = Size( 0, nDist ); in ImplCalcHatchValues()
1246 nOffset = ( nDist - ( ( aRef.Y() - rRect.Top() ) % nDist ) ); in ImplCalcHatchValues()
1253 rInc = Size( nDist, 0 ); in ImplCalcHatchValues()
1259 nOffset = ( rRect.Left() - aRef.X() ) % nDist; in ImplCalcHatchValues()
1261 nOffset = nDist - ( ( aRef.X() - rRect.Left() ) % nDist ); in ImplCalcHatchValues()
1273 rInc = Size( 0, nDist = FRound( nDist / cos( fAngle ) ) ); in ImplCalcHatchValues()
1291 nOffset = ( rPt1.Y() - nPY ) % nDist; in ImplCalcHatchValues()
1293 nOffset = nDist - ( ( nPY - rPt1.Y() ) % nDist ); in ImplCalcHatchValues()
1305 rInc = Size( nDist = FRound( nDist / sin( fAngle ) ), 0 ); in ImplCalcHatchValues()
1323 nOffset = ( rPt1.X() - nPX ) % nDist; in ImplCalcHatchValues()
[all …]
/aoo42x/main/sw/source/filter/html/
H A Dsvxcss1.cxx649 nDist = nTopBorderDistance; in SetBoxItem()
657 nDist = nLeftBorderDistance; in SetBoxItem()
668 if( USHRT_MAX == nDist ) in SetBoxItem()
671 if( nDist < nMinBorderDist ) in SetBoxItem()
672 nDist = nMinBorderDist; in SetBoxItem()
676 if( USHRT_MAX == nDist ) in SetBoxItem()
680 nDist = 0U; in SetBoxItem()
681 else if( nDist && nDist < nMinBorderDist ) in SetBoxItem()
682 nDist = nMinBorderDist; in SetBoxItem()
2477 sal_uInt16 nDist = 0; in ParseCSS1_padding_xxx() local
[all …]
/aoo42x/main/svx/inc/svx/
H A Dsdsxyitm.hxx34 SdrShadowXDistItem(long nDist=0) : SdrMetricItem(SDRATTR_SHADOWXDIST,nDist) {} in SdrShadowXDistItem() argument
43 SdrShadowYDistItem(long nDist=0) : SdrMetricItem(SDRATTR_SHADOWYDIST,nDist) {} in SdrShadowYDistItem() argument
/aoo42x/main/xmloff/source/text/
H A Dtxtimppr.cxx553 sal_Int32 nDist; in finished() local
554 pBorderDistances[i]->maValue >>= nDist; in finished()
555 if( nDist < MIN_BORDER_DIST ) in finished()
563 sal_Int32 nDist; in finished() local
564 pBorderDistances[i]->maValue >>= nDist; in finished()
565 if( nDist > 0 ) in finished()
/aoo42x/main/sw/source/filter/ww8/
H A Dwriterwordglue.cxx78 long nDist=0; in CalcHdFtDist() local
85 nDist += rSz.GetHeight(); in CalcHdFtDist()
90 nDist += aRect.Height(); in CalcHdFtDist()
95 nDist += rSize.GetHeight(); in CalcHdFtDist()
98 nDist += 274; // default for 12pt text in CalcHdFtDist()
99 nDist += nSpacing; in CalcHdFtDist()
103 return nDist; in CalcHdFtDist()
/aoo42x/main/sc/source/filter/excel/
H A Dxestyle.cxx84 nDist *= nDist * 77; in lclGetColorDistance()
86 nDist += nDummy * nDummy * 151; in lclGetColorDistance()
88 nDist += nDummy * nDummy * 28; in lclGetColorDistance()
89 return nDist; in lclGetColorDistance()
454 if( nDist < nMinDist ) in GetMixedColors()
456 nMinDist = nDist; in GetMixedColors()
687 if( nDist < nMinD ) in GetNearestListColor()
690 nMinD = nDist; in GetNearestListColor()
716 if( nCurrDist < nDist ) in GetNearestPaletteColor()
719 nDist = nCurrDist; in GetNearestPaletteColor()
[all …]
/aoo42x/main/svtools/source/control/
H A Dctrlbox.cxx311 long nDist = nDistance / 100; in ImpGetLine() local
316 nDist += nPix-1; in ImpGetLine()
317 nDist -= nDist%nPix; in ImpGetLine()
321 long nVirHeight = n1+nDist+n2; in ImpGetLine()
337 aVirDev.DrawRect( Rectangle( 0, n1+nDist, in ImpGetLine()
338 aSize.Width(), n1+nDist+n2-nPix ) ); in ImpGetLine()
340 rBmp = aVirDev.GetBitmap( Point(), Size( aSize.Width(), n1+nDist+n2 ) ); in ImpGetLine()
/aoo42x/main/sw/source/ui/frmdlg/
H A Dcolumn.cxx1005 … long nDist = static_cast< long >(aDistEd1.DenormalizePercent(aDistEd1.GetValue(FUNIT_TWIP))); in IMPL_LINK() local
1006 pColMgr->SetCount(nCols, (sal_uInt16)nDist); in IMPL_LINK()
1008 nColDist[i] = nDist; in IMPL_LINK()
1124 long nDist = static_cast< long >(aDistEd1.DenormalizePercent(aDistEd1.GetValue(FUNIT_TWIP))); in IMPL_LINK() local
1125 pColMgr->SetCount(nCols, (sal_uInt16)nDist); in IMPL_LINK()
1127 nColDist[i] = nDist; in IMPL_LINK()
1130 pColMgr->SetGutterWidth(sal_uInt16(nDist)); in IMPL_LINK()
1133 pColMgr->SetAutoWidth(pBox->IsChecked(), sal_uInt16(nDist)); in IMPL_LINK()
H A Dcolex.cxx312 int nDist; in DrawPage() local
316 nDist = pColMgr->GetColWidth( i ) + nGutter; in DrawPage()
317 nDist -= (i == 0) ? in DrawPage()
320 aUp.X() += nDist; in DrawPage()
321 aDown.X() += nDist; in DrawPage()
/aoo42x/main/sw/source/core/text/
H A Dfrmcrsr.cxx1465 SwTwips nDist = Max( rUL.GetLower(), rUL.GetUpper() ); in FillCrsrPos() local
1472 else if( nDist < nFirst ) in FillCrsrPos()
1473 nFirst = nFirst - (sal_uInt16)nDist; in FillCrsrPos()
1476 nDist = Max( nDist, long( GetLineSpace() ) ); in FillCrsrPos()
1477 nDist += nLineHeight; in FillCrsrPos()
1482 nDiff /= nDist; in FillCrsrPos()
1499 rRect.Top( rFill.Bottom() + (nDiff+1) * nDist - nLineHeight ); in FillCrsrPos()

Completed in 621 milliseconds

123