Home
last modified time | relevance | path

Searched refs:nEnd (Results 1 – 25 of 442) sorted by relevance

12345678910>>...18

/trunk/main/sc/source/core/data/
H A Dcompressedarray.cxx42 pData[0].nEnd = nMaxAccess; in ScCompressedArray()
61 pData[nCount].nEnd = j-1; in ScCompressedArray()
67 pData[nCount].nEnd = nMaxAccess; in ScCompressedArray()
103 long nEnd = 0; in Search() local
110 nStart = (long) pData[i - 1].nEnd; in Search()
113 nEnd = (long) pData[i].nEnd; in Search()
114 if (nEnd < (long) nAccess) in Search()
127 void ScCompressedArray<A,D>::SetValue( A nStart, A nEnd, const D& rValue ) in SetValue() argument
129 if (0 <= nStart && nStart <= nMaxAccess && 0 <= nEnd && nEnd <= nMaxAccess in SetValue()
130 && nStart <= nEnd) in SetValue()
[all …]
H A Dolinetab.cxx318 SCCOLROW nEnd = pEntry->GetEnd(); in FindTouchedLevel() local
320 if ( ( nBlockStart>=nStart && nBlockStart<=nEnd ) || in FindTouchedLevel()
321 ( nBlockEnd >=nStart && nBlockEnd <=nEnd ) ) in FindTouchedLevel()
344 SCCOLROW nEnd = pEntry->GetEnd(); in RemoveSub() local
346 if ( nStart>=nStartPos && nEnd<=nEndPos ) in RemoveSub()
348 RemoveSub( nStart, nEnd, nLevel+1 ); in RemoveSub()
374 SCCOLROW nEnd = pEntry->GetEnd(); in PromoteSub() local
376 if ( nStart>=nStartPos && nEnd<=nEndPos ) in PromoteSub()
420 SCCOLROW nEnd = pEntry->GetEnd(); in Remove() local
422 if ( nBlockStart<=nEnd && nBlockEnd>=nStart ) in Remove()
[all …]
H A Dbcaslot.cxx601 SCSIZE nStart, nEnd, nRowBreak; in StartListeningArea() local
602 ComputeAreaPoints( rRange, nStart, nEnd, nRowBreak ); in StartListeningArea()
607 while ( !bDone && nOff <= nEnd ) in StartListeningArea()
653 SCSIZE nStart, nEnd, nRowBreak; in EndListeningArea() local
654 ComputeAreaPoints( rRange, nStart, nEnd, nRowBreak ); in EndListeningArea()
659 if (nOff == 0 && nEnd == nBcaSlots-1) in EndListeningArea()
663 ScBroadcastAreaSlot** const pStop = ppSlots + nEnd; in EndListeningArea()
672 while ( nOff <= nEnd ) in EndListeningArea()
721 SCSIZE nStart, nEnd, nRowBreak; in AreaBroadcastInRange() local
722 ComputeAreaPoints( rRange, nStart, nEnd, nRowBreak ); in AreaBroadcastInRange()
[all …]
H A Dtable6.cxx109 xub_StrLen nEnd = aString.Len(); in SearchCell() local
115 xub_StrLen nTemp=nStart; nStart=nEnd; nEnd=nTemp; in SearchCell()
116 … bFound = (sal_Bool)(pSearchText->SearchBkwrd(aString, &nStart, &nEnd, &aSearchResult)); in SearchCell()
118 --nEnd; in SearchCell()
122 … bFound = (sal_Bool)(pSearchText->SearchFrwrd(aString, &nStart, &nEnd, &aSearchResult)); in SearchCell()
124 --nEnd; in SearchCell()
128 bFound = (nStart == 0 && nEnd == aString.Len() - 1); in SearchCell()
160 if ( nEnd < nStart || nEnd == STRING_MAXLEN ) in SearchCell()
166 String sFndStr = aString.Copy(nStart, nEnd-nStart+1); in SearchCell()
168 aString.Erase(nStart, nEnd-nStart+1); in SearchCell()
[all …]
H A Dmarkdata.cxx448 SCCOLROW nEnd = nStart; in GetMarkColumnRanges() local
449 while (nEnd < nMultiEnd && pMultiSel[nEnd].HasMarks()) in GetMarkColumnRanges()
450 ++nEnd; in GetMarkColumnRanges()
451 if (!pMultiSel[nEnd].HasMarks()) in GetMarkColumnRanges()
452 --nEnd; in GetMarkColumnRanges()
454 pRanges[2*nRangeCnt+1] = nEnd; in GetMarkColumnRanges()
456 nStart = nEnd+1; in GetMarkColumnRanges()
516 SCCOLROW nEnd = nStart; in GetMarkRowRanges() local
517 while (nEnd < nMultiEnd && bRowMarked[nEnd]) in GetMarkRowRanges()
518 ++nEnd; in GetMarkRowRanges()
[all …]
/trunk/main/editeng/source/editeng/
H A Dedtspell.cxx252 if ( rWrong.nEnd >= nPos ) in TextInserted()
258 rWrong.nEnd = rWrong.nEnd + nNew; in TextInserted()
261 else if ( rWrong.nEnd == nPos ) in TextInserted()
265 rWrong.nEnd = rWrong.nEnd + nNew; in TextInserted()
268 else if ( ( rWrong.nStart < nPos ) && ( rWrong.nEnd > nPos ) ) in TextInserted()
270 rWrong.nEnd = rWrong.nEnd + nNew; in TextInserted()
285 rWrong.nEnd = rWrong.nEnd + nNew; in TextInserted()
290 DBG_ASSERT( !bRefIsValid || ( rWrong.nStart < rWrong.nEnd ), in TextInserted()
323 if ( rWrong.nEnd >= nPos ) in TextDeleted()
329 rWrong.nEnd = rWrong.nEnd - nDeleted; in TextDeleted()
[all …]
H A Deditattr.hxx96 sal_uInt16 nEnd; member in EditCharAttrib
101 EditCharAttrib( const SfxPoolItem& rAttr, sal_uInt16 nStart, sal_uInt16 nEnd );
104 sal_uInt16& GetEnd() { return nEnd; } in GetEnd()
107 sal_uInt16 GetEnd() const { return nEnd; } in GetEnd()
120 { return ( ( nStart <= nIndex ) && ( nEnd >= nIndex ) ); } in IsIn()
122 { return ( ( nStart < nIndex ) && ( nEnd > nIndex ) ); } in IsInside()
124 { return nStart == nEnd; } in IsEmpty()
135 DBG_ASSERT( nEnd >= nStart, "EditCharAttrib: nEnd < nStart!" ); in GetLen()
136 return nEnd-nStart; in GetLen()
141 DBG_ASSERT( ((long)nEnd + nDiff) <= 0xFFFF, "EditCharAttrib: MoveForward?!" ); in MoveForward()
[all …]
H A Deditdoc.cxx406 nStart = nEnd = 0; in EditLine()
423 nEnd = r.nEnd; in EditLine()
452 pL->nEnd = nEnd; in Clone()
469 if ( r1.nEnd != r2.nEnd ) in operator ==()
483 nEnd = r.nEnd; in operator =()
1410 sal_uInt16 nEnd = nEndPos; in GetParaAsString() local
1411 if ( pNextFeature && ( pNextFeature->GetStart() < nEnd ) ) in GetParaAsString()
1412 nEnd = pNextFeature->GetStart(); in GetParaAsString()
1416 DBG_ASSERT( nEnd >= nIndex, "Ende vorm Index?" ); in GetParaAsString()
1419 if (nEnd > nIndex) in GetParaAsString()
[all …]
/trunk/main/sc/inc/
H A Dcompressedarray.hxx65 A nEnd; // start is end of previous entry + 1 member
81 void SetValue( A nStart, A nEnd, const D& rValue );
85 const D& GetValue( A nPos, size_t& nIndex, A& nEnd ) const;
88 const D& GetValue( A nPos, size_t& nIndex, A& nStart, A& nEnd ) const;
93 const D& GetNextValue( size_t& nIndex, A& nEnd ) const;
112 A nStart, A nEnd, long nSourceDy = 0 );
145 pData[0].nEnd = nMaxAccess; in Reset()
165 const D& ScCompressedArray<A,D>::GetValue( A nPos, size_t& nIndex, A& nEnd ) const in GetValue()
168 nEnd = pData[nIndex].nEnd; in GetValue()
175 A& nEnd ) const in GetValue()
[all …]
/trunk/main/sw/source/core/txtnode/
H A Dtxtedt.cxx121 const xub_StrLen nStt, const xub_StrLen nEnd, in lcl_MaskRedlines() argument
143 if ( nRedlineEnd < nStt || nRedlineStart > nEnd ) in lcl_MaskRedlines()
146 while ( nRedlineStart < nRedlineEnd && nRedlineStart < nEnd ) in lcl_MaskRedlines()
148 if ( nRedlineStart >= nStt && nRedlineStart < nEnd ) in lcl_MaskRedlines()
166 const xub_StrLen nStt, const xub_StrLen nEnd, in lcl_MaskRedlinesAndHiddenText() argument
180 nRedlinesMasked = lcl_MaskRedlines( rNode, rText, nStt, nEnd, cChar ); in lcl_MaskRedlinesAndHiddenText()
190 SwScriptInfo::MaskHiddenRanges( rNode, rText, nStt, nEnd, cChar ); in lcl_MaskRedlinesAndHiddenText()
372 inline sal_Bool InRange(xub_StrLen nIdx, xub_StrLen nStart, xub_StrLen nEnd) { in InRange() argument
373 return ((nIdx >=nStart) && (nIdx <= nEnd)); in InRange()
408 xub_StrLen nEnd = nStt + nLen; in RstTxtAttr() local
[all …]
H A Dthints.cxx239 const xub_StrLen nStart, const xub_StrLen nEnd) in MakeTxtAttrNesting() argument
242 *rNode.GetDoc(), rNesting.GetAttr(), nStart, nEnd ) ); in MakeTxtAttrNesting()
1001 xub_StrLen const nEnd, in MakeTxtAttr() argument
1013 return MakeTxtAttr( rDoc, aItemSet, nStt, nEnd ); in MakeTxtAttr()
1024 SwTxtAttr* pNew = MakeTxtAttr( rDoc, *pNewSet, nStt, nEnd ); in MakeTxtAttr()
1044 pNew = new SwTxtCharFmt( rFmtCharFmt, nStt, nEnd ); in MakeTxtAttr()
1048 pNew = new SwTxtINetFmt( (SwFmtINetFmt&)rNew, nStt, nEnd ); in MakeTxtAttr()
1073 new SwTxtInputFld( static_cast<SwFmtFld &>(rNew), nStt, nEnd, rDoc.IsClipBoard() ); in MakeTxtAttr()
1095 pNew = nStt == nEnd in MakeTxtAttr()
1097 : new SwTxtRefMark( (SwFmtRefMark&)rNew, nStt, &nEnd ); in MakeTxtAttr()
[all …]
/trunk/main/sw/source/core/text/
H A Dwrong.cxx153 xub_StrLen nEnd = Len( nPos ); in Check() local
154 nEnd = nEnd + ( nWrPos = Pos( nPos ) ); in Check()
155 if( nEnd == rChk ) in Check()
162 nEnd = Len( nPos ); in Check()
163 nEnd = nEnd + ( nWrPos = Pos( nPos ) ); in Check()
166 if( nEnd > rChk && nWrPos < rLn ) in Check()
170 if( nEnd < rLn ) in Check()
171 rLn = nEnd; in Check()
275 void SwWrongList::_Invalidate( xub_StrLen nBegin, xub_StrLen nEnd ) in _Invalidate() argument
279 if ( nEnd > GetEndInv() ) in _Invalidate()
[all …]
H A Dporlay.cxx209 bool lcl_HasStrongLTR ( const String& rTxt, xub_StrLen nStart, xub_StrLen nEnd ) in lcl_HasStrongLTR() argument
211 for ( xub_StrLen nCharIdx = nStart; nCharIdx < nEnd; ++nCharIdx ) in lcl_HasStrongLTR()
379 bool lcl_HasOnlyBlanks( const XubString& rTxt, xub_StrLen nStt, xub_StrLen nEnd ) in lcl_HasOnlyBlanks() argument
382 while ( nStt < nEnd ) in lcl_HasOnlyBlanks()
807 const xub_StrLen nEnd = (xub_StrLen)rRange.Max() + 1; in InitScriptInfo() local
810 aHiddenChg.push_back( nEnd ); in InitScriptInfo()
955 xub_StrLen nEnd = in InitScriptInfo() local
958 if( nEnd > rTxt.Len() ) in InitScriptInfo()
959 nEnd = rTxt.Len(); in InitScriptInfo()
967 nChg = nEnd; in InitScriptInfo()
[all …]
H A Dredlnitr.cxx217 if( nNew >= nEnd ) in _Seek()
239 nEnd = STRING_LEN; in _Seek()
243 rDoc.GetRedlineTbl()[ nAct ]->CalcStartEnd( nNdIdx, nStart, nEnd ); in _Seek()
245 if( nNew < nEnd ) in _Seek()
290 nEnd = STRING_LEN; in _Seek()
362 rDoc.GetRedlineTbl()[ nAct ]->CalcStartEnd( nNdIdx, nStart, nEnd ); in _GetNextRedln()
366 if( nEnd < nNext ) in _GetNextRedln()
367 nNext = nEnd; in _GetNextRedln()
396 xub_StrLen nOldEnd = nEnd; in CheckLine()
402 rDoc.GetRedlineTbl()[ nAct ]->CalcStartEnd( nNdIdx, nStart, nEnd ); in CheckLine()
[all …]
/trunk/main/sc/source/ui/docshell/
H A Dolinefun.cxx63 sal_Bool bColumns, SCCOLROW nStart, SCCOLROW nEnd ) in lcl_PaintWidthHeight() argument
76 nEndCol = static_cast<SCCOL>(nEnd); in lcl_PaintWidthHeight()
82 nEndRow = nEnd; in lcl_PaintWidthHeight()
364 SCCOLROW nStart, nEnd; in SelectLevel() local
365 pArray->GetRange( nStart, nEnd ); in SelectLevel()
375 static_cast<SCCOL>(nEnd), MAXROW, nTab, IDF_NONE, sal_False, in SelectLevel()
381 … pDoc->CopyToDocument( 0, nStart, nTab, MAXCOL, nEnd, nTab, IDF_NONE, sal_False, pUndoDoc ); in SelectLevel()
386 nStart, nEnd, nTab, //! start und end berechnen in SelectLevel()
437 lcl_PaintWidthHeight( rDocShell, nTab, bColumns, nStart, nEnd ); in SelectLevel()
468 SCCOLROW nEnd; in ShowMarkedOutlines() local
[all …]
/trunk/main/unotools/source/config/
H A Dconfigpathes.cxx89 sal_Int32 nStart,nEnd; in splitLastFromConfigurationPath() local
107 nEnd = nPos; in splitLastFromConfigurationPath()
108 nPos = _sInPath.lastIndexOf(chQuote,nEnd); in splitLastFromConfigurationPath()
114 nEnd = nPos + 1; in splitLastFromConfigurationPath()
115 nPos = _sInPath.lastIndexOf('[',nEnd); in splitLastFromConfigurationPath()
126 nStart = 0, nEnd = _sInPath.getLength(); in splitLastFromConfigurationPath()
133 nEnd = nPos+1; in splitLastFromConfigurationPath()
134 nPos = _sInPath.lastIndexOf('/',nEnd); in splitLastFromConfigurationPath()
139 nStart < nEnd && in splitLastFromConfigurationPath()
140 nEnd <= _sInPath.getLength() ); in splitLastFromConfigurationPath()
[all …]
/trunk/main/sc/source/ui/view/
H A Dcolrowba.cxx139 SCCOL nEnd = nStart; in SetEntrySize() local
140 while (nEnd<MAXCOL && rMark.IsColumnMarked(nEnd)) in SetEntrySize()
141 ++nEnd; in SetEntrySize()
142 if (!rMark.IsColumnMarked(nEnd)) in SetEntrySize()
143 --nEnd; in SetEntrySize()
145 pRanges[static_cast<size_t>(2*nRangeCnt+1)] = nEnd; in SetEntrySize()
147 nStart = nEnd+1; in SetEntrySize()
164 void ScColBar::HideEntries( SCCOLROW nStart, SCCOLROW nEnd ) in HideEntries() argument
168 nRange[1] = nEnd; in HideEntries()
306 SCROW nEnd = nStart; in SetEntrySize() local
[all …]
/trunk/main/sw/source/core/bastyp/
H A Dbparr.cxx54 DBG_ASSERT( !nCnt || (*(ppInf-1))->nEnd + 1 == (*ppInf)->nStart, in CheckIdx()
103 void BigPtrArray::ForEach( sal_uLong nStart, sal_uLong nEnd, in ForEach() argument
106 if( nEnd > nSize ) in ForEach()
107 nEnd = nSize; in ForEach()
109 if( nStart < nEnd ) in ForEach()
119 if( !(*fn)( *pElem++, pArgs ) || ++nStart >= nEnd ) in ForEach()
164 if( p->nStart <= pos && p->nEnd >= pos ) in Index2Block()
173 if( p->nStart <= pos && p->nEnd >= pos ) in Index2Block()
180 if( p->nStart <= pos && p->nEnd >= pos ) in Index2Block()
192 if( p->nStart <= pos && p->nEnd >= pos ) in Index2Block()
[all …]
/trunk/main/sw/source/core/edit/
H A Dednumber.cxx53 if( aRg.nEnd < aRg.nStart ) in Insert()
54 { aRg.nStart = aRg.nEnd; aRg.nEnd = rIdx1.GetIndex(); } in Insert()
61 if( ( pTmp = GetData()+ nPos )->nEnd < aRg.nEnd ) in Insert()
63 aRg.nEnd = pTmp->nEnd; in Insert()
77 if( ( pTmp = GetData()+( nPos-1 ))->nEnd == aRg.nStart in Insert()
78 || pTmp->nEnd+1 == aRg.nStart ) in Insert()
85 else if( pTmp->nStart <= aRg.nStart && aRg.nEnd <= pTmp->nEnd ) in Insert()
91 if( ( pTmp = GetData() + nPos )->nStart == aRg.nEnd || in Insert()
92 pTmp->nStart == aRg.nEnd+1 ) in Insert()
94 aRg.nEnd = pTmp->nEnd; in Insert()
[all …]
/trunk/main/sw/source/core/crsr/
H A Dfindattr.cxx169 xub_StrLen nStt, nEnd; member
173 : nWhich( rItem.Which() ), nStt( nStart ), nEnd( nAnyEnd ) in _SwSrchChrAttr()
322 ? ((rTmp.nEnd < nNdStart) || (nNdEnd < rTmp.nStt)) in lcl_IsAttributeIgnorable()
323 : ((rTmp.nEnd <= nNdStart) || (nNdEnd <= rTmp.nStt))); in lcl_IsAttributeIgnorable()
378 if( pArrPtr->nWhich && pArrPtr->nEnd <= aTmp.nStt ) in SetAttrFwd()
394 if( pArrPtr->nEnd <= aTmp.nStt ) in SetAttrFwd()
404 if( pCmp->nEnd < pArrPtr->nEnd ) // erweitern in SetAttrFwd()
405 pCmp->nEnd = pArrPtr->nEnd; in SetAttrFwd()
432 else if( pCmp->nEnd < aTmp.nEnd ) // erweitern ? in SetAttrFwd()
433 pCmp->nEnd = aTmp.nEnd; in SetAttrFwd()
[all …]
/trunk/main/sc/source/filter/starcalc/
H A Dscflt.cxx1761 SCROW nEnd; in LoadColAttr() local
1769 nEnd = 0; in LoadColAttr()
1774 nEnd = static_cast<SCROW>(pColData->Row); in LoadColAttr()
1775 if ((nStart <= nEnd) && (pColData->Value)) in LoadColAttr()
1795 pDoc->ApplyPatternAreaTab(Col, nStart, Col, nEnd, Tab, aScPattern); in LoadColAttr()
1798 nStart = nEnd + 1; in LoadColAttr()
1803 nEnd = 0; in LoadColAttr()
1808 nEnd = static_cast<SCROW>(pColData->Row); in LoadColAttr()
1809 if ((nStart <= nEnd) && (pColData->Value)) in LoadColAttr()
1815 pDoc->ApplyPatternAreaTab(Col, nStart, Col, nEnd, Tab, aScPattern); in LoadColAttr()
[all …]
/trunk/main/svl/source/items/
H A Ditempool.cxx153 nEnd(nEndWhich), in SfxItemPool()
159 pImp( new SfxItemPool_Impl( nStart, nEnd ) ), in SfxItemPool()
177 pImp->nVerEnd = nEnd; in SfxItemPool()
182 memset( ppPoolDefaults, 0, sizeof( SfxPoolItem* ) * (nEnd - nStart + 1)); in SfxItemPool()
214 nEnd(rPool.nEnd), in SfxItemPool()
220 pImp( new SfxItemPool_Impl( nStart, nEnd ) ), in SfxItemPool()
222 ppPoolDefaults(new SfxPoolItem* [ nEnd - nStart + 1]), in SfxItemPool()
239 pImp->nStoringEnd = nEnd; in SfxItemPool()
241 memset( ppPoolDefaults, 0, sizeof( SfxPoolItem* ) * (nEnd - nStart + 1)); in SfxItemPool()
246 SfxPoolItem **ppDefaults = new SfxPoolItem*[nEnd-nStart+1]; in SfxItemPool()
[all …]
/trunk/main/ucb/source/ucp/package/
H A Dpkguri.cxx137 sal_Int32 nEnd = aPureUri.lastIndexOf( '/' ); in init() local
138 if ( nEnd == PACKAGE_URL_SCHEME_LENGTH + 3 ) in init()
146 else if ( nEnd == ( aPureUri.getLength() - 1 ) ) in init()
159 aPureUri = aPureUri.copy( 0, nEnd ); in init()
163 nEnd = aPureUri.indexOf( '/', nStart ); in init()
164 if ( nEnd == -1 ) in init()
191 m_aPath = aPureUri.copy( nEnd + 1 ); in init()
209 OUString aNormPackage = aPureUri.copy( nStart, nEnd - nStart ); in init()
213 nStart, nEnd - nStart, aNormPackage ); in init()
215 nEnd + 1, in init()
[all …]
/trunk/main/ucb/source/ucp/hierarchy/
H A Dhierarchyuri.cxx151 sal_Int32 nEnd = m_aUri.indexOf( '/', nStart ); in init() local
154 if ( nEnd == nStart ) in init()
161 if ( nEnd == -1 ) in init()
164 nEnd = m_aUri.getLength(); in init()
168 m_aService = m_aUri.copy( nStart, nEnd - nStart ); in init()
170 nPos = nEnd; in init()
179 sal_Int32 nEnd = m_aUri.lastIndexOf( '/' ); in init() local
180 if ( ( nEnd > nPos ) && ( nEnd == ( m_aUri.getLength() - 1 ) ) ) in init()
181 m_aUri = m_aUri.copy( 0, nEnd ); in init()
/trunk/main/sw/source/ui/uiview/
H A Dviewtab.cxx109 const sal_uInt16 nEnd = sal_uInt16(nWidth - pCol->GetRight() + nDistance); in lcl_FillSvxColumn() local
111 SvxColumnDescription aColDesc(nStart, nEnd, sal_True); in lcl_FillSvxColumn()
139 DBG_ASSERT(rColItem[i+1].nStart >= rColItem[i].nEnd,"\201berlappende Spalten" ); in lcl_ConvertToCols()
141 sal_uInt16 nEnd = static_cast< sal_uInt16 >(rColItem[i].nEnd); in lcl_ConvertToCols() local
142 if(nStart < nEnd) in lcl_ConvertToCols()
143 nStart = nEnd; in lcl_ConvertToCols()
144 const sal_uInt16 nDiff = nStart - nEnd; in lcl_ConvertToCols()
147 sal_uInt16 nWidth = static_cast< sal_uInt16 >(rColItem[i].nEnd - rColItem[i].nStart); in lcl_ConvertToCols()
869 aTabCols[i] = rCol.nEnd + aTabCols.GetLeft(); in ExecTabWin()
976 long nColumnPos = aTabCols.GetRight() - rCol.nEnd ; in ExecTabWin()
[all …]

12345678910>>...18