/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/draw/ |
H A D | dview.cxx | 474 nNewPos = nParentOrdNum; in ObjOrderChanged() 486 pDrawPage->GetObj( bMovedForward ? nNewPos - 1 : nNewPos + 1 ); in ObjOrderChanged() 489 size_t nTmpNewPos( nNewPos ); in ObjOrderChanged() 506 if ( nTmpNewPos != nNewPos ) in ObjOrderChanged() 509 nNewPos = nTmpNewPos; in ObjOrderChanged() 522 if ( nNewPos < nMaxChildOrdNum ) in ObjOrderChanged() 536 nNewPos = nTmpNewPos; in ObjOrderChanged() 545 size_t nTmpNewPos( nNewPos ); in ObjOrderChanged() 576 if ( nTmpNewPos != nNewPos ) in ObjOrderChanged() 579 nNewPos = nTmpNewPos; in ObjOrderChanged() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/draw/ |
H A D | dview.cxx | 465 nNewPos = nParentOrdNum; in ObjOrderChanged() 477 pDrawPage->GetObj( bMovedForward ? nNewPos - 1 : nNewPos + 1 ); in ObjOrderChanged() 480 size_t nTmpNewPos( nNewPos ); in ObjOrderChanged() 497 if ( nTmpNewPos != nNewPos ) in ObjOrderChanged() 500 nNewPos = nTmpNewPos; in ObjOrderChanged() 513 if ( nNewPos < nMaxChildOrdNum ) in ObjOrderChanged() 527 nNewPos = nTmpNewPos; in ObjOrderChanged() 536 size_t nTmpNewPos( nNewPos ); in ObjOrderChanged() 567 if ( nTmpNewPos != nNewPos ) in ObjOrderChanged() 570 nNewPos = nTmpNewPos; in ObjOrderChanged() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/window/ |
H A D | split.cxx | 254 long nNewPos; in Tracking() local 256 nNewPos = maDragPos.X(); in Tracking() 258 nNewPos = maDragPos.Y(); in Tracking() 294 long nNewPos; in Tracking() local 296 nNewPos = maDragPos.X(); in Tracking() 298 nNewPos = maDragPos.Y(); in Tracking() 299 if ( nNewPos != mnSplitPos ) in Tracking() 329 long nNewPos; in ImplKbdTracking() local 331 nNewPos = maDragPos.X(); in ImplKbdTracking() 414 long nNewPos; in ImplKbdTracking() local [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/connectivity/source/commontools/ |
H A D | TSkipDeletedSet.cxx | 167 sal_Int32 nNewPos = _nPos; in moveAbsolute() local 168 if(nNewPos > 0) in moveAbsolute() 170 if(static_cast<sal_Int32>(m_aBookmarksPositions.size()) < nNewPos) in moveAbsolute() 183 --nNewPos; in moveAbsolute() 190 nNewPos = nNewPos - nCurPos; in moveAbsolute() 195 while (bDataFound && nNewPos) in moveAbsolute() 203 --nNewPos; in moveAbsolute() 209 const sal_Int32 nBookmark = m_aBookmarksPositions[nNewPos-1]/*->first*/; in moveAbsolute() 216 ++nNewPos; in moveAbsolute() 217 bDataFound = skipDeleted(IResultSetHelper::LAST,0,nNewPos == 0); in moveAbsolute() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/connectivity/source/commontools/ |
H A D | TSkipDeletedSet.cxx | 167 sal_Int32 nNewPos = _nPos; in moveAbsolute() local 168 if(nNewPos > 0) in moveAbsolute() 170 if(static_cast<sal_Int32>(m_aBookmarksPositions.size()) < nNewPos) in moveAbsolute() 183 --nNewPos; in moveAbsolute() 190 nNewPos = nNewPos - nCurPos; in moveAbsolute() 195 while (bDataFound && nNewPos) in moveAbsolute() 203 --nNewPos; in moveAbsolute() 209 const sal_Int32 nBookmark = m_aBookmarksPositions[nNewPos-1]/*->first*/; in moveAbsolute() 216 ++nNewPos; in moveAbsolute() 217 bDataFound = skipDeleted(IResultSetHelper::LAST,0,nNewPos == 0); in moveAbsolute() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/window/ |
H A D | split.cxx | 254 tools::Long nNewPos; in Tracking() local 256 nNewPos = maDragPos.X(); in Tracking() 258 nNewPos = maDragPos.Y(); in Tracking() 294 tools::Long nNewPos; in Tracking() local 296 nNewPos = maDragPos.X(); in Tracking() 298 nNewPos = maDragPos.Y(); in Tracking() 299 if ( nNewPos != mnSplitPos ) in Tracking() 329 tools::Long nNewPos; in ImplKbdTracking() local 331 nNewPos = maDragPos.X(); in ImplKbdTracking() 414 tools::Long nNewPos; in ImplKbdTracking() local [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/ui/dbgui/ |
H A D | csvruler.cxx | 269 sal_Int32 nNewPos = nPos; in GetNoScrollPos() local 270 if( nNewPos != CSV_POS_INVALID ) in GetNoScrollPos() 280 nNewPos = std::min( nNewPos, GetLastVisPos() - nScroll - sal_Int32( 1 ) ); in GetNoScrollPos() 283 return nNewPos; in GetNoScrollPos() 311 ImplDrawSplit( nNewPos ); in MoveSplit() 324 sal_Int32 nNewPos = nPos; in FindEmptyPos() local 325 if( nNewPos != CSV_POS_INVALID ) in FindEmptyPos() 347 return IsValidSplitPos( nNewPos ) ? nNewPos : CSV_POS_INVALID; in FindEmptyPos() 354 MoveCursor( nNewPos ); in MoveCurrSplit() 363 if( nNewPos != CSV_POS_INVALID ) in MoveCurrSplitRel() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/ui/dbgui/ |
H A D | csvruler.cxx | 269 sal_Int32 nNewPos = nPos; in GetNoScrollPos() local 270 if( nNewPos != CSV_POS_INVALID ) in GetNoScrollPos() 280 nNewPos = std::min( nNewPos, GetLastVisPos() - nScroll - sal_Int32( 1 ) ); in GetNoScrollPos() 283 return nNewPos; in GetNoScrollPos() 311 ImplDrawSplit( nNewPos ); in MoveSplit() 324 sal_Int32 nNewPos = nPos; in FindEmptyPos() local 325 if( nNewPos != CSV_POS_INVALID ) in FindEmptyPos() 347 return IsValidSplitPos( nNewPos ) ? nNewPos : CSV_POS_INVALID; in FindEmptyPos() 354 MoveCursor( nNewPos ); in MoveCurrSplit() 363 if( nNewPos != CSV_POS_INVALID ) in MoveCurrSplitRel() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/core/data/ |
H A D | documen2.cxx | 699 if (nOldPos == nNewPos) in MoveTab() 714 if (nNewPos == SC_TAB_APPEND || nNewPos >= nTabCount) in MoveTab() 715 nNewPos = nTabCount-1; in MoveTab() 722 SCTAB nDz = nNewPos - nOldPos; in MoveTab() 769 if (SC_TAB_APPEND == nNewPos || nNewPos >= static_cast<SCTAB>(maTabs.size())) in CopyTab() 799 if (ValidTab(nNewPos) && (nNewPos < static_cast<SCTAB>(maTabs.size()))) in CopyTab() 823 if (nNewPos <= nOldPos) in CopyTab() 825 maTabs.emplace(maTabs.begin() + nNewPos, new ScTable(*this, nNewPos, aName)); in CopyTab() 861 SCTAB nDz = nNewPos - nOldPos; in CopyTab() 864 aRefCxt.maRange = ScRange(0, 0, nNewPos, MaxCol(), MaxRow(), nNewPos); in CopyTab() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/core/data/ |
H A D | documen2.cxx | 677 if (nOldPos == nNewPos) in MoveTab() 692 if (nNewPos == SC_TAB_APPEND || nNewPos >= nTabCount) in MoveTab() 693 nNewPos = nTabCount-1; in MoveTab() 700 SCTAB nDz = nNewPos - nOldPos; in MoveTab() 747 if (SC_TAB_APPEND == nNewPos || nNewPos >= static_cast<SCTAB>(maTabs.size())) in CopyTab() 777 if (ValidTab(nNewPos) && (nNewPos < static_cast<SCTAB>(maTabs.size()))) in CopyTab() 801 if (nNewPos <= nOldPos) in CopyTab() 803 maTabs.emplace(maTabs.begin() + nNewPos, new ScTable(this, nNewPos, aName)); in CopyTab() 839 SCTAB nDz = nNewPos - nOldPos; in CopyTab() 842 aRefCxt.maRange = ScRange(0, 0, nNewPos, MaxCol(), MaxRow(), nNewPos); in CopyTab() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/source/svdraw/ |
H A D | svdedtv2.cxx | 90 size_t nNewPos=0; in MovMarkedToTop() local 128 nNewPos--; in MovMarkedToTop() 149 nNewPos--; in MovMarkedToTop() 178 size_t nNewPos=0; in MovMarkedToBtm() local 186 nNewPos=0; in MovMarkedToBtm() 239 nNewPos++; in MovMarkedToBtm() 290 size_t nNewPos=0; in PutMarkedInFrontOfObj() local 339 nNewPos--; in PutMarkedInFrontOfObj() 390 size_t nNewPos=0; in PutMarkedBehindObj() local 404 if (nNewPos<nMinOrd) nNewPos=nMinOrd; // neither go faster... in PutMarkedBehindObj() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/svdraw/ |
H A D | svdedtv2.cxx | 90 size_t nNewPos=0; in MovMarkedToTop() local 149 nNewPos--; in MovMarkedToTop() 178 size_t nNewPos=0; in MovMarkedToBtm() local 186 nNewPos=0; in MovMarkedToBtm() 239 nNewPos++; in MovMarkedToBtm() 291 size_t nNewPos=0; in PutMarkedInFrontOfObj() local 340 nNewPos--; in PutMarkedInFrontOfObj() 391 size_t nNewPos=0; in PutMarkedBehindObj() local 405 if (nNewPos<nMinOrd) nNewPos=nMinOrd; // neither go faster... in PutMarkedBehindObj() 411 if (nNewPos<nMinOrd) nNewPos=nMinOrd; // neither go faster... in PutMarkedBehindObj() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/control/ |
H A D | field2.cxx | 427 return nNewPos; in ImplPatternLeftPos() 441 nNewPos = nTempPos; in ImplPatternRightPos() 446 return nNewPos; in ImplPatternRightPos() 466 sal_Int32 nNewPos; in ImplPatternProcessKeyInput() local 497 nNewPos = 0; in ImplPatternProcessKeyInput() 500 nNewPos++; in ImplPatternProcessKeyInput() 515 while ( nNewPos && in ImplPatternProcessKeyInput() 517 nNewPos--; in ImplPatternProcessKeyInput() 572 aStr[nNewPos] = rLiteralMask[nNewPos]; in ImplPatternProcessKeyInput() 608 nNewPos = aSel.Min(); in ImplPatternProcessKeyInput() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svtools/source/brwbox/ |
H A D | brwhead.cxx | 93 nNewPos = GetItemPos( nId ); in EndDrag() local 96 nNewPos++; in EndDrag() 98 if (nOldPos != nNewPos) in EndDrag() 100 _pBrowseBox->SetColumnPos( nId, nNewPos ); in EndDrag()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/svtools/source/brwbox/ |
H A D | brwhead.cxx | 93 nNewPos = GetItemPos( nId ); in EndDrag() local 96 nNewPos++; in EndDrag() 98 if (nOldPos != nNewPos) in EndDrag() 100 _pBrowseBox->SetColumnPos( nId, nNewPos ); in EndDrag()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/filter/ftools/ |
H A D | fprogressbar.cxx | 113 std::size_t nNewPos = mnTotalPos + nDelta; in IncreaseProgressBar() local 120 static_cast< double >( nNewPos ) * mpParentSegment->mnSize / mnTotalSize ); in IncreaseProgressBar() 126 if( nNewPos >= mnNextUnitPos ) in IncreaseProgressBar() 128 mnNextUnitPos = nNewPos + mnUnitSize; in IncreaseProgressBar() 129 mxSysProgress->SetState( static_cast< sal_uLong >( nNewPos / mnSysProgressScale ) ); in IncreaseProgressBar() 137 mnTotalPos = nNewPos; in IncreaseProgressBar()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/filter/ftools/ |
H A D | fprogressbar.cxx | 113 std::size_t nNewPos = mnTotalPos + nDelta; in IncreaseProgressBar() local 120 static_cast< double >( nNewPos ) * mpParentSegment->mnSize / mnTotalSize ); in IncreaseProgressBar() 126 if( nNewPos >= mnNextUnitPos ) in IncreaseProgressBar() 128 mnNextUnitPos = nNewPos + mnUnitSize; in IncreaseProgressBar() 129 mxSysProgress->SetState( static_cast< sal_uLong >( nNewPos / mnSysProgressScale ) ); in IncreaseProgressBar() 137 mnTotalPos = nNewPos; in IncreaseProgressBar()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/control/ |
H A D | field2.cxx | 480 return nNewPos; in ImplPatternLeftPos() 494 nNewPos = nTempPos; in ImplPatternRightPos() 499 return nNewPos; in ImplPatternRightPos() 538 sal_Int32 nNewPos; in ImplPatternProcessKeyInput() local 569 nNewPos = 0; in ImplPatternProcessKeyInput() 572 nNewPos++; in ImplPatternProcessKeyInput() 587 while ( nNewPos && in ImplPatternProcessKeyInput() 589 nNewPos--; in ImplPatternProcessKeyInput() 644 aStr[nNewPos] = rLiteralMask[nNewPos]; in ImplPatternProcessKeyInput() 679 nNewPos = aSel.Min(); in ImplPatternProcessKeyInput() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/dbaccess/source/ui/misc/ |
H A D | WNameMatch.cxx | 251 int nNewPos = GetFirstEntryInView(*m_xCTRL_LEFT); in IMPL_LINK_NOARG() local 252 if ( nNewPos - nPos == 1 ) in IMPL_LINK_NOARG() 253 --nNewPos; in IMPL_LINK_NOARG() 254 m_xCTRL_RIGHT->scroll_to_row(nNewPos); in IMPL_LINK_NOARG() 284 int nNewPos = GetFirstEntryInView(*m_xCTRL_RIGHT); in IMPL_LINK_NOARG() local 285 if ( nNewPos - nPos == 1 ) in IMPL_LINK_NOARG() 286 nNewPos--; in IMPL_LINK_NOARG() 287 m_xCTRL_LEFT->scroll_to_row(nNewPos); in IMPL_LINK_NOARG()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/dbaccess/source/ui/misc/ |
H A D | WNameMatch.cxx | 253 int nNewPos = GetFirstEntryInView(*m_xCTRL_LEFT); in IMPL_LINK_NOARG() local 254 if ( nNewPos - nPos == 1 ) in IMPL_LINK_NOARG() 255 --nNewPos; in IMPL_LINK_NOARG() 256 m_xCTRL_RIGHT->scroll_to_row(nNewPos); in IMPL_LINK_NOARG() 286 int nNewPos = GetFirstEntryInView(*m_xCTRL_RIGHT); in IMPL_LINK_NOARG() local 287 if ( nNewPos - nPos == 1 ) in IMPL_LINK_NOARG() 288 nNewPos--; in IMPL_LINK_NOARG() 289 m_xCTRL_LEFT->scroll_to_row(nNewPos); in IMPL_LINK_NOARG()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/uibase/table/ |
H A D | swtablerep.cxx | 94 sal_uInt16 nNewPos = 0; in FillTabCols() local 109 while((bFirst || !bOld ) && nNewPos < m_nAllCols ) in FillTabCols() 111 nNew += m_aTColumns[nNewPos].nWidth; in FillTabCols() 112 nNewPos++; in FillTabCols() 113 if(pOldTColumns[nNewPos - 1].bVisible) in FillTabCols()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/uibase/table/ |
H A D | swtablerep.cxx | 123 sal_uInt16 nNewPos = 0; in FillTabCols() local 138 while((bFirst || !bOld ) && nNewPos < m_nAllCols ) in FillTabCols() 140 nNew += m_pTColumns[nNewPos].nWidth; in FillTabCols() 141 nNewPos++; in FillTabCols() 142 if(pOldTColumns[nNewPos - 1].bVisible) in FillTabCols()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/svtools/source/control/ |
H A D | tabbar.cxx | 870 nNewPos = 0; in IMPL_LINK() 895 if (nNewPos != mnFirstPos) in IMPL_LINK() 1649 Pair aPair(nPos, nNewPos); in MovePage() 1651 if (nPos < nNewPos) in MovePage() 1652 nNewPos--; in MovePage() 1654 if (nPos == nNewPos) in MovePage() 1669 it += nNewPos; in MovePage() 1925 sal_uInt16 nNewPos; in SetFirstPageId() local 1929 nNewPos = nPos; in SetFirstPageId() 1931 if (nNewPos != mnFirstPos) in SetFirstPageId() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svtools/source/control/ |
H A D | tabbar.cxx | 887 nNewPos = 0; in IMPL_LINK() 911 if (nNewPos != mnFirstPos) in IMPL_LINK() 1684 Pair aPair(nPos, nNewPos); in MovePage() 1686 if (nPos < nNewPos) in MovePage() 1687 nNewPos--; in MovePage() 1689 if (nPos == nNewPos) in MovePage() 1704 it += nNewPos; in MovePage() 1958 sal_uInt16 nNewPos; in SetFirstPageId() local 1962 nNewPos = nPos; in SetFirstPageId() 1964 if (nNewPos != mnFirstPos) in SetFirstPageId() [all …]
|
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/src/os2/ |
H A D | slider.cpp | 892 if (nNewPos > (m_nRangeMax - m_nRangeMin)/2) in GetValue() 893 nNewPos++; in GetValue() 894 return nNewPos; in GetValue() 947 int nNewPos = 0; in OS2OnScroll() local 955 nNewPos = (int)(nPixelPos/m_dPixelToRange); in OS2OnScroll() 957 nNewPos++; in OS2OnScroll() 958 if ((nNewPos < GetMin()) || (nNewPos > GetMax())) in OS2OnScroll() 965 SetValue(nNewPos); in OS2OnScroll() 969 vEvent.SetPosition(nNewPos); in OS2OnScroll() 975 vCevent.SetInt(nNewPos); in OS2OnScroll() [all …]
|