| /AOO41X/main/sw/source/core/doc/ |
| H A D | tblrwcl.cxx | 181 SwTwips nDist, sal_Bool bCheck ); 183 SwTwips nDist, sal_Bool bCheck ); 185 SwTwips nDist, sal_Bool bCheck ); 187 SwTwips nDist, sal_Bool bCheck ); 189 SwTwips nDist, sal_Bool bCheck ); 191 SwTwips nDist, sal_Bool bCheck ); 268 SwTwips nDist, sal_Bool bCheck ); 270 SwTwips nDist, sal_Bool bCheck ); 272 SwTwips nDist, sal_Bool bCheck ); 2539 SwTwips nDist, sal_Bool bCheck ) in lcl_SetSelBoxWidth() argument [all …]
|
| /AOO41X/main/sw/source/core/layout/ |
| H A D | wsfrm.cxx | 1286 SwTwips SwFrm::Grow( SwTwips nDist, sal_Bool bTst, sal_Bool bInfo ) in Grow() argument 1288 ASSERT( nDist >= 0, "Negatives Wachstum?" ); in Grow() 1290 PROTOCOL_ENTER( this, bTst ? PROT_GROW_TST : PROT_GROW, 0, &nDist ) in Grow() 1292 if ( nDist ) in Grow() 1297 if( nPrtHeight > 0 && nDist > (LONG_MAX - nPrtHeight) ) in Grow() 1298 nDist = LONG_MAX - nPrtHeight; in Grow() 1301 return ((SwFlyFrm*)this)->_Grow( nDist, bTst ); in Grow() 1303 return ((SwSectionFrm*)this)->_Grow( nDist, bTst ); in Grow() 1317 const SwTwips nReal = GrowFrm( nDist, bTst, bInfo ); in Grow() 1322 ( IsCntntFrm() ? nDist : nReal ) ); in Grow() [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 | 335 SwTwips SwFtnContFrm::GrowFrm( SwTwips nDist, sal_Bool bTst, sal_Bool ) in GrowFrm() argument 352 nDist > ( LONG_MAX - (Frm().*fnRect->fnGetHeight)() ) ) in GrowFrm() 353 nDist = LONG_MAX - (Frm().*fnRect->fnGetHeight)(); in GrowFrm() 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() 391 else if( nDist > (GetPrev()->Frm().*fnRect->fnGetHeight)() ) in GrowFrm() 394 nDist = (GetPrev()->Frm().*fnRect->fnGetHeight)(); in GrowFrm() [all …]
|
| H A D | sectfrm.cxx | 2028 SwTwips SwSectionFrm::_Grow( SwTwips nDist, sal_Bool bTst ) in _Grow() argument 2034 if( nFrmHeight > 0 && nDist > (LONG_MAX - nFrmHeight) ) in _Grow() 2035 nDist = LONG_MAX - nFrmHeight; in _Grow() 2037 if ( nDist <= 0L ) in _Grow() 2061 if( !bInCalcCntnt && nGrow < nDist && GetUpper() ) in _Grow() 2064 if( nGrow > nDist ) in _Grow() 2065 nGrow = nDist; in _Grow() 2069 if( nDist && !bTst ) in _Grow() 2081 else if( nSpace < nGrow && nDist != nSpace + GetUpper()-> in _Grow() 2147 SwTwips SwSectionFrm::_Shrink( SwTwips nDist, sal_Bool bTst ) in _Shrink() argument [all …]
|
| H A D | fly.cxx | 1468 SwTwips nDist = -(pFly->Frm().*fnRect-> in Format() local 1470 if( nDist > nBorder + nRemaining ) in Format() 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() [all …]
|
| H A D | paintfrm.cxx | 1168 long MA_FASTCALL lcl_MinHeightDist( const long nDist ) in lcl_MinHeightDist() argument 1171 return nDist; in lcl_MinHeightDist() 1172 return ::lcl_AlignHeight( Max( nDist, nMinDistPixelH )); in lcl_MinHeightDist() 1175 long MA_FASTCALL lcl_MinWidthDist( const long nDist ) in lcl_MinWidthDist() argument 1178 return nDist; in lcl_MinWidthDist() 1179 return ::lcl_AlignWidth( Max( nDist, nMinDistPixelW )); in lcl_MinWidthDist() 2336 sal_uInt16 nDist = aStyles[ i ].Dist(); in PaintLines() local 2341 if ( nDist > 0 ) in PaintLines() 2342 nDist = (sal_uInt16)( Max( 1L, nPixelSzH * ( nDist / nPixelSzH ) ) ); in PaintLines() 2346 aStyles[ i ].Set( nPrim, nDist, nSecn ); in PaintLines() [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 | 3178 SwTwips SwTabFrm::GrowFrm( SwTwips nDist, sal_Bool bTst, sal_Bool bInfo ) in GrowFrm() argument 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() 3205 nTmp = GetUpper()->Grow( nDist - ( nReal > 0 ? nReal : 0), bTst, bInfo ); 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() 3227 if ( !bTst && ( nDist || IsRestrictTableGrowth() ) ) in GrowFrm() [all …]
|
| /AOO41X/main/sw/source/core/objectpositioning/ |
| H A D | tocntntanchoredobjectposition.cxx | 787 SwTwips nDist = (GetAnchoredObj().GetObjRect().*fnRect->fnBottomDist)( in CalcPosition() local 789 if( nDist < 0 ) in CalcPosition() 801 nDist = (GetAnchoredObj().GetObjRect().*fnRect->fnBottomDist)( in CalcPosition() 803 if ( nDist >= 0 ) in CalcPosition() 820 pLayoutFrmToGrow->Grow( -nDist ); in CalcPosition() 830 nDist = (GetAnchoredObj().GetObjRect().*fnRect->fnBottomDist)( in CalcPosition() 835 if ( nDist < 0 && pOrientFrm->IsInTab() ) in CalcPosition() 852 nTmpRelPosY = aRelPos.X() - nDist; in CalcPosition() 854 nTmpRelPosY = aRelPos.Y() + nDist; in CalcPosition() 886 nDist = (GetAnchoredObj().GetObjRect().*fnRect->fnBottomDist)( in CalcPosition() [all …]
|
| /AOO41X/main/sw/source/filter/writer/ |
| H A D | wrtswtbl.cxx | 238 sal_uInt16 nDist = pBorderLine->GetInWidth() ? pBorderLine->GetDistance() in MergeBorders() local 240 if( nDist && (!nCellSpacing || nDist < nCellSpacing) ) in MergeBorders() 241 nCellSpacing = nDist; in MergeBorders() 287 sal_uInt16 nDist = rBoxItem.GetDistance( BOX_LINE_TOP ); in MergeBoxBorders() local 288 if( nDist && (!nCellPadding || nDist < nCellPadding) ) in MergeBoxBorders() 289 nCellPadding = nDist; in MergeBoxBorders() 290 nDist = rBoxItem.GetDistance( BOX_LINE_BOTTOM ); in MergeBoxBorders() 291 if( nDist && (!nCellPadding || nDist < nCellPadding) ) in MergeBoxBorders() 292 nCellPadding = nDist; in MergeBoxBorders() 293 nDist = rBoxItem.GetDistance( BOX_LINE_LEFT ); in MergeBoxBorders() [all …]
|
| /AOO41X/main/editeng/source/items/ |
| H A D | frmitems.cxx | 1574 SvxBorderLine::SvxBorderLine( const Color *pCol, sal_uInt16 nOut, sal_uInt16 nIn, sal_uInt16 nDist ) in SvxBorderLine() argument 1577 , nDistance( nDist ) in SvxBorderLine() 1854 sal_uInt16 nDist = 0; in QueryValue() local 1897 nDist = GetDistance(); in QueryValue() 1901 nDist = nTopDist; in QueryValue() 1905 nDist = nBottomDist; in QueryValue() 1909 nDist = nLeftDist; in QueryValue() 1913 nDist = nRightDist; in QueryValue() 1919 rVal <<= (sal_Int32)(bConvert ? TWIP_TO_MM100_UNSIGNED(nDist) : nDist); in QueryValue() 1967 sal_Int32 nDist = 0; in PutValue() local [all …]
|
| /AOO41X/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 806 aBspWin.SetHdHeight( rSize.GetSize().Height() - nDist ); in ActivatePage() 807 aBspWin.SetHdDist( nDist ); in ActivatePage() 841 long nDist = rUL.GetUpper(); in ActivatePage() local 843 aBspWin.SetFtHeight( rSize.GetSize().Height() - nDist ); in ActivatePage() 844 aBspWin.SetFtDist( nDist ); in ActivatePage() [all …]
|
| /AOO41X/main/starmath/source/ |
| H A D | node.cxx | 502 long nDist = LONG_MAX; in FindRectClosestTo() local 518 if (pFound && (nTmp = pFound->OrientedDist(rPoint)) < nDist) in FindRectClosestTo() 519 { nDist = nTmp; in FindRectClosestTo() 528 if (nDist < 0 && pFound->IsInsideRect(rPoint)) in FindRectClosestTo() 751 long nDist = +(rFormat.GetDistance(DIS_VERTICAL) in Arrange() local 780 aPos.Y() += nDist; in Arrange() 863 long nDist = (rFormat.GetDistance(DIS_HORIZONTAL) * GetFont().GetSize().Height()) / 100L; in Arrange() local 865 nDist = 0; in Arrange() 878 aPos.X() += nDist; in Arrange() 1058 long nDist = (rOpRect.GetWidth() * in Arrange() local [all …]
|
| /AOO41X/main/vcl/source/gdi/ |
| H A D | outdev4.cxx | 1224 void OutputDevice::ImplCalcHatchValues( const Rectangle& rRect, long nDist, sal_uInt16 nAngle10, in ImplCalcHatchValues() argument 1238 rInc = Size( 0, nDist ); in ImplCalcHatchValues() 1244 nOffset = ( ( rRect.Top() - aRef.Y() ) % 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() [all …]
|
| /AOO41X/main/sw/source/filter/html/ |
| H A D | svxcss1.cxx | 645 sal_uInt16 nLine = BOX_LINE_TOP, nDist = 0; in SetBoxItem() local 649 nDist = nTopBorderDistance; in SetBoxItem() 653 nDist = nBottomBorderDistance; in SetBoxItem() 657 nDist = nLeftBorderDistance; in SetBoxItem() 661 nDist = nRightBorderDistance; in SetBoxItem() 668 if( USHRT_MAX == nDist ) in SetBoxItem() 669 nDist = aBoxItem.GetDistance( nLine ); in SetBoxItem() 671 if( nDist < nMinBorderDist ) in SetBoxItem() 672 nDist = nMinBorderDist; in SetBoxItem() 676 if( USHRT_MAX == nDist ) in SetBoxItem() [all …]
|
| /AOO41X/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
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/main/sc/source/filter/excel/ |
| H A D | xestyle.cxx | 83 sal_Int32 nDist = rColor1.GetRed() - rColor2.GetRed(); in lclGetColorDistance() local 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() 453 sal_Int32 nDist = lclGetColorDistance( aForeColor, aColorArr[ nCnt ] ); in GetMixedColors() local 454 if( nDist < nMinDist ) in GetMixedColors() 456 nMinDist = nDist; in GetMixedColors() 686 sal_Int32 nDist = lclGetColorDistance( rColor, pEntry->GetColor() ); in GetNearestListColor() local 687 if( nDist < nMinD ) in GetNearestListColor() [all …]
|
| /AOO41X/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()
|
| /AOO41X/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()
|
| /AOO41X/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
|