/trunk/main/sw/source/core/edit/ |
H A D | edtab.cxx | 203 sal_uLong nStt = PCURCRSR->GetMark()->nNode.GetIndex(), in IsTextToTableAvailable() local 205 if( nStt > nEnd ) { sal_uLong n = nStt; nStt = nEnd; nEnd = n; } in IsTextToTableAvailable() 207 for( ; nStt <= nEnd; ++nStt ) in IsTextToTableAvailable() 208 if( !GetDoc()->GetNodes()[ nStt ]->IsTxtNode() ) in IsTextToTableAvailable()
|
H A D | acorrect.cxx | 125 sal_Bool SwAutoCorrDoc::Delete( xub_StrLen nStt, xub_StrLen nEnd ) in Delete() argument 128 SwPaM aSel( rNd, nStt, rNd, nEnd ); in Delete() 248 sal_Bool SwAutoCorrDoc::SetAttr( xub_StrLen nStt, xub_StrLen nEnd, sal_uInt16 nSlotId, in SetAttr() argument 252 SwPaM aPam( rNd, nStt, rNd, nEnd ); in SetAttr() 273 sal_Bool SwAutoCorrDoc::SetINetAttr( xub_StrLen nStt, xub_StrLen nEnd, const String& rURL ) in SetINetAttr() argument 276 SwPaM aPam( rNd, nStt, rNd, nEnd ); in SetINetAttr()
|
H A D | edattr.cxx | 138 xub_StrLen nStt = n == nSttNd ? nSttCnt : 0, in GetCurAttr() local 142 ((SwTxtNode*)pNd)->GetAttr( *pSet, nStt, nEnd, in GetCurAttr() 640 xub_StrLen nStt = pStt->nContent.GetIndex(), nEnd; in GetScalingOfSelectedText() local 648 nScaleWidth = pTNd->GetScalingOfSelectedText( nStt, nEnd ); in GetScalingOfSelectedText()
|
/trunk/main/sw/source/core/docnode/ |
H A D | nodes.cxx | 1587 return nStt < nSttIdx && nEnd >= nSttIdx && in TstIdx() 1588 nStt < nEndIdx && nEnd >= nEndIdx; in TstIdx() 1593 sal_uLong nStt = rStt.GetIndex(), nEnd = rEnd.GetIndex(); in CheckNodesRange() local 1594 if( TstIdx( nStt, nEnd, pEndOfContent->StartOfSectionIndex(), in CheckNodesRange() 2095 SwNodeIndex nStt( aInsPos, -1 ); in _CopyNodes() local 2098 nNodeCnt -= aInsPos.GetIndex() - nStt.GetIndex() -2; in _CopyNodes() 2104 nStt = aInsPos; in _CopyNodes() 2105 pTblNd->MakeFrms( &nStt ); in _CopyNodes() 2118 SwNodeIndex nStt( aInsPos, -1 ); in _CopyNodes() local 2122 nNodeCnt -= aInsPos.GetIndex() - nStt.GetIndex() -2; in _CopyNodes() [all …]
|
/trunk/main/svl/inc/svl/ |
H A D | svarray.hxx | 149 void nm::Insert( const nm *pI, sal_uInt16 nP, sal_uInt16 nStt, sal_uInt16 nE)\ 154 if( nStt < nE ) \ 155 Insert( (const ArrElem*)pI->pData+nStt, (sal_uInt16)nE-nStt, nP );\ 196 void _ForEach( sal_uInt16 nStt, sal_uInt16 nE, \ 304 void nm::_ForEach( sal_uInt16 nStt, sal_uInt16 nE, \ 307 if( nStt >= nE || nE > nA )\ 309 for( ; nStt < nE && (*fnCall)( *(const AE*)(pData+nStt), pArgs ); nStt++)\
|
/trunk/main/sw/source/core/text/ |
H A D | frminf.cxx | 161 SwTwips nStt, nNext; in GetCharPos() local 168 nStt = (aRect.*fnRect->fnGetLeft)(); in GetCharPos() 171 nStt = aLine.GetLineStart(); in GetCharPos() 174 return nStt - (pFrm->Frm().*fnRect->fnGetLeft)(); in GetCharPos() 186 return (( nNext + nStt ) / 2 ) - (pFrm->Frm().*fnRect->fnGetLeft)(); in GetCharPos()
|
H A D | frmcrsr.cxx | 1117 const xub_StrLen nStt = aLine.GetStart(); in PrepareVisualMove() local 1131 lcl_VisualMoveRecursion( *pLine, nStt, nPos, bForward, in PrepareVisualMove() 1144 pLine += nStt; in PrepareVisualMove() 1153 if ( nPos < nStt + nLen ) in PrepareVisualMove() 1160 if ( nTmpPos + 1 < nStt + nLen ) in PrepareVisualMove() 1164 nPos = nDefaultDir == UBIDI_RTL ? 0 : nStt + nLen; in PrepareVisualMove() 1174 nPos = nDefaultDir == UBIDI_RTL ? nStt + nLen : 0; in PrepareVisualMove()
|
/trunk/main/sw/source/core/tox/ |
H A D | tox.cxx | 249 const xub_StrLen nStt = *pTxtAttr->GetStart(); in GetText() local 250 aStr = pTxtAttr->GetpTxtNd()->GetExpandTxt( nStt, *pEndIdx-nStt ); in GetText() 843 xub_StrLen nStt ) const in SearchNextToken() 850 xub_StrLen nEnd = sPattern.Search( '>', nStt ); in SearchNextToken() 857 xub_StrLen nTextSeparatorFirst = sPattern.Search( TOX_STYLE_DELIMITER, nStt ); in SearchNextToken() 869 aResult = sPattern.Copy( nStt, nEnd - nStt ); in SearchNextToken()
|
H A D | txmsrt.cxx | 618 xub_StrLen nStt = nStartIndex; in GetText_Impl() local 627 nStt, in GetText_Impl() 628 STRING_NOTFOUND == nEndIndex ? STRING_LEN : nEndIndex - nStt); in GetText_Impl() 661 xub_StrLen nStt = nStartIndex; in FillText() local 669 pSrc->GetExpandTxt( rNd, &rInsPos, nStt, in FillText() 670 nEndIndex == STRING_LEN ? STRING_LEN : nEndIndex - nStt, in FillText()
|
/trunk/main/editeng/source/editeng/ |
H A D | edtspell.hxx | 154 virtual sal_Bool Delete( sal_uInt16 nStt, sal_uInt16 nEnd ); 159 virtual sal_Bool SetAttr( sal_uInt16 nStt, sal_uInt16 nEnd, sal_uInt16 nSlotId, SfxPoolItem& ); 160 virtual sal_Bool SetINetAttr( sal_uInt16 nStt, sal_uInt16 nEnd, const String& rURL ); 162 virtual sal_Bool HasSymbolChars( sal_uInt16 nStt, sal_uInt16 nEnd );
|
/trunk/main/sw/source/core/doc/ |
H A D | docedt.cxx | 96 sal_uInt32 nStt, nEnd; member 105 nStt = pStt->nNode.GetIndex() - nSttIdx; in _SaveRedline() 125 nStt = pStt->nNode.GetIndex() - nSttIdx; in _SaveRedline() 127 if( nStt == 0 ) in _SaveRedline() 145 pRedl->GetPoint()->nNode = nInsPos + nStt; in SetPos() 2334 xub_StrLen nStt = pStt->nContent.GetIndex(), in ReplaceRangeImpl() local 2361 nStt = pStt->nContent.GetIndex(); in ReplaceRangeImpl() 2371 pTxtNd->GetAttr( aSet, nStt+1, nStt+1 ); in ReplaceRangeImpl() 2481 nStt = nPtCnt; in ReplaceRangeImpl() 2493 else if( nStt < nEnd || sIns.Len() ) in ReplaceRangeImpl() [all …]
|
H A D | swserv.cxx | 215 xub_StrLen nStt = 0; in IsLinkInServer() local 229 nStt = pStt->nContent.GetIndex(); in IsLinkInServer() 247 nStt = 0, nEnd = USHRT_MAX; in IsLinkInServer() 270 ((SwBaseLink*)pLnk)->IsInRange( nSttNd, nEndNd, nStt, nEnd )) in IsLinkInServer()
|
/trunk/main/sw/source/core/crsr/ |
H A D | swcrsr.cxx | 76 nActPos = nStt; in _PercentHdl() 77 if( 0 != ( bBack = (nStt > nEnd )) ) in _PercentHdl() 79 sal_uLong n = nStt; nStt = nEnd; nEnd = n; in _PercentHdl() 81 ::StartProgress( STR_STATSTR_SEARCH, nStt, nEnd, 0 ); in _PercentHdl() 87 sal_uLong nStt, nEnd; in _PercentHdl() local 91 nStt = rPam.GetMark()->nContent.GetIndex(); in _PercentHdl() 97 nStt = rPam.GetMark()->nNode.GetIndex(); in _PercentHdl() 100 nActPos = nStt; in _PercentHdl() 101 if( 0 != ( bBack = (nStt > nEnd )) ) in _PercentHdl() 103 sal_uLong n = nStt; nStt = nEnd; nEnd = n; in _PercentHdl() [all …]
|
H A D | findtxt.cxx | 98 xub_StrLen nStt = 0; in lcl_CleanStr() local 103 nStt = nHintStart; in lcl_CleanStr() 109 nStt = nSoftHyphen; in lcl_CleanStr() 115 nStt = nSoftHyphen; in lcl_CleanStr() 122 const xub_StrLen nAkt = nStt - rArr.Count(); in lcl_CleanStr() 127 if ( pHt->HasDummyChar() && (nStt >= nStart) ) in lcl_CleanStr()
|
/trunk/main/sw/source/core/inc/ |
H A D | acorrect.hxx | 64 virtual sal_Bool Delete( xub_StrLen nStt, xub_StrLen nEnd ); 69 virtual sal_Bool SetAttr( xub_StrLen nStt, xub_StrLen nEnd, sal_uInt16 nSlotId, 72 virtual sal_Bool SetINetAttr( xub_StrLen nStt, xub_StrLen nEnd, const String& rURL );
|
/trunk/main/sw/source/filter/rtf/ |
H A D | rtftbl.cxx | 773 sal_uInt16 nStt = 0; in ReadTable() local 785 ++nStt; in ReadTable() 789 for( ; nStt < aBoxFmts.Count(); ++nStt ) in ReadTable() 792 aBoxFmts[ nStt ], in ReadTable() 795 m_nCurrentBox + nStt, 1 ); in ReadTable()
|
H A D | rtffld.cxx | 353 xub_StrLen nEnd, nStt = sParam.Search( '(' ), in lcl_ScanEquationField() local 355 if( STRING_NOTFOUND != nStt ) in lcl_ScanEquationField() 357 sParam.Erase( 0, nStt + 1 ) += aRFS.GetStr(); in lcl_ScanEquationField() 362 if( (nLen - nStt - 1 ) < nEnd ) in lcl_ScanEquationField() 363 aRFS.Erase( nEnd + 1 - (nLen - nStt - 1)); in lcl_ScanEquationField() 368 nLen - nStt - nEnd - 2 )); in lcl_ScanEquationField()
|
/trunk/main/sw/source/core/bastyp/ |
H A D | calc.cxx | 1089 xub_StrLen nStt = nCommandPos; in GetToken() local 1094 xub_StrLen nLen = nCommandPos - nStt; in GetToken() 1097 nNumberValue.PutString( sCommand.Copy( nStt, nLen )); in GetToken() 1105 xub_StrLen nStt = nCommandPos-1; in GetToken() local 1115 String aStr( sCommand.Copy( nStt, nCommandPos-nStt )); in GetToken() 1749 xub_StrLen nStt = 0; in GetDouble() local 1750 SwCalc::Str2Double( GetString(), nStt, nRet ); in GetDouble()
|
/trunk/main/editeng/source/misc/ |
H A D | svxacorr.cxx | 140 xub_StrLen nStt, xub_StrLen nEnd ) in lcl_IsUnsupportedUnicodeChar() argument 142 for( ; nStt < nEnd; ++nStt ) in lcl_IsUnsupportedUnicodeChar() 147 nCharType = rCC.getCharacterType( rTxt, nStt ); in lcl_IsUnsupportedUnicodeChar() 148 nChType = rCC.getType( rTxt, nStt ); in lcl_IsUnsupportedUnicodeChar() 150 short nScript = rCC.getScript( rTxt, nStt ); in lcl_IsUnsupportedUnicodeChar() 175 xub_StrLen nStt, xub_StrLen nEnd ) in lcl_IsSymbolChar() argument 177 for( ; nStt < nEnd; ++nStt ) in lcl_IsSymbolChar() 182 nCharType = rCC.getCharacterType( rTxt, nStt ); in lcl_IsSymbolChar() 183 nChType = rCC.getType( rTxt, nStt ); in lcl_IsSymbolChar() 186 rCC.getType( rTxt, nStt )) in lcl_IsSymbolChar()
|
/trunk/main/sw/source/ui/wrtsh/ |
H A D | wrtsh1.cxx | 205 xub_StrLen nPos = 0, nStt = 0; in InsertByWord() local 211 Insert( rStr.Copy( nStt, nPos - nStt )); in InsertByWord() 212 nStt = nPos; in InsertByWord() 215 if( nStt != nPos ) in InsertByWord() 216 Insert( rStr.Copy( nStt, nPos - nStt )); in InsertByWord()
|
/trunk/main/sw/source/filter/ascii/ |
H A D | ascatr.cxx | 61 SwASC_AttrIter( SwASCWriter& rWrt, const SwTxtNode& rNd, xub_StrLen nStt ); 80 xub_StrLen nStt ) in SwASC_AttrIter() argument 85 nAktSwPos = SearchNext( nStt + 1 ); in SwASC_AttrIter()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | wrtw8nds.cxx | 1674 const xub_StrLen nStt, in GetBookmarks() argument 1697 …const bool bIsStartOk = ( pMark->GetMarkStart().nNode == nNd ) && ( nBStart >= nStt ) && ( nBStart… in GetBookmarks() 1699 …const bool bIsEndOk = ( pMark->GetMarkEnd().nNode == nNd ) && ( nBEnd >= nStt ) && ( nBEnd <= nEnd… in GetBookmarks() 2657 sal_uLong nStt = pNodeIndex->GetIndex()+1, in OutWW6FlyFrmsInCntnt() local 2660 if( (nStt < nEnd) && !pDoc->GetNodes()[ nStt ]->IsNoTxtNode() ) in OutWW6FlyFrmsInCntnt() 2670 SaveData( nStt, nEnd ); in OutWW6FlyFrmsInCntnt() 2728 sal_uLong nStt = pNodeIndex ? pNodeIndex->GetIndex()+1 : 0; in OutputFlyFrame_Impl() local 2731 if( nStt >= nEnd ) // kein Bereich, also kein gueltiger Node in OutputFlyFrame_Impl() 2738 if ( pParTxtNode && !m_rWW8Export.pDoc->GetNodes()[ nStt ]->IsNoTxtNode() ) in OutputFlyFrame_Impl() 2751 m_rWW8Export.SaveData( nStt, nEnd ); in OutputFlyFrame_Impl() [all …]
|
/trunk/main/sw/source/filter/writer/ |
H A D | writer.cxx | 533 sal_uInt16 Writer::GetBookmarks(const SwCntntNode& rNd, xub_StrLen nStt, in GetBookmarks() argument 544 if( !nStt && nEnd == rNd.Len() ) in GetBookmarks() 556 (nCntnt = rBkmk.GetMarkPos().nContent.GetIndex() ) >= nStt && in GetBookmarks() 563 rBkmk.GetOtherMarkPos().nContent.GetIndex() ) >= nStt && in GetBookmarks()
|
/trunk/main/sw/inc/ |
H A D | ndarr.hxx | 150 void ForEach( sal_uLong nStt, sal_uLong nEnd, FnForEach_SwNodes fnForEach, void* pArgs = 0 ) in ForEach() argument 152 BigPtrArray::ForEach( nStt, nEnd, (FnForEach) fnForEach, pArgs ); in ForEach() 293 SwTableNode* UndoTableToText( sal_uLong nStt, sal_uLong nEnd,
|
/trunk/main/sw/source/core/fields/ |
H A D | ddefld.cxx | 65 virtual sal_Bool IsInRange( sal_uLong nSttNd, sal_uLong nEndNd, xub_StrLen nStt = 0, 206 xub_StrLen nStt, xub_StrLen nEnd ) const in IsInRange() argument 234 ( nNdPos != nSttNd || *pTFld->GetStart() >= nStt ) && in IsInRange()
|