Home
last modified time | relevance | path

Searched refs:nDiff (Results 1 – 25 of 195) sorted by last modified time

12345678

/trunk/main/editeng/source/editeng/
H A Deditdoc2.cxx205 void ParaPortion::MarkInvalid( sal_uInt16 nStart, short nDiff ) in MarkInvalid() argument
210 nInvalidPosStart = ( nDiff >= 0 ) ? nStart : ( nStart + nDiff ); in MarkInvalid()
211 nInvalidDiff = nDiff; in MarkInvalid()
216 if ( ( nDiff > 0 ) && ( nInvalidDiff > 0 ) && in MarkInvalid()
219 nInvalidDiff = nInvalidDiff + nDiff; in MarkInvalid()
222 else if ( ( nDiff < 0 ) && ( nInvalidDiff < 0 ) && ( nInvalidPosStart == nStart ) ) in MarkInvalid()
224 nInvalidPosStart = nInvalidPosStart + nDiff; in MarkInvalid()
225 nInvalidDiff = nInvalidDiff + nDiff; in MarkInvalid()
230 DBG_ASSERT( ( nDiff >= 0 ) || ( (nStart+nDiff) >= 0 ), "MarkInvalid: Diff out of Range" ); in MarkInvalid()
231 nInvalidPosStart = Min( nInvalidPosStart, (sal_uInt16) ( nDiff < 0 ? nStart+nDiff : nDiff ) ); in MarkInvalid()
H A Dimpedit3.cxx455 long nDiff = nNewHeight - nCurTextHeight; in FormatDoc() local
456 if ( nDiff ) in FormatDoc()
474 else if ( nDiff ) in FormatDoc()
1320 long nDiff = nMinHeight - nTxtHeight; in CreateLines() local
1338 long nDiff = pLine->GetHeight() - nH; in CreateLines() local
1339 if ( nDiff > pLine->GetMaxAscent() ) in CreateLines()
1340 nDiff = pLine->GetMaxAscent(); in CreateLines()
1677 long nDiff = nMinHeight - nTxtHeight; in CreateAndInsertEmptyLine() local
1697 if ( nDiff > pTmpLine->GetMaxAscent() ) in CreateAndInsertEmptyLine()
1698 nDiff = pTmpLine->GetMaxAscent(); in CreateAndInsertEmptyLine()
[all …]
H A Dimpedit4.cxx3167 sal_Int32 nDiff = (nCurrentPos-nDiffs) - pOffsets[n]; in ReplaceTextOnly() local
3169 if ( !nDiff ) in ReplaceTextOnly()
3174 else if ( nDiff < 0 ) in ReplaceTextOnly()
3181 …itDoc().RemoveChars( EditPaM( pNode, nCurrentPos+1 ), sal::static_int_cast< sal_uInt16 >(-nDiff) ); in ReplaceTextOnly()
3185 … DBG_ASSERT( nDiff == 1, "TransliterateText - Diff other than expected! But should work..." ); in ReplaceTextOnly()
3189 nDiffs = sal::static_int_cast< short >(nDiffs + nDiff); in ReplaceTextOnly()
H A Dimpedit.cxx932 long nDiff = pEditEngine->pImpEditEngine->GetTextHeight() - aNewVisArea.Bottom(); // negativ in Scroll() local
933 aNewVisArea.Move( 0, nDiff ); // koennte im neg. Bereich landen... in Scroll()
951 …long nDiff = pEditEngine->pImpEditEngine->CalcTextWidth( sal_False ) - aNewVisArea.Right(); // ne… in Scroll() local
952 aNewVisArea.Move( nDiff, 0 ); // koennte im neg. Bereich landen... in Scroll()
H A Deditundo.cxx479 long nDiff = ( nDest - aTmpRange.Min() ); in Undo() local
480 aTmpRange.Min() += nDiff; in Undo()
481 aTmpRange.Max() += nDiff; in Undo()
H A Deditview.cxx724 void EditView::MoveParagraphs( long nDiff ) in MoveParagraphs() argument
731 long nDest = ( nDiff > 0 ? aRange.Max() : aRange.Min() ) + nDiff; in MoveParagraphs()
732 if ( nDiff > 0 ) in MoveParagraphs()
H A Deditdoc.hxx590 void MarkInvalid( sal_uInt16 nStart, short nDiff);
/trunk/main/vcl/source/window/
H A Dtoolbox.cxx3231 long nDiff = pThis->mpData->mnMenuButtonWidth - TB_MENUBUTTON_SIZE; in ImplDrawMenubutton() local
3232 long nDiff1 = nDiff/2; in ImplDrawMenubutton()
3233 long nDiff2 = nDiff - nDiff1; in ImplDrawMenubutton()
/trunk/main/sw/source/ui/index/
H A Dcnttab.cxx2337 aTempSz.Width() += nDiff; in lcl_ChgWidth()
2346 aTempPos.X() += nDiff; in lcl_ChgXPos()
2426 long nDiff = 0; in ActivatePage() local
2432 nDiff *= -1; in ActivatePage()
2435 if(nDiff) in ActivatePage()
2438 lcl_ChgWidth(aLevelFT, nDiff); in ActivatePage()
2439 lcl_ChgWidth(aLevelLB, nDiff); in ActivatePage()
2446 lcl_ChgXPos(aTabPosFT, nDiff); in ActivatePage()
2447 lcl_ChgXPos(aTabPosMF, nDiff); in ActivatePage()
2454 lcl_ChgWidth(aTokenWIN, -nDiff); in ActivatePage()
[all …]
/trunk/main/sw/source/core/layout/
H A Dpaintfrm.cxx1216 SwTwips nDiff = rBox.GetTop() ? in lcl_CalcBorderRect() local
1222 if( nDiff ) in lcl_CalcBorderRect()
1223 (rRect.*fnRect->fnSubTop)( nDiff ); in lcl_CalcBorderRect()
1229 SwTwips nDiff = 0; in lcl_CalcBorderRect() local
1236 nDiff = ((SwTabFrm*)pFrm)->GetBottomLineSize(); in lcl_CalcBorderRect()
1241 nDiff = rBox.GetBottom() ? in lcl_CalcBorderRect()
1248 if( nDiff ) in lcl_CalcBorderRect()
1249 (rRect.*fnRect->fnAddBottom)( nDiff ); in lcl_CalcBorderRect()
/trunk/main/svx/source/svdraw/
H A Dsvdopath.cxx768 long nDiff=nWink1-nWink2; in movePathDrag() local
769 nDiff=Abs(nDiff); in movePathDrag()
770 mpSdrPathDragData->bEliminate=nDiff<=rDrag.GetView()->GetEliminatePolyPointLimitAngle(); in movePathDrag()
/trunk/main/svtools/source/edit/
H A Dtexteng.cxx881 sal_uInt16 nDiff = (sal_uInt16) (nL-STRING_MAXLEN); in ImpInsertText() local
882 nEnd = nEnd - nDiff; in ImpInsertText()
1718 long nDiff = nNewHeight - mnCurTextHeight; in FormatDoc() local
1732 if ( nDiff ) in FormatDoc()
/trunk/main/dbaccess/source/core/api/
H A DRowSetCache.cxx837 sal_Int32 nDiff = (sal_Int32)(m_nFetchSize*0.5 -0.5); in moveWindow() local
838 sal_Int32 nNewStartPos = (m_nPosition - nDiff); in moveWindow()
/trunk/main/sw/source/core/text/
H A Dfrmform.cxx916 SwTwips nDiff = nTmp - Frm().Height(); in CalcPreps() local
918 Prt().Height( Prt().Height() + nDiff ); in CalcPreps()
1962 const SwTwips nDiff = - (Frm().*fnRect->fnBottomDist)( nLimit ); in Format() local
1963 if( nDiff > 0 ) in Format()
1964 Shrink( nDiff ); in Format()
/trunk/main/sw/source/filter/ww8/
H A Dww8atr.cxx4376 short nDiff = nSpace - ( rColumns[n - 1]->GetRight() in FormatColumns_Impl()
4378 if (nDiff > 10 || nDiff < -10) in FormatColumns_Impl()
4472 short nDiff = nColWidth - in FormatColumns() local
4475 if ( nDiff > 10 || nDiff < -10 ) // Toleranz: 10 tw in FormatColumns()
/trunk/main/padmin/source/
H A Dpadialog.cxx330 sal_uInt8 nDiff; in approachColor() local
334 nDiff = rTo.GetRed() - rFrom.GetRed(); in approachColor()
335 aColor.SetRed( rFrom.GetRed() + ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
339 nDiff = rFrom.GetRed() - rTo.GetRed(); in approachColor()
340 aColor.SetRed( rFrom.GetRed() - ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
349 aColor.SetGreen( rFrom.GetGreen() + ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
354 aColor.SetGreen( rFrom.GetGreen() - ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
362 nDiff = rTo.GetBlue() - rFrom.GetBlue(); in approachColor()
363 aColor.SetBlue( rFrom.GetBlue() + ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
367 nDiff = rFrom.GetBlue() - rTo.GetBlue(); in approachColor()
[all …]
/trunk/main/sw/source/ui/docvw/
H A DSidebarWin.cxx1130 long nDiff = GetOutlinerView()->GetEditView().GetVisArea().Top() - pScroll->GetThumbPos(); in IMPL_LINK() local
1131 GetOutlinerView()->Scroll( 0, nDiff ); in IMPL_LINK()
H A Dsrcedtw.cxx597 long nDiff = pTextView->GetStartDocPos().Y() - pScroll->GetThumbPos(); in IMPL_LINK() local
598 GetTextView()->Scroll( 0, nDiff ); in IMPL_LINK()
604 long nDiff = pTextView->GetStartDocPos().X() - pScroll->GetThumbPos(); in IMPL_LINK() local
605 GetTextView()->Scroll( nDiff, 0 ); in IMPL_LINK()
/trunk/main/svx/workben/
H A Dedittest.cxx1558 short nDiff = ( nCode == KEY_ADD ) ? (+5) : (-5); in KeyInput() local
1560 nDiff *= 20; in KeyInput()
1562 nDiff /= 5; in KeyInput()
1563 if ( ( nZoom + nDiff ) > 0 ) in KeyInput()
1564 nZoom += nDiff; in KeyInput()
/trunk/main/sd/source/ui/annotations/
H A Dannotationwindow.cxx537 long nDiff = getView()->GetEditView().GetVisArea().Top() - pScroll->GetThumbPos(); in IMPL_LINK() local
538 getView()->Scroll( 0, nDiff ); in IMPL_LINK()
/trunk/main/sc/source/ui/view/
H A Dviewdata.cxx1081 long nDiff = aVis.Right() - aVis.Left(); in SetEditEngine() local
1089 aVis.Right() = ( aPaper.Width() - 1 + nDiff ) / 2; in SetEditEngine()
1094 aVis.Right() = nDiff; in SetEditEngine()
1097 aVis.Left() = aVis.Right() - nDiff; in SetEditEngine()
3125 sal_Int64 nDiff = rScrY + nAdd - nEndPixels; in AddPixelsWhile() local
3126 nRows -= static_cast<SCROW>(nDiff / nPixel); in AddPixelsWhile()
3166 sal_Int64 nDiff = nAdd + rScrY - nEndPixels; in AddPixelsWhileBackward() local
3167 nRows -= static_cast<SCROW>(nDiff / nPixel); in AddPixelsWhileBackward()
/trunk/main/sc/source/ui/app/
H A Dinputhdl.cxx273 long nDiff = aNewStr.Len() - (long)(nOldEnd-nOldStart); in UpdateRange() local
276 pData->nSelEnd = (xub_StrLen)(pData->nSelEnd + nDiff); in UpdateRange()
282 pNext->nSelStart = (xub_StrLen)(pNext->nSelStart + nDiff); in UpdateRange()
283 pNext->nSelEnd = (xub_StrLen)(pNext->nSelEnd + nDiff); in UpdateRange()
/trunk/main/filter/source/xsltdialog/
H A Dxmlfileview.cxx397 long nDiff = pTextView->GetStartDocPos().Y() - pScroll->GetThumbPos(); in IMPL_LINK() local
398 GetTextView()->Scroll( 0, nDiff ); in IMPL_LINK()
404 long nDiff = pTextView->GetStartDocPos().X() - pScroll->GetThumbPos(); in IMPL_LINK() local
405 GetTextView()->Scroll( nDiff, 0 ); in IMPL_LINK()
/trunk/main/editeng/source/outliner/
H A Doutlvw.cxx592 void OutlinerView::Indent( short nDiff ) in Indent() argument
596 …if( !nDiff || ( ( nDiff > 0 ) && ImpCalcSelectedPages( sal_True ) && !pOwner->ImpCanIndentSelected… in Indent()
616 sal_Int16 nNewDepth = nOldDepth + nDiff; in Indent()
621 if( (bPage && (nDiff == +1)) || (!bPage && (nDiff == -1) && (nOldDepth <= 0)) ) in Indent()
/trunk/main/editeng/inc/editeng/
H A Doutliner.hxx296 void Indent( short nDiff );

Completed in 352 milliseconds

12345678