Home
last modified time | relevance | path

Searched refs:nOldPos (Results 1 – 25 of 84) sorted by relevance

1234

/AOO41X/main/sw/source/core/txtnode/
H A Dfntcap.cxx576 xub_StrLen nOldPos = nPos; in DoOnCapitals() local
653 nPos = nOldPos; in DoOnCapitals()
658 while( nOldPos < nMaxPos ) in DoOnCapitals()
662 if( nOldPos != nPos ) in DoOnCapitals()
674 const XubString aSnippet( rOldText, nOldPos, nPos - nOldPos); in DoOnCapitals()
676 aCapInf.nIdx = nOldPos; in DoOnCapitals()
677 aCapInf.nLen = nPos - nOldPos; in DoOnCapitals()
684 rDo.GetInf().SetIdx( nOldPos ); in DoOnCapitals()
685 rDo.GetInf().SetLen( nPos - nOldPos ); in DoOnCapitals()
696 nOldPos = nPos; in DoOnCapitals()
[all …]
/AOO41X/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()
745 if (VALIDTAB(nOldPos)) in MoveTab()
747 if (pTab[nOldPos]) in MoveTab()
763 SCsTAB nDz = ((SCsTAB)nNewPos) - (SCsTAB)nOldPos; in MoveTab()
764 ScRange aSourceRange( 0,0,nOldPos, MAXCOL,MAXROW,nOldPos ); in MoveTab()
765 pRangeName->UpdateTabRef(nOldPos, 3, nNewPos); in MoveTab()
766 pDBCollection->UpdateMoveTab( nOldPos, nNewPos ); in MoveTab()
774 0,0,nOldPos, MAXCOL,MAXROW,nOldPos, 0,0,nDz ); in MoveTab()
777 pCondFormList->UpdateMoveTab( nOldPos, nNewPos ); in MoveTab()
[all …]
H A Ddocumen9.cxx265 void ScDocument::DrawMovePage( sal_uInt16 nOldPos, sal_uInt16 nNewPos ) in DrawMovePage() argument
267 pDrawLayer->ScMovePage(nOldPos,nNewPos); in DrawMovePage()
270 void ScDocument::DrawCopyPage( sal_uInt16 nOldPos, sal_uInt16 nNewPos ) in DrawCopyPage() argument
273 pDrawLayer->ScCopyPage( nOldPos, nNewPos, sal_False ); in DrawCopyPage()
/AOO41X/main/cui/source/dialogs/
H A Dhyphen.cxx125 sal_uInt16 nOldPos; member
186 nOldPos ( 0 ), in SvxHyphenWordDialog_Impl()
231 for ( i = nOldPos + 2; i < nLen; ++i ) in EnableLRBtn_Impl()
240 DBG_ASSERT(nOldPos < aTxt.Len(), "nOldPos out of range"); in EnableLRBtn_Impl()
241 if (nOldPos >= aTxt.Len()) in EnableLRBtn_Impl()
242 nOldPos = aTxt.Len() - 1; in EnableLRBtn_Impl()
244 for ( i = nOldPos; i-- > 0; ) in EnableLRBtn_Impl()
368 nOldPos = aEditWord.Len(); in InitControls_Impl()
448 DBG_ASSERT( nOldPos > 0, "invalid hyphenation position" ); in SelLeft_Impl()
449 if (nOldPos > 0) in SelLeft_Impl()
[all …]
/AOO41X/main/editeng/source/items/
H A Dsvxfont.cxx249 sal_uInt16 nOldPos = nPos; in DoOnCapitals() local
279 if( nOldPos != nPos ) in DoOnCapitals()
286 const XubString aSnippet(rTxt, nIdx + nOldPos, nPos-nOldPos); in DoOnCapitals()
293 rDo.Do( aTxt, nIdx + nOldPos, nPos-nOldPos, sal_True ); in DoOnCapitals()
296 nOldPos = nPos; in DoOnCapitals()
309 if( nOldPos != nPos ) in DoOnCapitals()
316 const XubString aSnippet(rTxt, nIdx + nOldPos, nPos - nOldPos); in DoOnCapitals()
323 rDo.Do( aTxt, nIdx + nOldPos, nPos-nOldPos, sal_False ); in DoOnCapitals()
326 nOldPos = nPos; in DoOnCapitals()
332 if( nOldPos != nPos ) in DoOnCapitals()
[all …]
/AOO41X/main/vcl/source/gdi/
H A Dcvtsvm.cxx1934 sal_uLong nOldPos, nNewPos; in ImplWriteActions() local
1940 nOldPos = rOStm.Tell(); in ImplWriteActions()
1949 rOStm.Seek( nOldPos ); in ImplWriteActions()
1950 rOStm << (sal_Int32) ( nNewPos - nOldPos ); in ImplWriteActions()
2182 sal_uLong nOldPos, nNewPos; in ImplWriteActions() local
2188 nOldPos = rOStm.Tell(); in ImplWriteActions()
2198 rOStm.Seek( nOldPos ); in ImplWriteActions()
2199 rOStm << (sal_Int32) ( nNewPos - nOldPos ); in ImplWriteActions()
2245 sal_uLong nOldPos, nNewPos; in ImplWriteActions() local
2251 nOldPos = rOStm.Tell(); in ImplWriteActions()
[all …]
H A Ddibtools.cxx443 const sal_uLong nOldPos(rIStm.Tell()); in ImplReadDIBBits() local
446 rHeader.nSizeImage = rIStm.Tell() - nOldPos; in ImplReadDIBBits()
447 rIStm.Seek(nOldPos); in ImplReadDIBBits()
1365 const sal_uLong nOldPos(rIStm.Tell()); in ImplReadDIB() local
1390 rIStm.Seek(nOldPos); in ImplReadDIB()
1413 const sal_uLong nOldPos(rOStm.Tell()); in ImplWriteDIB() local
1456 rOStm.Seek(nOldPos); in ImplWriteDIB()
/AOO41X/main/sc/source/core/tool/
H A Drangelst.cxx137 sal_uLong nOldPos = 0; in Join() local
140 nOldPos = GetPos( pOver ); in Join()
196 Remove( nOldPos ); in Join()
199 if ( nOldPos ) in Join()
200 nOldPos--; // Seek richtig aufsetzen in Join()
207 Seek( nOldPos ); in Join()
369 sal_uLong nOldPos = 0; in Join() local
372 nOldPos = GetPos( pOver ); in Join()
447 Remove( nOldPos ); in Join()
450 if ( nOldPos ) in Join()
[all …]
/AOO41X/main/basic/source/sbx/
H A Dsbxbase.cxx266 sal_uIntPtr nOldPos = rStrm.Tell(); in Load() local
275 nOldPos += nSize; in Load()
276 DBG_ASSERT( nOldPos >= nNewPos, "SBX: Zu viele Daten eingelesen" ); in Load()
277 if( nOldPos != nNewPos ) in Load()
278 rStrm.Seek( nOldPos ); in Load()
321 sal_uIntPtr nOldPos = rStrm.Tell(); in Store() local
325 rStrm.Seek( nOldPos ); in Store()
326 rStrm << (sal_uInt32) ( nNewPos - nOldPos ); in Store()
/AOO41X/main/sw/source/ui/table/
H A Dswtablerep.cxx179 sal_uInt16 nOldPos = 0; in FillTabCols() local
189 while((bFirst || bOld ) && nOldPos < nAllCols ) in FillTabCols()
191 nOld += pOldTColumns[nOldPos].nWidth; in FillTabCols()
192 nOldPos++; in FillTabCols()
193 if(!pOldTColumns[nOldPos - 1].bVisible) in FillTabCols()
/AOO41X/main/filter/source/msfilter/
H A Dmsocximex.cxx1428 sal_uInt32 nOldPos = rContents->Tell(); in WriteContents() local
1474 nFixedAreaLen = static_cast<sal_uInt16>(rContents->Tell()-nOldPos-4); in WriteContents()
1478 rContents->Seek(nOldPos); in WriteContents()
1558 sal_uInt32 nOldPos = rContents->Tell(); in WriteContents() local
1581 nFixedAreaLen = static_cast<sal_uInt16>(rContents->Tell()-nOldPos-4); in WriteContents()
1585 rContents->Seek(nOldPos); in WriteContents()
1712 sal_uInt32 nOldPos = rContents->Tell(); in WriteContents() local
1797 nFixedAreaLen = static_cast<sal_uInt16>(rContents->Tell()-nOldPos-4); in WriteContents()
1800 rContents->Seek(nOldPos); in WriteContents()
1963 sal_uInt32 nOldPos = rContents->Tell(); in WriteContents() local
[all …]
H A Ddffpropset.cxx1179 sal_uInt32 nOldPos = rIn.Tell(); in ReadPropSet() local
1204 rIn.Seek( nOldPos ); in ReadPropSet()
1311 sal_Size nOldPos = rStrm.Tell(); in GetPropertyString() local
1328 rStrm.Seek( nOldPos ); in GetPropertyString()
/AOO41X/main/sw/source/ui/dbui/
H A Dcustomizeaddresslistdialog.cxx171 sal_uInt16 nOldPos = nPos = m_aFieldsLB.GetSelectEntryPos(); in IMPL_LINK() local
181 ::rtl::OUString sHeader = m_pNewData->aDBColumnHeaders[nOldPos]; in IMPL_LINK()
182 m_pNewData->aDBColumnHeaders.erase(m_pNewData->aDBColumnHeaders.begin() + nOldPos); in IMPL_LINK()
187 ::rtl::OUString sData = (*aDataIter)[nOldPos]; in IMPL_LINK()
188 aDataIter->erase(aDataIter->begin() + nOldPos); in IMPL_LINK()
/AOO41X/main/vcl/source/control/
H A Dslider.cxx553 long nOldPos = mnThumbPos; in ImplSlide() local
555 long nDelta = mnThumbPos-nOldPos; in ImplSlide()
789 long nOldPos = mnThumbPos; in Tracking() local
791 mnDelta = mnThumbPos-nOldPos; in Tracking()
837 long nOldPos = mnThumbPos; in Tracking() local
839 if ( nOldPos != mnThumbPos ) in Tracking()
843 if ( mbFullDrag && (nOldPos != mnThumbPos) ) in Tracking()
845 mnDelta = mnThumbPos-nOldPos; in Tracking()
H A Dscrbar.cxx830 long nOldPos = mnThumbPos; in ImplScroll() local
832 long nDelta = mnThumbPos-nOldPos; in ImplScroll()
969 long nOldPos = mnThumbPos; in ImplDragThumb() local
972 if ( mbFullDrag && (nOldPos != mnThumbPos) ) in ImplDragThumb()
974 mnDelta = mnThumbPos-nOldPos; in ImplDragThumb()
1126 long nOldPos = mnThumbPos; in Tracking() local
1128 mnDelta = mnThumbPos-nOldPos; in Tracking()
/AOO41X/main/idl/source/objects/
H A Dbasobj.cxx436 sal_uLong nOldPos = rOutStm.Tell(); in WriteSvIdl() local
440 if( TestAndSeekSpaceOnly( rOutStm, nOldPos ) ) in WriteSvIdl()
453 nOldPos = rOutStm.Tell(); in WriteSvIdl()
457 if( TestAndSeekSpaceOnly( rOutStm, nOldPos ) ) in WriteSvIdl()
479 sal_uLong nOldPos = rOutStm.Tell(); in Write() local
484 rOutStm.Seek( nOldPos ); in Write()
/AOO41X/main/sc/source/ui/dbgui/
H A Dcsvgrid.cxx1261 void ScCsvGrid::ImplDrawHorzScrolled( sal_Int32 nOldPos ) in ImplDrawHorzScrolled() argument
1264 if( !IsValidGfx() || (nPos == nOldPos) ) in ImplDrawHorzScrolled()
1266 if( Abs( nPos - nOldPos ) > GetVisPosCount() / 2 ) in ImplDrawHorzScrolled()
1275 if( nPos < nOldPos ) in ImplDrawHorzScrolled()
1278 aDest = Point( GetFirstX() + GetCharWidth() * (nOldPos - nPos) + 1, 0 ); in ImplDrawHorzScrolled()
1280 nLastColIx = GetColumnFromPos( nOldPos ); in ImplDrawHorzScrolled()
1284 aSrc = Point( GetFirstX() + GetCharWidth() * (nPos - nOldPos) + 1, 0 ); in ImplDrawHorzScrolled()
1286 nFirstColIx = GetColumnFromPos( Min( nOldPos + GetVisPosCount(), GetPosCount() ) - 1 ); in ImplDrawHorzScrolled()
1290 ImplInvertCursor( GetRulerCursorPos() + (nPos - nOldPos) ); in ImplDrawHorzScrolled()
/AOO41X/main/svx/source/dialog/
H A Dsimptabl.cxx84 nOldPos=0; in SvxSimpleTable()
115 nOldPos=0; in SvxSimpleTable()
183 if(nOldPos!=nOffset) in NotifyScrolled()
188 nOldPos=nOffset; in NotifyScrolled()
229 nOldPos=nOffset; in Paint()
H A Dcharmap.cxx539 int nOldPos = aVscrollSB.GetThumbPos(); in SelectIndex() local
541 aVscrollSB.SetThumbPos( nOldPos - nDelta ); in SelectIndex()
550 int nOldPos = aVscrollSB.GetThumbPos(); in SelectIndex() local
552 aVscrollSB.SetThumbPos( nOldPos + nDelta ); in SelectIndex()
558 if( nOldPos != aVscrollSB.GetThumbPos() ) in SelectIndex()
/AOO41X/main/sw/source/filter/ww8/dump/
H A Dww8scan.cxx73 sal_uInt32 nOldPos = rStrm.Tell(); in TestBeltAndBraces() local
76 rMutableStrm.Seek(nOldPos); in TestBeltAndBraces()
80 if (nOldPos + sizeof(C) + nBelt + sizeof(C) <= nLen && in TestBeltAndBraces()
92 rMutableStrm.Seek(nOldPos); in TestBeltAndBraces()
1422 sal_uLong nOldPos = pPieceIter->GetIdx(); in WW8Fc2Cp() local
1451 pPieceIter->SetIdx( nOldPos ); in WW8Fc2Cp()
1463 pPieceIter->SetIdx( nOldPos ); // not found in WW8Fc2Cp()
2034 long nOldPos = pSt->Tell(); in WW8PLCFspecial() local
2052 pSt->Seek( nOldPos ); in WW8PLCFspecial()
2186 long nOldPos = pSt->Tell(); in ReadPLCF() local
[all …]
/AOO41X/main/svtools/source/brwbox/
H A Dbrwbox1.cxx483 sal_uInt16 nOldPos = GetColumnPos( nColumnId ); in SetColumnPos() local
484 if ( nOldPos >= pCols->Count() ) in SetColumnPos()
489 if (nOldPos != nPos) in SetColumnPos()
502 sal_uInt16 nNextPos = nOldPos + 1; in SetColumnPos()
503 if ( nOldPos > nPos ) in SetColumnPos()
504 nNextPos = nOldPos - 1; in SetColumnPos()
510 pCols->Insert( pCols->Remove( nOldPos ), nPos ); in SetColumnPos()
521 if ( nOldPos > nPos ) in SetColumnPos()
561 nOldPos, in SetColumnPos()
562 nOldPos in SetColumnPos()
/AOO41X/main/sw/source/filter/ww8/
H A Dww8par5.cxx350 long nOldPos = pStrm->Tell(); in Read_Book() local
353 pStrm->Seek( nOldPos ); in Read_Book()
1007 long nOldPos = pStrm->Tell(); in Read_Field() local
1011 pStrm->Seek( nOldPos ); in Read_Field()
1031 long nOldPos = pStrm->Tell(); in Read_Field() local
1045 pStrm->Seek( nOldPos ); in Read_Field()
1178 long nOldPos = pStrm->Tell(); in Read_F_Tag() local
1194 pStrm->Seek( nOldPos ); in Read_F_Tag()
1240 long nOldPos = pStrm->Tell(); in GetFieldResult() local
1255 pStrm->Seek( nOldPos ); in GetFieldResult()
[all …]
H A Dww8scan.cxx75 sal_uInt32 nOldPos = rStrm.Tell(); in TestBeltAndBraces() local
78 rMutableStrm.Seek(nOldPos); in TestBeltAndBraces()
82 if (nOldPos + sizeof(C) + nBelt + sizeof(C) <= nLen && in TestBeltAndBraces()
94 rMutableStrm.Seek(nOldPos); in TestBeltAndBraces()
1513 sal_uLong nOldPos = pPieceIter->GetIdx(); in WW8Fc2Cp() local
1549 pPieceIter->SetIdx( nOldPos ); in WW8Fc2Cp()
1561 pPieceIter->SetIdx( nOldPos ); // not found in WW8Fc2Cp()
1861 long nOldPos = pTblSt->Tell(); in WW8ScannerBase() local
1864 pTblSt->Seek(nOldPos); in WW8ScannerBase()
2215 long nOldPos = pSt->Tell(); in WW8PLCFspecial() local
[all …]
/AOO41X/main/svx/source/gallery2/
H A Dgaltheme.cxx544 sal_Bool GalleryTheme::ChangeObjectPos( sal_uIntPtr nOldPos, sal_uIntPtr nNewPos ) in ChangeObjectPos() argument
548 if( nOldPos != nNewPos ) in ChangeObjectPos()
550 GalleryObject* pEntry = aObjectList.GetObject( nOldPos ); in ChangeObjectPos()
556 if( nNewPos < nOldPos ) in ChangeObjectPos()
557 nOldPos++; in ChangeObjectPos()
559 aObjectList.Remove( nOldPos ); in ChangeObjectPos()
561 ImplBroadcast( ( nNewPos < nOldPos ) ? nNewPos : ( nNewPos - 1 ) ); in ChangeObjectPos()
/AOO41X/main/sc/inc/
H A Dconditio.hxx147 void UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos );
229 void UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos );
284 void UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos );

1234