/aoo4110/main/sw/source/core/doc/ |
H A D | tblrwcl.cxx | 2631 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 …]
|
/aoo4110/main/sw/source/core/layout/ |
H A D | wsfrm.cxx | 1292 if ( nDist ) in Grow() 1344 if ( nDist ) in Shrink() 1974 if ( nReal < nDist ) in GrowFrm() 1991 nReal = nDist; in GrowFrm() 2052 nRstHeight = nDist; in ShrinkFrm() 2057 nDist = nRstHeight; in ShrinkFrm() 2548 nReal = nDist; in GrowFrm() 2621 nDist = nFrmHeight; in ShrinkFrm() 2636 SwTwips nReal = nDist; in ShrinkFrm() 2641 return nDist; in ShrinkFrm() [all …]
|
H A D | hffrm.cxx | 441 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 D | ftnfrm.cxx | 376 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 D | sectfrm.cxx | 2028 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 D | fly.cxx | 1471 nRemaining = nDist - nBorder; in Format() 1958 SwTwips SwFlyFrm::_Grow( SwTwips nDist, sal_Bool bTst ) in _Grow() argument 1964 if( nSize > 0 && nDist > ( LONG_MAX - nSize ) ) in _Grow() 1965 nDist = LONG_MAX - nSize; in _Grow() 1967 if ( nDist <= 0L ) in _Grow() 2031 return nDist; in _Grow() 2036 SwTwips SwFlyFrm::_Shrink( SwTwips nDist, sal_Bool bTst ) in _Shrink() argument 2042 if ( nDist > nHeight ) in _Shrink() 2043 nDist = nHeight; in _Shrink() 2045 SwTwips nVal = nDist; in _Shrink() [all …]
|
H A D | paintfrm.cxx | 1171 return nDist; in lcl_MinHeightDist() 1175 long MA_FASTCALL lcl_MinWidthDist( const long nDist ) in lcl_MinWidthDist() argument 1178 return nDist; in lcl_MinWidthDist() 2341 if ( nDist > 0 ) in PaintLines() 2342 nDist = (sal_uInt16)( Max( 1L, nPixelSzH * ( nDist / nPixelSzH ) ) ); in PaintLines() 4112 (_iorRect.*_rRectFn->fnSubTop)( -nDist ); in lcl_SubTopBottom() 4200 (rRect.*rRectFn->fnSubLeft)( -nDist ); in lcl_SubLeftRight() 4207 (rRect.*rRectFn->fnAddRight)( -nDist ); in lcl_SubLeftRight() 4267 (aRect.*_rRectFn->fnSubTop)( -nDist ); in lcl_PaintLeftRightLine() 4270 if ( nDist == 1 ) in lcl_PaintLeftRightLine() [all …]
|
H A D | flycnt.cxx | 1031 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 D | tabfrm.cxx | 3182 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 …]
|
/aoo4110/main/sw/source/core/objectpositioning/ |
H A D | tocntntanchoredobjectposition.cxx | 789 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 …]
|
/aoo4110/main/sw/source/filter/writer/ |
H A D | wrtswtbl.cxx | 240 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 …]
|
/aoo4110/main/editeng/source/items/ |
H A D | frmitems.cxx | 2008 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 …]
|
/aoo4110/main/svx/source/dialog/ |
H A D | hdft.cxx | 253 long nDist = GetCoreValue( aDistEdit, eUnit ); in FillItemSet() local 258 nH += nDist; // dann Abstand dazu addieren in FillItemSet() 271 aUL.SetLower( (sal_uInt16)nDist ); in FillItemSet() 273 aUL.SetUpper( (sal_uInt16)nDist ); in FillItemSet() 804 long nDist = rUL.GetLower(); in ActivatePage() local 807 aBspWin.SetHdDist( nDist ); in ActivatePage() 841 long nDist = rUL.GetUpper(); in ActivatePage() local 844 aBspWin.SetFtDist( nDist ); in ActivatePage() 905 long nDist = aTurnOnBox.IsChecked() ? in IMPL_LINK() local 914 nHDist = nDist; in IMPL_LINK() [all …]
|
/aoo4110/main/starmath/source/ |
H A D | node.cxx | 519 { 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 …]
|
/aoo4110/main/vcl/source/gdi/ |
H A D | outdev4.cxx | 1238 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 …]
|
/aoo4110/main/sw/source/filter/html/ |
H A D | svxcss1.cxx | 649 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 …]
|
/aoo4110/main/svx/inc/svx/ |
H A D | sdsxyitm.hxx | 34 SdrShadowXDistItem(long nDist=0) : SdrMetricItem(SDRATTR_SHADOWXDIST,nDist) {} in SdrShadowXDistItem() argument 43 SdrShadowYDistItem(long nDist=0) : SdrMetricItem(SDRATTR_SHADOWYDIST,nDist) {} in SdrShadowYDistItem() argument
|
/aoo4110/main/xmloff/source/text/ |
H A D | txtimppr.cxx | 553 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()
|
/aoo4110/main/sw/source/filter/ww8/ |
H A D | writerwordglue.cxx | 78 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()
|
/aoo4110/main/svtools/source/control/ |
H A D | ctrlbox.cxx | 311 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()
|
/aoo4110/main/sc/source/filter/excel/ |
H A D | xestyle.cxx | 84 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 …]
|
/aoo4110/main/sw/source/ui/frmdlg/ |
H A D | colex.cxx | 289 int nDist; in DrawPage() local 293 nDist = pColMgr->GetColWidth( i ) + nGutter; in DrawPage() 294 nDist -= (i == 0) ? in DrawPage() 297 aUp.X() += nDist; in DrawPage() 298 aDown.X() += nDist; in DrawPage()
|
H A D | column.cxx | 1005 … 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()
|
/aoo4110/main/sw/source/core/text/ |
H A D | frmcrsr.cxx | 1465 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()
|
/aoo4110/main/writerfilter/source/dmapper/ |
H A D | PropertyMap.hxx | 236 void SetColumnDistance( sal_Int32 nDist ) { m_nColumnDistance = nDist; } in SetColumnDistance() argument 238 void AppendColumnSpacing( sal_Int32 nDist ) {m_aColDistance.push_back( nDist ); } in AppendColumnSpacing() argument
|