Home
last modified time | relevance | path

Searched refs:nNewPos (Results 1 – 25 of 139) sorted by relevance

123456

/trunk/main/sw/source/core/draw/
H A Ddview.cxx448 sal_uInt32 nNewPos = _rMovedAnchoredObj.GetDrawObj()->GetOrdNum(); in _MoveRepeatedObjs() local
455 nNewPos ); in _MoveRepeatedObjs()
515 sal_uLong nNewPos ) in ObjOrderChanged() argument
535 const bool bMovedForward = nOldPos < nNewPos; in ObjOrderChanged()
544 if ( nNewPos > nMaxChildOrdNumWithoutMoved+1 ) in ObjOrderChanged()
547 pDrawPage->SetObjectOrdNum( nNewPos, nMaxChildOrdNumWithoutMoved+1 ); in ObjOrderChanged()
548 nNewPos = nMaxChildOrdNumWithoutMoved+1; in ObjOrderChanged()
554 if ( nNewPos < nParentOrdNum ) in ObjOrderChanged()
557 pDrawPage->SetObjectOrdNum( nNewPos, nParentOrdNum ); in ObjOrderChanged()
558 nNewPos = nParentOrdNum; in ObjOrderChanged()
[all …]
/trunk/main/svx/source/svdraw/
H A Dsvdedtv2.cxx109 sal_uIntPtr nNewPos=0; in MovMarkedToTop() local
118 nNewPos=sal_uIntPtr(pOL->GetObjCount()-1); in MovMarkedToTop()
130 if (nNewPos>nMaxPos) in MovMarkedToTop()
131 nNewPos=nMaxPos; // diesen nicht ueberholen. in MovMarkedToTop()
132 if (nNewPos<nNowPos) in MovMarkedToTop()
133 nNewPos=nNowPos; // aber dabei auch nicht in die falsche Richtung schieben in MovMarkedToTop()
136 while (nCmpPos<nNewPos && !bEnd) in MovMarkedToTop()
146 nNewPos=nCmpPos; in MovMarkedToTop()
147 nNewPos--; in MovMarkedToTop()
152 nNewPos=nCmpPos; in MovMarkedToTop()
[all …]
/trunk/main/sc/source/core/data/
H A Ddocumen2.cxx741 sal_Bool ScDocument::MoveTab( SCTAB nOldPos, SCTAB nNewPos ) in MoveTab() argument
743 if (nOldPos == nNewPos) return sal_False; in MoveTab()
757 if (nNewPos == SC_TAB_APPEND) in MoveTab()
758 nNewPos = nTabCount-1; in MoveTab()
763 SCsTAB nDz = ((SCsTAB)nNewPos) - (SCsTAB)nOldPos; in MoveTab()
765 pRangeName->UpdateTabRef(nOldPos, 3, nNewPos); in MoveTab()
766 pDBCollection->UpdateMoveTab( nOldPos, nNewPos ); in MoveTab()
777 pCondFormList->UpdateMoveTab( nOldPos, nNewPos ); in MoveTab()
779 pValidationList->UpdateMoveTab( nOldPos, nNewPos ); in MoveTab()
789 for (i = nTabCount - 1; i > nNewPos; i--) in MoveTab()
[all …]
/trunk/main/vcl/source/window/
H A Dsplit.cxx299 long nNewPos; in Tracking() local
301 nNewPos = maDragPos.X(); in Tracking()
303 nNewPos = maDragPos.Y(); in Tracking()
304 if ( nNewPos != mnStartSplitPos ) in Tracking()
306 SetSplitPosPixel( nNewPos ); in Tracking()
341 long nNewPos; in Tracking() local
343 nNewPos = maDragPos.X(); in Tracking()
345 nNewPos = maDragPos.Y(); in Tracking()
346 if ( nNewPos != mnSplitPos ) in Tracking()
348 SetSplitPosPixel( nNewPos ); in Tracking()
[all …]
H A Dtoolbox2.cxx654 …sal_uInt16 nNewPos = sal::static_int_cast<sal_uInt16>(( nPos == TOOLBOX_APPEND ) ? ( mpData->m_aIt… in InsertItem() local
655 ImplCallEventListeners( VCLEVENT_TOOLBOX_ITEMADDED, reinterpret_cast< void* >( nNewPos ) ); in InsertItem()
674 …sal_uInt16 nNewPos = sal::static_int_cast<sal_uInt16>(( nPos == TOOLBOX_APPEND ) ? ( mpData->m_aIt… in InsertItem() local
675 ImplCallEventListeners( VCLEVENT_TOOLBOX_ITEMADDED, reinterpret_cast< void* >(nNewPos ) ); in InsertItem()
695 …sal_uInt16 nNewPos = sal::static_int_cast<sal_uInt16>(( nPos == TOOLBOX_APPEND ) ? ( mpData->m_aIt… in InsertItem() local
696 ImplCallEventListeners( VCLEVENT_TOOLBOX_ITEMADDED, reinterpret_cast< void* >( nNewPos ) ); in InsertItem()
715 …sal_uInt16 nNewPos = sal::static_int_cast<sal_uInt16>(( nPos == TOOLBOX_APPEND ) ? ( mpData->m_aIt… in InsertItem() local
716 ImplCallEventListeners( VCLEVENT_TOOLBOX_ITEMADDED, reinterpret_cast< void* >( nNewPos ) ); in InsertItem()
743 …sal_uInt16 nNewPos = sal::static_int_cast<sal_uInt16>(( nPos == TOOLBOX_APPEND ) ? ( mpData->m_aIt… in InsertWindow() local
744 ImplCallEventListeners( VCLEVENT_TOOLBOX_ITEMADDED, reinterpret_cast< void* >( nNewPos ) ); in InsertWindow()
[all …]
H A Dwindow2.cxx1260 long nNewPos = pHScrl->GetThumbPos(); in ImplHandleScroll() local
1263 nNewPos += pHScrl->GetPageSize(); in ImplHandleScroll()
1265 nNewPos -= pHScrl->GetPageSize(); in ImplHandleScroll()
1268 const double fVal = (double)nNewPos - ((double)nX * pHScrl->GetLineSize()); in ImplHandleScroll()
1271 nNewPos = LONG_MIN; in ImplHandleScroll()
1273 nNewPos = LONG_MAX; in ImplHandleScroll()
1275 nNewPos = (long)fVal; in ImplHandleScroll()
1278 pHScrl->DoScroll( nNewPos ); in ImplHandleScroll()
1283 long nNewPos = pVScrl->GetThumbPos(); in ImplHandleScroll() local
1286 nNewPos += pVScrl->GetPageSize(); in ImplHandleScroll()
[all …]
/trunk/main/sc/source/ui/dbgui/
H A Dcsvruler.cxx266 sal_Int32 nNewPos = nPos; in GetNoScrollPos() local
267 if( nNewPos != CSV_POS_INVALID ) in GetNoScrollPos()
269 if( nNewPos < GetFirstVisPos() + CSV_SCROLL_DIST ) in GetNoScrollPos()
272 nNewPos = Max( nPos, GetFirstVisPos() + nScroll ); in GetNoScrollPos()
274 else if( nNewPos > GetLastVisPos() - CSV_SCROLL_DIST - 1L ) in GetNoScrollPos()
277 nNewPos = Min( nNewPos, GetLastVisPos() - nScroll - sal_Int32( 1 ) ); in GetNoScrollPos()
280 return nNewPos; in GetNoScrollPos()
301 void ScCsvRuler::MoveSplit( sal_Int32 nPos, sal_Int32 nNewPos ) in MoveSplit() argument
304 bool bInsert = maSplits.Insert( nNewPos ); in MoveSplit()
308 ImplDrawSplit( nNewPos ); in MoveSplit()
[all …]
H A Dcsvgrid.cxx179 sal_Int32 nNewPos = nPos; in GetNoScrollCol() local
180 if( nNewPos != CSV_POS_INVALID ) in GetNoScrollCol()
182 if( nNewPos < GetFirstVisPos() + CSV_SCROLL_DIST ) in GetNoScrollCol()
185 nNewPos = GetFirstVisPos() + nScroll; in GetNoScrollCol()
187 else if( nNewPos > GetLastVisPos() - CSV_SCROLL_DIST - 1L ) in GetNoScrollCol()
190 nNewPos = GetLastVisPos() - nScroll - 1; in GetNoScrollCol()
193 return nNewPos; in GetNoScrollCol()
292 void ScCsvGrid::MoveSplit( sal_Int32 nPos, sal_Int32 nNewPos ) in MoveSplit() argument
298 if( (GetColumnPos( nColIx - 1 ) < nNewPos) && (nNewPos < GetColumnPos( nColIx + 1 )) ) in MoveSplit()
302 maSplits.Insert( nNewPos ); in MoveSplit()
[all …]
/trunk/main/vcl/source/control/
H A Dfield2.cxx444 xub_StrLen nNewPos = nCursorPos; in ImplPatternLeftPos() local
445 xub_StrLen nTempPos = nNewPos; in ImplPatternLeftPos()
450 nNewPos = nTempPos-1; in ImplPatternLeftPos()
455 return nNewPos; in ImplPatternLeftPos()
465 xub_StrLen nNewPos = nCursorPos; in ImplPatternRightPos() local
466 xub_StrLen nTempPos = nNewPos; in ImplPatternRightPos()
471 nNewPos = nTempPos+1; in ImplPatternRightPos()
476 ImplPatternMaxPos( rStr, rEditMask, nFormatFlags, bSameMask, nCursorPos, nNewPos ); in ImplPatternRightPos()
477 return nNewPos; in ImplPatternRightPos()
499 xub_StrLen nNewPos; in ImplPatternProcessKeyInput() local
[all …]
/trunk/main/connectivity/source/commontools/
H A DTSkipDeletedSet.cxx176 sal_Int32 nNewPos = _nPos; in moveAbsolute() local
177 if(nNewPos > 0) in moveAbsolute()
179 if((sal_Int32)m_aBookmarksPositions.size() < nNewPos) in moveAbsolute()
192 --nNewPos; in moveAbsolute()
199 nNewPos = nNewPos - nCurPos; in moveAbsolute()
204 while (bDataFound && nNewPos) in moveAbsolute()
212 --nNewPos; in moveAbsolute()
218 const sal_Int32 nBookmark = m_aBookmarksPositions[nNewPos-1]/*->first*/; in moveAbsolute()
225 ++nNewPos; in moveAbsolute()
226 bDataFound = skipDeleted(IResultSetHelper::LAST,0,nNewPos == 0); in moveAbsolute()
[all …]
/trunk/main/vcl/source/gdi/
H A Dcvtsvm.cxx1934 sal_uLong nOldPos, nNewPos; in ImplWriteActions() local
1948 nNewPos = rOStm.Tell(); in ImplWriteActions()
1950 rOStm << (sal_Int32) ( nNewPos - nOldPos ); in ImplWriteActions()
1951 rOStm.Seek( nNewPos ); in ImplWriteActions()
2182 sal_uLong nOldPos, nNewPos; in ImplWriteActions() local
2197 nNewPos = rOStm.Tell(); in ImplWriteActions()
2199 rOStm << (sal_Int32) ( nNewPos - nOldPos ); in ImplWriteActions()
2200 rOStm.Seek( nNewPos ); in ImplWriteActions()
2245 sal_uLong nOldPos, nNewPos; in ImplWriteActions() local
2258 nNewPos = rOStm.Tell(); in ImplWriteActions()
[all …]
/trunk/main/svtools/source/control/
H A Dtabbar.cxx735 sal_uInt16 nNewPos = mnFirstPos+1; in ImplShowPage() local
736 SetFirstPageId( GetPageId( nNewPos ) ); in ImplShowPage()
738 if ( nNewPos != mnFirstPos ) in ImplShowPage()
750 sal_uInt16 nNewPos = mnFirstPos; in IMPL_LINK() local
753 nNewPos = 0; in IMPL_LINK()
757 nNewPos = mnFirstPos-1; in IMPL_LINK()
763 nNewPos = mnFirstPos+1; in IMPL_LINK()
769 nNewPos = nCount-1; in IMPL_LINK()
772 if ( nNewPos != mnFirstPos ) in IMPL_LINK()
773 SetFirstPageId( GetPageId( nNewPos ) ); in IMPL_LINK()
[all …]
/trunk/main/sw/source/core/text/
H A Ditratr.cxx130 sal_Bool SwAttrIter::SeekAndChgAttrIter( const xub_StrLen nNewPos, OutputDevice* pOut ) in SeekAndChgAttrIter() argument
132 sal_Bool bChg = nStartIndex && nNewPos == nPos ? pFnt->IsFntChg() : Seek( nNewPos ); in SeekAndChgAttrIter()
151 sal_Bool SwAttrIter::IsSymbol( const xub_StrLen nNewPos ) in IsSymbol() argument
153 Seek( nNewPos ); in IsSymbol()
224 void SwAttrIter::SeekFwd( const xub_StrLen nNewPos ) in SeekFwd() argument
235 (*(pTxtAttr=pHints->GetEnd(nEndIndex))->GetAnyEnd()<=nNewPos)) in SeekFwd()
246 (*(pTxtAttr=pHints->GetEnd(nEndIndex))->GetAnyEnd()<=nNewPos)) in SeekFwd()
254 (*(pTxtAttr=pHints->GetStart(nStartIndex))->GetStart()<=nNewPos)) in SeekFwd()
257 if ( *pTxtAttr->GetAnyEnd() > nNewPos ) Chg( pTxtAttr ); in SeekFwd()
267 sal_Bool SwAttrIter::Seek( const xub_StrLen nNewPos ) in Seek() argument
[all …]
H A Dwrong.cxx524 void SwWrongList::InsertSubList( xub_StrLen nNewPos, xub_StrLen nNewLen, sal_uInt16 nWhere, SwWrong… in InsertSubList() argument
535 maList.insert(i, SwWrongArea( rtl::OUString(), 0, nNewPos, nNewLen, pSubList ) ); in InsertSubList()
630 xub_StrLen nNewPos, xub_StrLen nNewLen ) in Insert() argument
638 if ( nNewPos < nSTPos ) in Insert()
643 else if ( nNewPos == nSTPos ) in Insert()
664 maList.insert(aIter, SwWrongArea( rType, meType, xPropertyBag, nNewPos, nNewLen) ); in Insert()
/trunk/main/sc/source/filter/ftools/
H A Dfprogressbar.cxx120 sal_Size nNewPos = mnTotalPos + nDelta; in IncreaseProgressBar() local
127 static_cast< double >( nNewPos ) * mpParentSegment->mnSize / mnTotalSize ); in IncreaseProgressBar()
133 if( nNewPos >= mnNextUnitPos ) in IncreaseProgressBar()
135 mnNextUnitPos = nNewPos + mnUnitSize; in IncreaseProgressBar()
136 mxSysProgress->SetState( static_cast< sal_uLong >( nNewPos / mnSysProgressScale ) ); in IncreaseProgressBar()
144 mnTotalPos = nNewPos; in IncreaseProgressBar()
/trunk/main/dbaccess/source/ui/misc/
H A DWNameMatch.cxx294 … sal_uLong nNewPos = m_CTRL_LEFT.GetModel()->GetAbsPos(m_CTRL_LEFT.GetFirstEntryInView()); variable
295 if ( nNewPos - nPos == 1 )
296 --nNewPos;
297 m_CTRL_RIGHT.MakeVisible(m_CTRL_RIGHT.GetEntry(nNewPos),sal_True);
328 … sal_uLong nNewPos = m_CTRL_RIGHT.GetModel()->GetAbsPos(m_CTRL_RIGHT.GetFirstEntryInView()); variable
329 if ( nNewPos - nPos == 1 )
330 nNewPos--;
331 m_CTRL_LEFT.MakeVisible(m_CTRL_LEFT.GetEntry(nNewPos),sal_True);
H A DDExport.cxx316 sal_Int32 nNewPos = m_bIsAutoIncrement ? m_nColumnPos+1 : m_nColumnPos; in insertValueIntoColumn() local
317 …OSL_ENSURE((nNewPos) < static_cast<sal_Int32>(m_vColumns.size()),"m_vColumns: Illegal index for ve… in insertValueIntoColumn()
319 if ( (nNewPos) < static_cast<sal_Int32>(m_vColumns.size() ) ) in insertValueIntoColumn()
321 sal_Int32 nPos = m_vColumns[nNewPos].first; in insertValueIntoColumn()
333 … OSL_ENSURE((nNewPos) < static_cast<sal_Int32>(m_vColumnTypes.size()),"Illegal index for vector"); in insertValueIntoColumn()
334 …if (m_vColumnTypes[nNewPos] != DataType::VARCHAR && m_vColumnTypes[nNewPos] != DataType::CHAR && m… in insertValueIntoColumn()
797 sal_Int32 nNewPos = m_bIsAutoIncrement ? m_nColumnPos+1 : m_nColumnPos; in adjustFormat() local
798 … OSL_ENSURE((nNewPos) < static_cast<sal_Int32>(m_vColumns.size()),"Illegal index for vector"); in adjustFormat()
799 if ( (nNewPos) < static_cast<sal_Int32>(m_vColumns.size()) ) in adjustFormat()
801 sal_Int32 nColPos = m_vColumns[nNewPos].first; in adjustFormat()
/trunk/main/ucb/source/sorter/
H A Dsortresult.cxx1755 long nCompare, nCurPos, nNewPos; in ResortModified() local
1772 nNewPos = FindPos( pData, 1, nCurPos-1 ); in ResortModified()
1773 nStart = nNewPos; in ResortModified()
1779 nNewPos = FindPos( pData, nCurPos+1, mnLastSort ); in ResortModified()
1785 if ( nNewPos != nCurPos ) in ResortModified()
1789 maS2O.Insert( pData, nNewPos ); in ResortModified()
1800 maO2S.Replace( (void*) nNewPos, (sal_uInt32) pData->mnCurPos ); in ResortModified()
1806 pAction->ActionInfo <<= nNewPos-nCurPos; in ResortModified()
1810 nNewPos, 1 ); in ResortModified()
1822 long i, j, nNewPos, nVal; in ResortNew() local
[all …]
/trunk/main/sw/source/core/doc/
H A Dacmplwrd.cxx414 sal_uInt16 nMyPos = 0, nNewPos = 0; in CheckChangedList() local
416 for( ; nMyPos < nMyLen && nNewPos < nNewLen; ++nMyPos, ++nNewPos ) in CheckChangedList()
418 const StringPtr pStr = rNewLst[ nNewPos ]; in CheckChangedList()
436 for( ; nNewPos < nMyLen; ++nNewPos ) in CheckChangedList()
438 void* pDel = aWordLst[ nNewPos ]; in CheckChangedList()
/trunk/main/embedserv/source/embed/
H A Ded_ipersiststr.cxx76 ULARGE_INTEGER nNewPos; in createTempXInStreamFromIStream() local
78 HRESULT hr = pStream->Seek( aZero, STREAM_SEEK_SET, &nNewPos ); in createTempXInStreamFromIStream()
136 ULARGE_INTEGER nNewPos; in copyXTempOutToIStream() local
138 HRESULT hr = pStream->Seek( aZero, STREAM_SEEK_SET, &nNewPos ); in copyXTempOutToIStream()
518 ULARGE_INTEGER nNewPos; in Load() local
520 hr = m_pExtStream->Seek( aZero, STREAM_SEEK_SET, &nNewPos ); in Load()
649 ULARGE_INTEGER nNewPos; in Save() local
651 hr = pNewExtStream->Seek( aZero, STREAM_SEEK_SET, &nNewPos ); in Save()
832 ULARGE_INTEGER nNewPos; in Load() local
834 hr = m_pExtStream->Seek( aZero, STREAM_SEEK_SET, &nNewPos ); in Load()
/trunk/main/svtools/source/contnr/
H A Dimivctl2.cxx351 long nNewPos = nPos; in GoPageUpDown() local
354 nNewPos += nEntriesInView; in GoPageUpDown()
355 if( nNewPos >= (long)pView->aEntries.Count() ) in GoPageUpDown()
356 nNewPos = pView->aEntries.Count() - 1; in GoPageUpDown()
360 nNewPos -= nEntriesInView; in GoPageUpDown()
361 if( nNewPos < 0 ) in GoPageUpDown()
362 nNewPos = 0; in GoPageUpDown()
364 if( nPos != nNewPos ) in GoPageUpDown()
365 return (SvxIconChoiceCtrlEntry*)pView->aEntries.GetObject( (sal_uLong)nNewPos ); in GoPageUpDown()
/trunk/main/tools/source/stream/
H A Dstrmwnt.cxx269 DWORD nNewPos = 0; in SeekPos() local
274 nNewPos=SetFilePointer(pInstanceData->hFile,nPos,NULL,FILE_BEGIN); in SeekPos()
276 nNewPos=SetFilePointer(pInstanceData->hFile,0L,NULL,FILE_END); in SeekPos()
278 if( nNewPos == 0xFFFFFFFF ) in SeekPos()
281 nNewPos = 0L; in SeekPos()
286 return (sal_uIntPtr)nNewPos; in SeekPos()
/trunk/main/sw/source/ui/table/
H A Dswtablerep.cxx180 sal_uInt16 nNewPos = 0; in FillTabCols() local
196 while((bFirst || !bOld ) && nNewPos < nAllCols ) in FillTabCols()
198 nNew += pTColumns[nNewPos].nWidth; in FillTabCols()
199 nNewPos++; in FillTabCols()
200 if(pOldTColumns[nNewPos - 1].bVisible) in FillTabCols()
/trunk/main/basic/source/sbx/
H A Dsbxbase.cxx274 sal_uIntPtr nNewPos = rStrm.Tell(); in Load() local
276 DBG_ASSERT( nOldPos >= nNewPos, "SBX: Zu viele Daten eingelesen" ); in Load()
277 if( nOldPos != nNewPos ) in Load()
324 sal_uIntPtr nNewPos = rStrm.Tell(); in Store() local
326 rStrm << (sal_uInt32) ( nNewPos - nOldPos ); in Store()
327 rStrm.Seek( nNewPos ); in Store()
/trunk/main/svtools/source/brwbox/
H A Dbrwhead.cxx98 nNewPos = GetItemPos( nId ); in EndDrag() local
101 nNewPos++; in EndDrag()
103 if (nOldPos != nNewPos) in EndDrag()
105 _pBrowseBox->SetColumnPos( nId, nNewPos ); in EndDrag()

123456