| /AOO41X/main/editeng/source/misc/ |
| H A D | svxacorr.cxx | 459 xub_StrLen nSttPos, xub_StrLen nEndPos, in FnCptlSttWrd() argument 467 for( ; nSttPos < nEndPos; ++nSttPos ) in FnCptlSttWrd() 468 if( rCC.isLetterNumeric( rTxt, nSttPos )) in FnCptlSttWrd() 470 for( ; nSttPos < nEndPos; --nEndPos ) in FnCptlSttWrd() 475 if( nSttPos+2 < nEndPos && in FnCptlSttWrd() 476 IsUpperLetter( rCC.getCharacterType( rTxt, nSttPos )) && in FnCptlSttWrd() 477 IsUpperLetter( rCC.getCharacterType( rTxt, ++nSttPos )) && in FnCptlSttWrd() 479 IsLowerLetter( rCC.getCharacterType( rTxt, nSttPos +1 )) && in FnCptlSttWrd() 481 0x1 != rTxt.GetChar( nSttPos ) && 0x2 != rTxt.GetChar( nSttPos )) in FnCptlSttWrd() 484 String sWord( rTxt.Copy( nSttPos - 1, nEndPos - nSttPos + 1 )); in FnCptlSttWrd() [all …]
|
| /AOO41X/main/sw/source/core/crsr/ |
| H A D | findattr.cxx | 676 xub_StrLen nSttPos = Start(), nEndPos = End(); in CheckStack() local 683 if( bForward ? pArrPtr->nEnd <= nSttPos : pArrPtr->nStt >= nEndPos ) in CheckStack() 689 else if( bForward ? pArrPtr->nStt < nEndPos : pArrPtr->nEnd > nSttPos ) in CheckStack() 709 xub_StrLen nEndPos, nSttPos; in lcl_SearchForward() local 757 nSttPos = *pAttr->GetStart(); in lcl_SearchForward() 758 while( ++nPos < rHtArr.Count() && nSttPos == in lcl_SearchForward() 766 if( (nSttPos = rCmpArr.Start()) > (nEndPos = rCmpArr.End()) ) in lcl_SearchForward() 768 lcl_SetAttrPam( rPam, nSttPos, &nEndPos, sal_True ); in lcl_SearchForward() 773 (nSttPos = rCmpArr.Start()) > (nEndPos = rCmpArr.End()) ) in lcl_SearchForward() 775 lcl_SetAttrPam( rPam, nSttPos, &nEndPos, sal_True ); in lcl_SearchForward() [all …]
|
| H A D | crstrvl.cxx | 1047 sal_Bool SwCrsrShell::MakeOutlineSel( sal_uInt16 nSttPos, sal_uInt16 nEndPos, in MakeOutlineSel() argument 1058 if( nSttPos > nEndPos ) // sollte jemand das vertauscht haben? in MakeOutlineSel() 1061 sal_uInt16 nTmp = nSttPos; in MakeOutlineSel() 1062 nSttPos = nEndPos; in MakeOutlineSel() 1066 SwNode* pSttNd = rOutlNds[ nSttPos ]; in MakeOutlineSel()
|
| /AOO41X/main/sw/source/core/frmedt/ |
| H A D | tblsel.cxx | 251 sal_uInt16 nSttPos = rLines.GetPos( pLine ); in GetTblSel() local 252 ASSERT( USHRT_MAX != nSttPos, "Wo ist meine Zeile in der Tabelle?" ); in GetTblSel() 257 if ( nSttPos != USHRT_MAX && nEndPos != USHRT_MAX ) in GetTblSel() 259 if( nEndPos < nSttPos ) // vertauschen in GetTblSel() 261 sal_uInt16 nTmp = nSttPos; nSttPos = nEndPos; nEndPos = nTmp; in GetTblSel() 265 for( ; nSttPos <= nEndPos; ++nSttPos ) in GetTblSel() 267 pLine = rLines[ nSttPos ]; in GetTblSel() 1244 sal_uInt16 n, nSttPos = 0; in GetMergeSel() local 1261 if( bEmptyLine && nSttPos < n ) in GetMergeSel() 1267 for( sal_uInt16 i = nSttPos; i < n; ++i ) in GetMergeSel() [all …]
|
| /AOO41X/main/editeng/inc/editeng/ |
| H A D | svxacorr.hxx | 355 xub_StrLen nSttPos, xub_StrLen nEndPos, 358 xub_StrLen nSttPos, xub_StrLen nEndPos, 361 xub_StrLen nSttPos, xub_StrLen nEndPos, 364 xub_StrLen nSttPos, xub_StrLen nEndPos, 367 xub_StrLen nSttPos, xub_StrLen nEndPos, 370 xub_StrLen nSttPos, xub_StrLen nEndPos, 373 xub_StrLen nSttPos, xub_StrLen nEndPos,
|
| /AOO41X/main/sw/source/core/edit/ |
| H A D | autofmt.cxx | 223 void AutoCorrect( xub_StrLen nSttPos = 0 ); 698 SwTwips nSttPos = aPosArr[ 0 ]; in DoTable() local 706 if( nSttPos ) in DoTable() 1922 xub_StrLen nSttPos, nLastBlank = nPos; in AutoCorrect() local 1983 for( nSttPos = nPos; !bBreak && nPos < pTxt->Len(); ++nPos ) in AutoCorrect() 2048 sal_Unicode cBlank = nSttPos ? pTxt->GetChar(nSttPos - 1) : 0; in AutoCorrect() 2052 nSttPos, nPos )) in AutoCorrect() 2067 if( cBlank && cBlank != pTxt->GetChar(nSttPos - 1) ) in AutoCorrect() 2068 --nSttPos; in AutoCorrect() 2077 ? pAktTxtNd->GetLang( nSttPos ) in AutoCorrect() [all …]
|
| /AOO41X/main/sw/source/core/fields/ |
| H A D | cellfml.cxx | 147 xub_StrLen nSttPos = 0; in GetValue() local 149 while( nSttPos < rTxt.Len() && in GetValue() 150 ( ' ' == rTxt.GetChar( nSttPos ) || '\t' == rTxt.GetChar( nSttPos ) ) ) in GetValue() 151 ++nSttPos; in GetValue() 155 sal_Unicode const Char = rTxt.GetChar(nSttPos); in GetValue() 156 if ( nSttPos < rTxt.Len() && in GetValue() 160 static_cast<SwTxtFld*>( pTxtNd->GetTxtAttrForCharAt( nSttPos, RES_TXTATR_FIELD ) ); in GetValue() 204 else if ( nSttPos < rTxt.Len() in GetValue() 209 pTxtNd->GetTxtAttrAt( nSttPos, RES_TXTATR_INPUTFIELD, SwTxtNode::DEFAULT ) ); in GetValue() 220 String sTxt( rTxt.Copy( nSttPos ) ); in GetValue()
|
| H A D | reffld.cxx | 101 const SwTxtNode& rBehindNd, sal_uInt16 nSttPos ) in IsFrameBehind() argument 106 while( pFrm && !pFrm->IsInside( nSttPos ) ) in IsFrameBehind()
|
| /AOO41X/main/sw/source/core/doc/ |
| H A D | docredln.cxx | 2792 sal_uInt16 SwRedlineTbl::FindNextOfSeqNo( sal_uInt16 nSttPos, sal_uInt16 nLookahead ) const in FindNextOfSeqNo() argument 2794 return nSttPos + 1 < _SwRedlineTbl::Count() in FindNextOfSeqNo() 2795 ? FindNextSeqNo( _SwRedlineTbl::GetObject( nSttPos ) in FindNextOfSeqNo() 2796 ->GetSeqNo(), nSttPos+1, nLookahead ) in FindNextOfSeqNo() 2800 sal_uInt16 SwRedlineTbl::FindPrevOfSeqNo( sal_uInt16 nSttPos, sal_uInt16 nLookahead ) const in FindPrevOfSeqNo() argument 2802 return nSttPos ? FindPrevSeqNo( _SwRedlineTbl::GetObject( in FindPrevOfSeqNo() 2803 nSttPos )->GetSeqNo(), in FindPrevOfSeqNo() 2804 nSttPos-1, nLookahead ) in FindPrevOfSeqNo() 2808 sal_uInt16 SwRedlineTbl::FindNextSeqNo( sal_uInt16 nSeqNo, sal_uInt16 nSttPos, in FindNextSeqNo() argument 2812 if( nSeqNo && nSttPos < _SwRedlineTbl::Count() ) in FindNextSeqNo() [all …]
|
| H A D | docnum.cxx | 180 sal_uInt16 nSttPos, nEndPos; in OutlineUpDown() local 182 if( !rOutlNds.Seek_Entry( pSttNd, &nSttPos ) && in OutlineUpDown() 183 !nSttPos-- ) in OutlineUpDown() 340 for (n = nSttPos; n < nEndPos; n++) in OutlineUpDown() 380 n = nSttPos; in OutlineUpDown()
|
| H A D | docfld.cxx | 77 const SwTxtNode& rBehindNd, sal_uInt16 nSttPos );
|
| /AOO41X/main/sw/inc/ |
| H A D | docary.hxx | 99 sal_uInt16 FindNextOfSeqNo( sal_uInt16 nSttPos, sal_uInt16 nLookahead = 20 ) const; 100 sal_uInt16 FindPrevOfSeqNo( sal_uInt16 nSttPos, sal_uInt16 nLookahead = 20 ) const; 101 sal_uInt16 FindNextSeqNo( sal_uInt16 nSeqNo, sal_uInt16 nSttPos, 103 sal_uInt16 FindPrevSeqNo( sal_uInt16 nSeqNo, sal_uInt16 nSttPos,
|
| H A D | crsrsh.hxx | 649 sal_Bool MakeOutlineSel( sal_uInt16 nSttPos, sal_uInt16 nEndPos,
|
| /AOO41X/main/sw/source/ui/dbui/ |
| H A D | dbinsdlg.cxx | 907 sal_uInt16 nSttPos = 0, nFndPos; in lcl_InsTextInArr() local 908 while( STRING_NOTFOUND != ( nFndPos = rTxt.Search( '\x0A', nSttPos )) ) in lcl_InsTextInArr() 912 pNew = new _DB_Column( rTxt.Copy( nSttPos, nFndPos -1 ) ); in lcl_InsTextInArr() 917 nSttPos = nFndPos + 1; in lcl_InsTextInArr() 919 if( nSttPos < rTxt.Len() ) in lcl_InsTextInArr() 921 pNew = new _DB_Column( rTxt.Copy( nSttPos ) ); in lcl_InsTextInArr() 937 sal_uInt16 nFndPos, nEndPos, nSttPos = 0; in SplitTextToColArr() local 939 while( STRING_NOTFOUND != ( nFndPos = sTxt.Search( cDBFldStart, nSttPos ))) in SplitTextToColArr() 941 nSttPos = nFndPos + 1; in SplitTextToColArr() 942 if( STRING_NOTFOUND != ( nEndPos = sTxt.Search( cDBFldEnd, nSttPos+1 ))) in SplitTextToColArr() [all …]
|
| /AOO41X/main/sw/source/core/bastyp/ |
| H A D | calc.cxx | 886 nSttPos = nFndPos; in GetToken() local 895 aVarName += sCommand.Copy( nSttPos, in GetToken() 896 nFndPos - nSttPos - 1 ); in GetToken() 897 nSttPos = ++nFndPos; in GetToken() 906 if( nSttPos != nFndPos ) in GetToken() 907 aVarName += sCommand.Copy( nSttPos, in GetToken() 908 nFndPos - nSttPos ); in GetToken()
|
| /AOO41X/main/sw/source/ui/envelp/ |
| H A D | envimg.cxx | 70 xub_StrLen nSttPos = 0, nTokenCount = sSenderToken.GetTokenCount(';'); in MakeSender() local 74 String sToken = sSenderToken.GetToken( 0, ';', nSttPos ); in MakeSender()
|
| /AOO41X/main/sw/source/core/undo/ |
| H A D | untbl.cxx | 2527 sal_uLong nSttPos = pEntry->nBoxIdx + pEntry->nOffset; in UndoImpl() local 2528 SwStartNode* pSNd = rDoc.GetNodes()[ nSttPos ]->StartOfSectionNode(); in UndoImpl() 2532 SwTableBox& rBox = *pTblNd->GetTable().GetTblBox( nSttPos ); in UndoImpl() 2678 sal_uLong nSttPos = pEntry->nBoxIdx + pEntry->nOffset; in RedoImpl() local 2679 SwStartNode* pSNd = rDoc.GetNodes()[ nSttPos ]->StartOfSectionNode(); in RedoImpl() 2683 SwTableBox& rBox = *pTblNd->GetTable().GetTblBox( nSttPos ); in RedoImpl()
|
| /AOO41X/main/sw/source/ui/index/ |
| H A D | cnttab.cxx | 4528 sal_uInt16 nSttPos = 0; in ReadEntries() local 4529 pToInsert->sSearch = sLine.GetToken(0, ';', nSttPos ); in ReadEntries() 4530 pToInsert->sAlternative = sLine.GetToken(0, ';', nSttPos ); in ReadEntries() 4531 pToInsert->sPrimKey = sLine.GetToken(0, ';', nSttPos ); in ReadEntries() 4532 pToInsert->sSecKey = sLine.GetToken(0, ';', nSttPos ); in ReadEntries() 4534 String sStr = sLine.GetToken(0, ';', nSttPos ); in ReadEntries() 4537 sStr = sLine.GetToken(0, ';', nSttPos ); in ReadEntries()
|
| /AOO41X/main/sw/source/core/docnode/ |
| H A D | nodes.cxx | 755 sal_uLong nSttPos = pSttNd->GetIndex(); in _MoveNodes() local 758 SwStartNode* pTmpSttNd = new SwStartNode( *this, nSttPos+1 ); in _MoveNodes() 761 RemoveNode( nSttPos, 1, sal_False ); // SttNode loeschen in _MoveNodes()
|
| H A D | ndtbl.cxx | 450 sal_uInt16 nSttPos = (*pColArr)[ 0 ]; in InsertTable() local 456 … pTableFmt->SetFmtAttr( SvxLRSpaceItem( nSttPos, nFrmWidth - nLastPos, 0, 0, RES_LR_SPACE ) ); in InsertTable() 458 nWidth = nLastPos - nSttPos; in InsertTable()
|
| /AOO41X/main/sw/source/core/tox/ |
| H A D | txmsrt.cxx | 54 const SwTxtNode& rBehindNd, xub_StrLen nSttPos );
|