/trunk/main/sw/source/core/doc/ |
H A D | SwStyleNameMapper.cxx | 682 sal_uInt16 nStt = 0; in getNameFromId() local 719 nStt = RES_POOLCOLL_DOC_BEGIN; in getNameFromId() 745 nStt = RES_POOLFRM_BEGIN; in getNameFromId() 752 nStt = RES_POOLPAGE_BEGIN; in getNameFromId() 759 nStt = RES_POOLNUMRULE_BEGIN; in getNameFromId() 767 sal_uInt16 nStt = 0; in fillNameFromId() local 830 nStt = RES_POOLFRM_BEGIN; in fillNameFromId() 837 nStt = RES_POOLPAGE_BEGIN; in fillNameFromId() 844 nStt = RES_POOLNUMRULE_BEGIN; in fillNameFromId() 892 while( nStt < nEnd ) in NewUINameArray() [all …]
|
H A D | doccomp.cxx | 97 sal_uLong& nStt, sal_uLong& nEnd, 881 sal_uLong& nStt, sal_uLong& nEnd, 1177 xub_StrLen nStt; in ChangesInLine() local 1180 for( nStt = 0, nEnd = Min( nDEnd, nSEnd ); nStt < nEnd; ++nStt ) in ChangesInLine() 1182 rSrcNd.GetTxt().GetChar( nStt ) ) in ChangesInLine() 1185 while( nStt < nDEnd && nStt < nSEnd ) in ChangesInLine() 1203 if( nStt != nDEnd ) in ChangesInLine() 1210 pTmp->GetMark()->nContent = nStt; in ChangesInLine() 1213 if( nStt != nSEnd ) in ChangesInLine() 1217 SwPaM aCpyPam( rSrcNd, nStt ); in ChangesInLine() [all …]
|
H A D | docnum.cxx | 1154 pTxtNd->SetAttrListRestartValue( nStt ); in SetNodeNumStart() 1407 for (sal_uLong n = nStt; n <= nEnd; n++) in MakeUniqueNumRules() 1486 sal_uLong nStt = rPam.GetPoint()->nNode.GetIndex(), in DelNumRules() local 1488 if( nStt > nEnd ) in DelNumRules() 1490 sal_uLong nTmp = nStt; nStt = nEnd; nEnd = nTmp; in DelNumRules() 1506 for( ; nStt <= nEnd; ++nStt ) in DelNumRules() 1508 SwTxtNode* pTNd = GetNodes()[ nStt ]->GetTxtNode(); in DelNumRules() 1815 sal_uLong nStt = rPam.GetPoint()->nNode.GetIndex(), in NumUpDown() local 1817 if( nStt > nEnd ) in NumUpDown() 1819 sal_uLong nTmp = nStt; nStt = nEnd; nEnd = nTmp; in NumUpDown() [all …]
|
H A D | tblrwcl.cxx | 1442 rLines.Remove( nStt, nEnd - nStt ); in lcl_CpyLines() 1455 rBoxes.Remove( nStt, nEnd - nStt ); in lcl_CpyBoxes() 1542 nEnd = nStt+1; in lcl_Merge_MoveBox() 1729 nEnd = nStt+1; in lcl_Merge_MoveLine() 2530 while( nStt < nPos ) in lcl_GetDistance() 3036 if( nBoxStt + COLFUZZY < nStt ) in _CheckBoxInRange() 3038 if( nBoxEnd > nStt + COLFUZZY ) in _CheckBoxInRange() 4421 sal_uInt16 nStt, nEnd; in SetRowHeight() local 4423 nStt = 0, nEnd = nBaseLinePos; in SetRowHeight() 4445 nStt = nEnd - 1; in SetRowHeight() [all …]
|
/trunk/main/sw/source/core/txtnode/ |
H A D | txtedt.cxx | 407 xub_StrLen nStt = rIdx.GetIndex(); in RstTxtAttr() local 408 xub_StrLen nEnd = nStt + nLen; in RstTxtAttr() 433 xub_StrLen nMax = nStt; in RstTxtAttr() 591 *pAttrEnd = nStt; in RstTxtAttr() 612 *pAttrEnd = nStt; in RstTxtAttr() 1662 xub_StrLen nStt, xub_StrLen nEnd, in TransliterateText() argument 1729 … String sChgd( rTrans.transliterate( GetTxt(), GetLang( nStt ), nStt, nLen, &aOffsets )); in TransliterateText() 1759 GetTxt(), nStt, in TransliterateText() 1766 if (nCurrentEnd <= nStt) in TransliterateText() 1874 nStt = nEndPos; in TransliterateText() [all …]
|
H A D | txatritr.cxx | 45 SwScriptIterator::SwScriptIterator( const String& rStr, xub_StrLen nStt, sal_Bool bFrwrd ) in SwScriptIterator() argument 53 if ( ! bFrwrd && nStt ) in SwScriptIterator() 54 --nStt; in SwScriptIterator() 56 xub_StrLen nPos = nStt; in SwScriptIterator() 66 nStt = --nPos; in SwScriptIterator() 107 xub_StrLen nStt, in SwTxtAttrIterator() argument 109 : aSIter( rTNd.GetTxt(), nStt ), rTxtNd( rTNd ), in SwTxtAttrIterator() 110 pParaItem( 0 ), nChgPos( nStt ), nAttrPos( 0 ), nWhichId( nWhchId ), in SwTxtAttrIterator() 198 xub_StrLen nStt = nChgPos; in SearchNextChg() local 218 if( nHtStt < nStt && ( !pEnd || *pEnd <= nStt )) in SearchNextChg() [all …]
|
H A D | thints.cxx | 1000 xub_StrLen const nStt, in MakeTxtAttr() argument 1089 pNew = new SwTxtFtn( (SwFmtFtn&)rNew, nStt ); in MakeTxtAttr() 1095 pNew = nStt == nEnd in MakeTxtAttr() 1096 ? new SwTxtRefMark( (SwFmtRefMark&)rNew, nStt ) in MakeTxtAttr() 1112 pNew = new SwTxtAttrEnd( rNew, nStt, nEnd ); in MakeTxtAttr() 1781 xub_StrLen nFndPos = nStt, nEndPos = nEnd; in DelSoftHyph() 1868 const xub_StrLen nStt, in SetAttr() argument 1880 if ( !nStt && (nEnd == m_Text.Len()) && in SetAttr() 1947 SwIndex aIndex( this, nStt ); in SetAttr() 2139 if( ( nAttrStart < nStt && in GetAttr() [all …]
|
H A D | atrftn.cxx | 482 sal_uInt16 n, nStt = 0, nFtnCnt = rDoc.GetFtnIdxs().Count(); in SetUniqueSeqRefNo() local 504 for( ; nStt < aArr.Count(); ++nStt ) in SetUniqueSeqRefNo() 506 if ( nStt != aArr[ nStt ] ) in SetUniqueSeqRefNo() 508 pTxtFtn->m_nSeqNo = nStt; in SetUniqueSeqRefNo() 526 pTxtFtn->m_nSeqNo = nStt++; in SetUniqueSeqRefNo()
|
/trunk/main/sw/source/core/crsr/ |
H A D | findattr.cxx | 169 xub_StrLen nStt, nEnd; member 400 else if( pArrPtr->nStt <= aTmp.nStt ) in SetAttrFwd() 458 if( aTmp.nStt <= pCmp->nStt ) in SetAttrFwd() 459 pCmp->nStt = aTmp.nEnd; in SetAttrFwd() 461 pCmp->nEnd = aTmp.nStt; in SetAttrFwd() 565 if( pCmp->nStt > pArrPtr->nStt ) // erweitern in SetAttrBwd() 566 pCmp->nStt = pArrPtr->nStt; in SetAttrBwd() 592 else if( pCmp->nStt > aTmp.nStt ) // erweitern ? in SetAttrBwd() 593 pCmp->nStt = aTmp.nStt; in SetAttrBwd() 610 if( pCmp->nStt < aTmp.nStt ) in SetAttrBwd() [all …]
|
H A D | pam.cxx | 262 if( nStt < nEndIdx && nEnd >= nEndIdx ) in lcl_TstIdx() 279 const SwNode *pTmp, *pNd = rNds[ nStt ]; in lcl_ChkOneRange() 295 return nSttIdx <= nStt && nStt <= nEndIdx && in lcl_ChkOneRange() 304 sal_uLong nStt = rStt.GetIndex(), nEnd = rEnd.GetIndex(); in CheckNodesRange() local 308 eSec = lcl_TstIdx( nStt, nEnd, rNds.GetEndOfAutotext() ); in CheckNodesRange() 311 rNds.GetEndOfAutotext(), nStt, nEnd ); in CheckNodesRange() 313 eSec = lcl_TstIdx( nStt, nEnd, rNds.GetEndOfPostIts() ); in CheckNodesRange() 316 rNds.GetEndOfPostIts(), nStt, nEnd ); in CheckNodesRange() 318 eSec = lcl_TstIdx( nStt, nEnd, rNds.GetEndOfInserts() ); in CheckNodesRange() 321 rNds.GetEndOfInserts(), nStt, nEnd ); in CheckNodesRange() [all …]
|
/trunk/main/sw/source/core/edit/ |
H A D | ednumber.cxx | 181 if( nStt > nEnd ) in SelectionHasNumber() 183 sal_uInt32 nTmp = nStt; nStt = nEnd; nEnd = nTmp; in SelectionHasNumber() 185 for (sal_uInt32 nPos = nStt; nPos<=nEnd; nPos++) { in SelectionHasNumber() 227 if( nStt > nEnd ) in SelectionHasBullet() 229 sal_uInt32 nTmp = nStt; nStt = nEnd; nEnd = nTmp; in SelectionHasBullet() 231 for (sal_uInt32 nPos = nStt; nPos<=nEnd; nPos++) { in SelectionHasBullet() 487 sal_uLong nStt = aPos.nNode.GetIndex(), nIdx = nStt - 1; in MoveNumParas() local 493 nOffset = nIdx - nStt; in MoveNumParas() 502 sal_uLong nStt = aCrsr.GetPoint()->nNode.GetIndex(), nIdx = nStt+1; in MoveNumParas() local 526 nOffset = nIdx - nStt; in MoveNumParas() [all …]
|
H A D | edfmt.cxx | 86 xub_StrLen nStt, nEnd; in FillByEx() local 93 nStt = pPtPos->nContent.GetIndex(); in FillByEx() 94 if( nStt < pMkPos->nContent.GetIndex() ) in FillByEx() 98 nEnd = nStt; in FillByEx() 99 nStt = pMkPos->nContent.GetIndex(); in FillByEx() 104 nStt = pMkPos->nContent.GetIndex(); in FillByEx() 107 nEnd = nStt; in FillByEx() 108 nStt = 0; in FillByEx() 115 nStt = nEnd = pPam->GetPoint()->nContent.GetIndex(); in FillByEx() 119 ((SwTxtNode*)pCNd)->GetAttr( aSet, nStt, nEnd ); in FillByEx()
|
/trunk/main/sfx2/source/bastyp/ |
H A D | mieclip.cxx | 47 sal_Int32 nStt = -1, nEnd = -1; in IsValid() local 63 nStt = sLine.Erase( 0, nIndex ).ToInt32(); in IsValid() 69 if( nStt == -1 ) in IsValid() 70 nStt = nStartFragment; in IsValid() 81 if( nEnd >= 0 && nStt >= 0 && in IsValid() 82 ( sBaseURL.Len() || rStream.Tell() >= (sal_uInt32)nStt )) in IsValid() 92 rStream.Seek( nStt ); in IsValid() 94 pStrm = new SvCacheStream( ( nEnd - nStt < 0x10000l in IsValid() 95 ? nEnd - nStt + 32 in IsValid() 98 pStrm->SetStreamSize( nEnd - nStt + 1L ); in IsValid()
|
/trunk/main/sw/source/ui/dialog/ |
H A D | ascfldlg.cxx | 94 sal_uInt16 nEnd, nStt = GetExtraData().Search( rFindNm ); in SwAsciiFilterDlg() local 95 if( STRING_NOTFOUND != nStt ) in SwAsciiFilterDlg() 97 nStt += nDialogExtraDataLen; in SwAsciiFilterDlg() 98 nEnd = GetExtraData().Search( cDialogExtraDataClose, nStt ); in SwAsciiFilterDlg() 101 aOpt.ReadUserData( GetExtraData().Copy( nStt, nEnd - nStt )); in SwAsciiFilterDlg() 102 nStt -= nDialogExtraDataLen; in SwAsciiFilterDlg() 103 GetExtraData().Erase( nStt, nEnd - nStt + 1 ); in SwAsciiFilterDlg() 334 sal_uInt16 nEnd, nStt = GetExtraData().Search( rFindNm ); in FillOptions() local 335 if( STRING_NOTFOUND != nStt ) in FillOptions() 339 nStt + nDialogExtraDataLen ); in FillOptions() [all …]
|
/trunk/main/sw/source/core/fields/ |
H A D | cellfml.cxx | 625 nStt = sFormel.Search( '<', nFml ); in ScanString() 626 if( STRING_NOTFOUND != nStt ) in ScanString() 628 while( STRING_NOTFOUND != nStt && in ScanString() 631 nStt = sFormel.Search( '<', nStt + 1 ); in ScanString() 633 if( STRING_NOTFOUND != nStt ) in ScanString() 634 nEnd = sFormel.Search( '>', nStt+1 ); in ScanString() 655 String sTblNm( sFormel.Copy( nStt, nEnd - nStt )); in ScanString() 661 sTblNm.Erase( nTrenner - nStt ); in ScanString() 667 nStt = nTrenner; in ScanString() 684 String sBox( sFormel.Copy( nStt, nEnd - nStt + 1 )); in ScanString() [all …]
|
H A D | reffld.cxx | 285 sal_uInt16 nStt = USHRT_MAX; in UpdateField() local 308 if( nStt + 1 < nEnd ) in UpdateField() 309 nEnd = nStt + 1; in UpdateField() 310 nStt = 0; in UpdateField() 319 ++nStt; in UpdateField() 324 if( nStt + 1 < nEnd ) in UpdateField() 325 nEnd = nStt + 1; in UpdateField() 329 nStt = 0; in UpdateField() 363 if( nStt != nEnd ) // ein Bereich? in UpdateField() 365 sTxt = pTxtNd->GetExpandTxt( nStt, nEnd - nStt ); in UpdateField() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | porlay.cxx | 382 while ( nStt < nEnd ) in lcl_HasOnlyBlanks() 1886 if( !IsKashidaLine(nStt)) in KashidaJustify() 1894 if ( nStt <= GetKashida( nCntKash ) ) in KashidaJustify() 1900 const xub_StrLen nEnd = nStt + nLen; in KashidaJustify() 1978 sal_Int32 nIdx = nStt; in IsArabicText() 1979 const xub_StrLen nEnd = nStt + nLen; in IsArabicText() 2048 if ( nStt <= GetKashida( nCntKash ) ) in MarkOrClearKashidaInvalid() 2054 const xub_StrLen nEnd = nStt + nLen; in MarkOrClearKashidaInvalid() 2103 const xub_StrLen nEnd = nStt + nLen; in GetKashidaPositions() 2121 aNoKashidaLine.push_back( nStt ); in SetNoKashidaLine() [all …]
|
H A D | itratr.cxx | 486 SwNode *pNd = rNodes[nStt]; in lcl_MinMaxNode() 850 if ( nStt == nEnd ) in GetScalingOfSelectedText() 857 aIter.SeekAndChgAttrIter( nStt, pOut ); in GetScalingOfSelectedText() 864 if ( nStt == aBound.startPos ) in GetScalingOfSelectedText() 871 nStt = (xub_StrLen)aBound.startPos; in GetScalingOfSelectedText() 874 if ( nStt == nEnd ) in GetScalingOfSelectedText() 889 SwTxtAttrEnd aAttr( aItem, nStt, nEnd ); in GetScalingOfSelectedText() 893 xub_StrLen nIdx = nStt; in GetScalingOfSelectedText() 1007 if ( pTmpFrm->GetOfst() <= nStt && in GetScalingOfSelectedText() 1021 aLine.CharToLine( nStt ); in GetScalingOfSelectedText() [all …]
|
/trunk/main/sw/source/core/inc/ |
H A D | scriptinfo.hxx | 117 …bool MarkOrClearKashidaInvalid( xub_StrLen nStt, xub_StrLen nLen, bool bMark, xub_StrLen nMarkCoun… 226 const xub_StrLen nStt, const xub_StrLen nEnd, 268 xub_StrLen nStt, xub_StrLen nLen, 273 …inline void ClearKashidaInvalid ( xub_StrLen nStt, xub_StrLen nLen ) { MarkOrClearKashidaInvalid( … in ClearKashidaInvalid() argument 283 inline bool MarkKashidasInvalid ( xub_StrLen nCnt, xub_StrLen nStt, xub_StrLen nLen ) in MarkKashidasInvalid() argument 284 { return MarkOrClearKashidaInvalid( nStt, nLen, true, nCnt ); } in MarkKashidasInvalid() 292 sal_uInt16 GetKashidaPositions ( xub_StrLen nStt, xub_StrLen nLen, 302 void SetNoKashidaLine ( xub_StrLen nStt, xub_StrLen nLen ); 308 void ClearNoKashidaLine ( xub_StrLen nStt, xub_StrLen nLen ); 319 static sal_Bool IsArabicText( const XubString& rTxt, xub_StrLen nStt, xub_StrLen nLen );
|
/trunk/main/sw/source/filter/html/ |
H A D | htmlfly.cxx | 212 const SwNode* pNd = pDoc->GetNodes()[ nStt ]; in SV_IMPL_OP_PTRARR_SORT() 258 if( nStt==nEnd-1 && !pTxtNd->Len() ) in SV_IMPL_OP_PTRARR_SORT() 269 bEmpty = (nIdx != nStt) && (nIdx != nStt-1); in SV_IMPL_OP_PTRARR_SORT() 270 if( !bEmpty || nIdx > nStt ) in SV_IMPL_OP_PTRARR_SORT() 290 else if( pDoc->GetNodes()[nStt+1]->IsTableNode() ) in SV_IMPL_OP_PTRARR_SORT() 293 pDoc->GetNodes()[nStt+1]->GetTableNode(); in SV_IMPL_OP_PTRARR_SORT() 1328 SwNode *pNd = rHTMLWrt.pDoc->GetNodes()[ nStt ]; in OutHTML_FrmFmtTableNode() 1428 HTMLSaveData aSaveData( rHTMLWrt, nStt+1, in OutHTML_FrmFmtAsMulticol() 1511 rHTMLWrt.OutFlyFrm( nStt, 0, HTML_POS_ANY ); in OutHTML_FrmFmtAsDivOrSpan() 1519 HTMLSaveData aSaveData( rHTMLWrt, nStt+1, in OutHTML_FrmFmtAsDivOrSpan() [all …]
|
/trunk/main/i18npool/source/search/ |
H A D | textsearch.cxx | 882 sal_Int32 nStt, nEnd; in ApproxSrchFrwrd() local 895 if( nStt < nEnd && in ApproxSrchFrwrd() 896 pWLD->WLD( aWTemp.getStr() + nStt, nEnd - nStt ) <= nLimit ) in ApproxSrchFrwrd() 900 aRet.startOffset[ 0 ] = nStt; in ApproxSrchFrwrd() 906 nStt = nEnd - 1; in ApproxSrchFrwrd() 907 aWBnd = xBreak->nextWord( aWTemp, nStt, aSrchPara.Locale, in ApproxSrchFrwrd() 929 sal_Int32 nStt, nEnd; in ApproxSrchBkwrd() local 942 if( nStt < nEnd && in ApproxSrchBkwrd() 943 pWLD->WLD( aWTemp.getStr() + nStt, nEnd - nStt ) <= nLimit ) in ApproxSrchBkwrd() 949 aRet.endOffset[ 0 ] = nStt; in ApproxSrchBkwrd() [all …]
|
/trunk/main/sw/source/core/docnode/ |
H A D | node2lay.cxx | 60 void RestoreUpperFrms( SwNodes& rNds, sal_uLong nStt, sal_uLong nEnd ); 344 void SwNode2LayImpl::RestoreUpperFrms( SwNodes& rNds, sal_uLong nStt, sal_uLong nEnd ) in RestoreUpperFrms() argument 350 for( ; nStt < nEnd; ++nStt ) in RestoreUpperFrms() 355 if( (pNd = rNds[nStt])->IsCntntNode() ) in RestoreUpperFrms() 389 nStt = pNd->EndOfSectionIndex(); in RestoreUpperFrms() 397 ::_InsertCnt( pUp, pDoc, pNd->GetIndex(), sal_False, nStt+1, pNxt ); in RestoreUpperFrms() 440 void SwNode2Layout::RestoreUpperFrms( SwNodes& rNds, sal_uLong nStt, sal_uLong nEnd ) in RestoreUpperFrms() argument 443 pImpl->RestoreUpperFrms( rNds, nStt, nEnd ); in RestoreUpperFrms()
|
/trunk/main/editeng/source/editeng/ |
H A D | edtspell.cxx | 557 sal_Bool EdtAutoCorrDoc::Delete( sal_uInt16 nStt, sal_uInt16 nEnd ) in Delete() argument 559 EditSelection aSel( EditPaM( pCurNode, nStt ), EditPaM( pCurNode, nEnd ) ); in Delete() 562 nCursor -= ( nEnd-nStt ); in Delete() 608 sal_Bool EdtAutoCorrDoc::SetAttr( sal_uInt16 nStt, sal_uInt16 nEnd, in SetAttr() argument 626 EditSelection aSel( EditPaM( pCurNode, nStt ), EditPaM( pCurNode, nEnd ) ); in SetAttr() 634 sal_Bool EdtAutoCorrDoc::SetINetAttr( sal_uInt16 nStt, sal_uInt16 nEnd, in SetINetAttr() argument 638 EditSelection aSel( EditPaM( pCurNode, nStt ), EditPaM( pCurNode, nEnd ) ); in SetINetAttr() 642 nCursor -= ( nEnd-nStt ); in SetINetAttr() 652 sal_Bool EdtAutoCorrDoc::HasSymbolChars( sal_uInt16 nStt, sal_uInt16 nEnd ) in HasSymbolChars() argument 654 sal_uInt16 nScriptType = pImpEE->GetScriptType( EditPaM( pCurNode, nStt ) ); in HasSymbolChars() [all …]
|
/trunk/main/sw/source/ui/shells/ |
H A D | langhelper.cxx | 550 xub_StrLen nStt = 0; in GetTextForLanguageGuessing() local 553 nStt = nEnd > 100 ? nEnd - 100 : 0; in GetTextForLanguageGuessing() 556 aText = aText.Copy( nStt, nEnd - nStt ); in GetTextForLanguageGuessing() 570 xub_StrLen nStt = 0; in GetTextForLanguageGuessing() local 573 nStt = nEnd > 100 ? nEnd - 100 : 0; in GetTextForLanguageGuessing() 576 aText = aText.Copy( nStt, nEnd - nStt ); in GetTextForLanguageGuessing()
|
/trunk/main/svtools/workben/ |
H A D | stest.cxx | 124 sal_uInt16 nStt = 0, nEnd = sText.Len(); in IMPL_LINK() local 129 bRet = aSrchText.SearchFrwrd( sText, &nStt, &nEnd ); in IMPL_LINK() 139 sFound += nStt; in IMPL_LINK() 147 sFound += sText.Copy( nStt, nEnd - nStt +1 ); in IMPL_LINK()
|