Home
last modified time | relevance | path

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

123456

/trunk/main/sw/source/core/draw/
H A Ddview.cxx515 sal_uLong nNewPos ) in ObjOrderChanged() argument
558 nNewPos = nParentOrdNum; in ObjOrderChanged()
570 pDrawPage->GetObj( bMovedForward ? nNewPos - 1 : nNewPos + 1 ); in ObjOrderChanged()
590 if ( nTmpNewPos != nNewPos ) in ObjOrderChanged()
593 nNewPos = nTmpNewPos; in ObjOrderChanged()
606 if ( nNewPos < nMaxChildOrdNum ) in ObjOrderChanged()
620 nNewPos = nTmpNewPos; in ObjOrderChanged()
629 sal_uInt32 nTmpNewPos( nNewPos ); in ObjOrderChanged()
661 if ( nTmpNewPos != nNewPos ) in ObjOrderChanged()
664 nNewPos = nTmpNewPos; in ObjOrderChanged()
[all …]
/trunk/main/svx/source/svdraw/
H A Dsvdedtv2.cxx109 sal_uIntPtr nNewPos=0; in MovMarkedToTop() local
152 nNewPos=nCmpPos; in MovMarkedToTop()
160 if (nNowPos!=nNewPos) in MovMarkedToTop()
168 nNewPos--; in MovMarkedToTop()
206 nNewPos=0; in MovMarkedToBtm()
241 nNewPos=nCmpPos; in MovMarkedToBtm()
257 nNewPos++; in MovMarkedToBtm()
358 nNewPos--; in PutMarkedInFrontOfObj()
417 nNewPos=0; in PutMarkedBehindObj()
430 if (nNewPos<nMinOrd) nNewPos=nMinOrd; // nicht ueberholen. in PutMarkedBehindObj()
[all …]
/trunk/main/sc/source/core/data/
H A Ddocumen2.cxx757 if (nNewPos == SC_TAB_APPEND) in MoveTab()
758 nNewPos = nTabCount-1; in MoveTab()
791 pTab[nNewPos] = pSaveTab; in MoveTab()
820 if (SC_TAB_APPEND == nNewPos ) nNewPos = nMaxTableNumber; in CopyTab()
842 if (nNewPos == nMaxTableNumber) in CopyTab()
850 if (VALIDTAB(nNewPos) && (nNewPos < nMaxTableNumber)) in CopyTab()
875 if (nNewPos <= nOldPos) in CopyTab()
877 pTab[nNewPos] = new ScTable(this, nNewPos, aName); in CopyTab()
912 pTab[nNewPos]->UpdateReference(URM_COPY, 0, 0, nNewPos , MAXCOL, MAXROW, in CopyTab()
913 nNewPos, 0, 0, nDz, NULL); in CopyTab()
[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()
341 long nNewPos; in Tracking() local
343 nNewPos = maDragPos.X(); in Tracking()
345 nNewPos = maDragPos.Y(); in Tracking()
378 long nNewPos; in ImplKbdTracking() local
380 nNewPos = maDragPos.X(); in ImplKbdTracking()
465 long nNewPos; in ImplKbdTracking() local
524 mnSplitPos = nNewPos; in SetSplitPosPixel()
[all …]
H A Dtoolbox2.cxx655 ImplCallEventListeners( VCLEVENT_TOOLBOX_ITEMADDED, reinterpret_cast< void* >( nNewPos ) ); in InsertItem()
675 ImplCallEventListeners( VCLEVENT_TOOLBOX_ITEMADDED, reinterpret_cast< void* >(nNewPos ) ); in InsertItem()
839 void ToolBox::MoveItem( sal_uInt16 nItemId, sal_uInt16 nNewPos ) in MoveItem() argument
843 if ( nPos == nNewPos ) in MoveItem()
846 if ( nPos < nNewPos ) in MoveItem()
847 nNewPos--; in MoveItem()
855 …mpData->m_aItems.insert( (nNewPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nNewPos : … in MoveItem()
866 …os2 = sal::static_int_cast<sal_uInt16>(( nNewPos == TOOLBOX_APPEND ) ? ( mpData->m_aItems.size() -… in MoveItem()
875 sal_uInt16 nNewPos ) in CopyItem() argument
891 …mpData->m_aItems.insert( (nNewPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nNewPos : … in CopyItem()
[all …]
H A Dwindow2.cxx1260 long nNewPos = pHScrl->GetThumbPos(); in ImplHandleScroll() local
1263 nNewPos += pHScrl->GetPageSize(); in ImplHandleScroll()
1265 nNewPos -= pHScrl->GetPageSize(); 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()
1294 nNewPos = LONG_MIN; in ImplHandleScroll()
1296 nNewPos = LONG_MAX; in ImplHandleScroll()
1298 nNewPos = (long)fVal; 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()
277 nNewPos = Min( nNewPos, GetLastVisPos() - nScroll - sal_Int32( 1 ) ); in GetNoScrollPos()
280 return nNewPos; in GetNoScrollPos()
308 ImplDrawSplit( nNewPos ); in MoveSplit()
321 sal_Int32 nNewPos = nPos; in FindEmptyPos() local
322 if( nNewPos != CSV_POS_INVALID ) in FindEmptyPos()
344 return IsValidSplitPos( nNewPos ) ? nNewPos : CSV_POS_INVALID; in FindEmptyPos()
351 MoveCursor( nNewPos ); in MoveCurrSplit()
360 if( nNewPos != CSV_POS_INVALID ) in MoveCurrSplitRel()
[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.cxx450 nNewPos = nTempPos-1; in ImplPatternLeftPos()
455 return nNewPos; in ImplPatternLeftPos()
471 nNewPos = nTempPos+1; in ImplPatternRightPos()
477 return nNewPos; in ImplPatternRightPos()
499 xub_StrLen nNewPos; in ImplPatternProcessKeyInput() local
531 nNewPos = 0; in ImplPatternProcessKeyInput()
534 nNewPos++; in ImplPatternProcessKeyInput()
548 while ( nNewPos && in ImplPatternProcessKeyInput()
550 nNewPos--; in ImplPatternProcessKeyInput()
558 aSel.Max() = nNewPos; in ImplPatternProcessKeyInput()
[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.cxx1948 nNewPos = rOStm.Tell(); in ImplWriteActions()
1951 rOStm.Seek( nNewPos ); in ImplWriteActions()
2197 nNewPos = rOStm.Tell(); in ImplWriteActions()
2200 rOStm.Seek( nNewPos ); in ImplWriteActions()
2258 nNewPos = rOStm.Tell(); in ImplWriteActions()
2288 rOStm.Seek( nNewPos ); in ImplWriteActions()
2318 nNewPos = rOStm.Tell(); in ImplWriteActions()
2366 rOStm.Seek( nNewPos ); in ImplWriteActions()
2394 rOStm.Seek( nNewPos ); in ImplWriteActions()
2431 rOStm.Seek( nNewPos ); in ImplWriteActions()
[all …]
/trunk/main/sw/source/core/text/
H A Ditratr.cxx132 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
257 if ( *pTxtAttr->GetAnyEnd() > nNewPos ) Chg( pTxtAttr ); in SeekFwd()
267 sal_Bool SwAttrIter::Seek( const xub_StrLen nNewPos ) in Seek() argument
270 pRedln->LeaveExtend( *pFnt, nNewPos ); in Seek()
274 if( !nNewPos || nNewPos < nPos ) in Seek()
297 SeekFwd( nNewPos ); in Seek()
303 nChgCnt = nChgCnt + pRedln->Seek( *pFnt, nNewPos, nPos ); in Seek()
[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/svtools/source/control/
H A Dtabbar.cxx770 nNewPos = 0; in IMPL_LINK()
774 nNewPos = mnFirstPos-1; in IMPL_LINK()
780 nNewPos = mnFirstPos+1; in IMPL_LINK()
786 nNewPos = nCount-1; in IMPL_LINK()
789 if ( nNewPos != mnFirstPos ) in IMPL_LINK()
1693 Pair aPair( nPos, nNewPos ); in MovePage()
1695 if ( nPos < nNewPos ) in MovePage()
1696 nNewPos--; in MovePage()
1698 if ( nPos == nNewPos ) in MovePage()
2029 sal_uInt16 nNewPos; in SetFirstPageId() local
[all …]
/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
1773 nStart = nNewPos; in ResortModified()
1785 if ( nNewPos != nCurPos ) in ResortModified()
1789 maS2O.Insert( pData, nNewPos ); in ResortModified()
1806 pAction->ActionInfo <<= nNewPos-nCurPos; in ResortModified()
1810 nNewPos, 1 ); in ResortModified()
1822 long i, j, nNewPos, nVal; in ResortNew() local
1829 nNewPos = FindPos( pData, 1, mnLastSort ); in ResortNew()
1830 if ( nNewPos != i ) in ResortNew()
1833 maS2O.Insert( pData, nNewPos ); in ResortNew()
[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()

Completed in 215 milliseconds

123456