Home
last modified time | relevance | path

Searched refs:nSttPos (Results 1 – 25 of 40) sorted by relevance

12

/dports/editors/libreoffice6/libreoffice-6.4.7.2/editeng/source/misc/
H A Dsvxacorr.cxx382 for( ; nSttPos < nEndPos; ++nSttPos ) in FnCapitalStartWord()
428 0x1 != rTxt[ nSttPos ] && 0x2 != rTxt[ nSttPos ]) in FnCapitalStartWord()
431 OUString sWord( rTxt.copy( nSttPos - 1, nEndPos - nSttPos + 1 )); in FnCapitalStartWord()
476 for (; nSttPos < nEndPos; ++nSttPos) in FnChgOrdinalNumber()
504 sal_Int32 nNum = rTxt.copy(nSttPos, nNumEnd - nSttPos + 1).toInt32(); in FnChgOrdinalNumber()
549 if( 1 < nSttPos && 1 <= nEndPos - nSttPos ) in FnChgToEnEmDash()
574 rDoc.Delete( nSttPos, nSttPos + 2 ); in FnChgToEnEmDash()
624 OUString sTmp( rTxt.copy( nSttPos, nEndPos - nSttPos ) ); in FnChgToEnEmDash()
633 nSttPos = nSttPos + nFndPos; in FnChgToEnEmDash()
634 rDoc.Delete( nSttPos, nSttPos + 2 ); in FnChgToEnEmDash()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/editeng/source/misc/
H A Dsvxacorr.cxx391 for( ; nSttPos < nEndPos; ++nSttPos ) in FnCapitalStartWord()
437 0x1 != rTxt[ nSttPos ] && 0x2 != rTxt[ nSttPos ]) in FnCapitalStartWord()
440 OUString sWord( rTxt.copy( nSttPos - 1, nEndPos - nSttPos + 1 )); in FnCapitalStartWord()
485 for (; nSttPos < nEndPos; ++nSttPos) in FnChgOrdinalNumber()
513 sal_Int32 nNum = rTxt.copy(nSttPos, nNumEnd - nSttPos + 1).toInt32(); in FnChgOrdinalNumber()
557 if( 1 < nSttPos && 1 <= nEndPos - nSttPos ) in FnChgToEnEmDash()
582 rDoc.Delete( nSttPos, nSttPos + 2 ); in FnChgToEnEmDash()
632 OUString sTmp( rTxt.copy( nSttPos, nEndPos - nSttPos ) ); in FnChgToEnEmDash()
641 nSttPos = nSttPos + nFndPos; in FnChgToEnEmDash()
642 rDoc.Delete( nSttPos, nSttPos + 2 ); in FnChgToEnEmDash()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/crsr/
H A Dfindattr.cxx668 const sal_Int32 nSttPos = Start(); in CheckStack() local
744 sal_Int32 nSttPos; in lcl_SearchForward() local
763 nSttPos = rCmpArr.Start(); in lcl_SearchForward()
765 if( nSttPos > nEndPos ) in lcl_SearchForward()
775 nSttPos = rCmpArr.Start(); in lcl_SearchForward()
777 if( nSttPos > nEndPos ) in lcl_SearchForward()
801 sal_Int32 nSttPos; in lcl_SearchBackward() local
854 nSttPos = rCmpArr.Start(); in lcl_SearchBackward()
856 if( nSttPos > nEndPos ) in lcl_SearchBackward()
866 nSttPos = rCmpArr.Start(); in lcl_SearchBackward()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/crsr/
H A Dfindattr.cxx668 const sal_Int32 nSttPos = Start(); in CheckStack() local
741 sal_Int32 nSttPos; in lcl_SearchForward() local
746 nSttPos = pAttr->GetStart(); in lcl_SearchForward()
747 while( ++nPos < rHtArr.Count() && nSttPos == in lcl_SearchForward()
759 lcl_SetAttrPam( rPam, nSttPos, &nEndPos, true ); in lcl_SearchForward()
767 lcl_SetAttrPam( rPam, nSttPos, &nEndPos, true ); in lcl_SearchForward()
788 sal_Int32 nSttPos; in lcl_SearchBackward() local
796 nSttPos = pAttr->GetAnyEnd(); in lcl_SearchBackward()
797 if( nSttPos < rCmpArr.GetNdEnd() ) in lcl_SearchBackward()
837 lcl_SetAttrPam( rPam, nSttPos, &nEndPos, false ); in lcl_SearchBackward()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/doc/
H A Ddocredln.cxx638 return nSttPos + 1 < size() in FindNextOfSeqNo()
639 ? FindNextSeqNo( operator[]( nSttPos )->GetSeqNo(), nSttPos+1 ) in FindNextOfSeqNo()
645 return nSttPos ? FindPrevSeqNo( operator[]( nSttPos )->GetSeqNo(), nSttPos-1 ) in FindPrevOfSeqNo()
655 if( nSeqNo && nSttPos < size() ) in FindNextSeqNo()
664 for( ; nSttPos < nEnd; ++nSttPos ) in FindNextSeqNo()
667 nRet = nSttPos; in FindNextSeqNo()
678 if( nSeqNo && nSttPos < size() ) in FindPrevSeqNo()
681 if( nSttPos > nLookahead ) in FindPrevSeqNo()
684 ++nSttPos; in FindPrevSeqNo()
685 while( nSttPos > nEnd ) in FindPrevSeqNo()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/include/editeng/
H A Dsvxacorr.hxx404 sal_Int32 nSttPos, sal_Int32 nEndPos,
407 sal_Int32 nSttPos, sal_Int32 nEndPos,
410 sal_Int32 nSttPos, sal_Int32 nEndPos,
416 sal_Int32 nSttPos, sal_Int32 nEndPos,
421 sal_Int32 nSttPos, sal_Int32 nEndPos,
424 sal_Int32 nSttPos, sal_Int32 nEndPos,
/dports/editors/libreoffice6/libreoffice-6.4.7.2/include/editeng/
H A Dsvxacorr.hxx388 sal_Int32 nSttPos, sal_Int32 nEndPos,
391 sal_Int32 nSttPos, sal_Int32 nEndPos,
394 sal_Int32 nSttPos, sal_Int32 nEndPos,
400 sal_Int32 nSttPos, sal_Int32 nEndPos,
405 sal_Int32 nSttPos, sal_Int32 nEndPos,
408 sal_Int32 nSttPos, sal_Int32 nEndPos,
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/doc/
H A Ddocredln.cxx655 return nSttPos + 1 < size() in FindNextOfSeqNo()
656 ? FindNextSeqNo( operator[]( nSttPos )->GetSeqNo(), nSttPos+1 ) in FindNextOfSeqNo()
662 return nSttPos ? FindPrevSeqNo( operator[]( nSttPos )->GetSeqNo(), nSttPos-1 ) in FindPrevOfSeqNo()
672 if( nSeqNo && nSttPos < size() ) in FindNextSeqNo()
681 for( ; nSttPos < nEnd; ++nSttPos ) in FindNextSeqNo()
684 nRet = nSttPos; in FindNextSeqNo()
695 if( nSeqNo && nSttPos < size() ) in FindPrevSeqNo()
698 if( nSttPos > nLookahead ) in FindPrevSeqNo()
701 ++nSttPos; in FindPrevSeqNo()
702 while( nSttPos > nEnd ) in FindPrevSeqNo()
[all …]
H A Ddocnum.cxx201 SwOutlineNodes::size_type nSttPos, nEndPos; in OutlineUpDown() local
203 if( !rOutlNds.Seek_Entry( pSttNd, &nSttPos ) && in OutlineUpDown()
204 !nSttPos-- ) in OutlineUpDown()
352 for (auto i = nSttPos; i < nEndPos; ++i) in OutlineUpDown()
391 for (auto i = nSttPos; i < nEndPos; ++i) in OutlineUpDown()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/frmedt/
H A Dtblsel.cxx207 sal_uInt16 nTmp = nSttPos; nSttPos = nEndPos; nEndPos = nTmp; in GetTableSel()
211 for( ; nSttPos <= nEndPos; ++nSttPos ) in GetTableSel()
213 pLine = rLines[ nSttPos ]; in GetTableSel()
1165 sal_uInt16 n, nSttPos = 0; in GetMergeSel() local
1190 aPosArr.Remove( nSttPos, n - nSttPos ); in GetMergeSel()
1191 n = nSttPos; in GetMergeSel()
1194 nSttPos = n; in GetMergeSel()
1199 if( bEmptyLine && nSttPos < n ) in GetMergeSel()
1204 aPosArr.Remove( nSttPos, n - nSttPos ); in GetMergeSel()
1234 if( nSttPos < nSEndPos ) in GetMergeSel()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/frmedt/
H A Dtblsel.cxx202 sal_uInt16 nTmp = nSttPos; nSttPos = nEndPos; nEndPos = nTmp; in GetTableSel()
206 for( ; nSttPos <= nEndPos; ++nSttPos ) in GetTableSel()
208 pLine = rLines[ nSttPos ]; in GetTableSel()
1153 sal_uInt16 n, nSttPos = 0; in GetMergeSel() local
1178 aPosArr.Remove( nSttPos, n - nSttPos ); in GetMergeSel()
1179 n = nSttPos; in GetMergeSel()
1182 nSttPos = n; in GetMergeSel()
1187 if( bEmptyLine && nSttPos < n ) in GetMergeSel()
1192 aPosArr.Remove( nSttPos, n - nSttPos ); in GetMergeSel()
1222 if( nSttPos < nSEndPos ) in GetMergeSel()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/inc/
H A Ddocary.hxx248 size_type FindNextOfSeqNo( size_type nSttPos ) const;
249 size_type FindPrevOfSeqNo( size_type nSttPos ) const;
253 size_type FindNextSeqNo( sal_uInt16 nSeqNo, size_type nSttPos ) const;
254 size_type FindPrevSeqNo( sal_uInt16 nSeqNo, size_type nSttPos ) const;
H A Dreffld.hxx33 const SwTextNode& rBehindNd, sal_Int32 nSttPos );
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/ui/dbui/
H A Ddbinsdlg.cxx814 sal_Int32 nSttPos = 0, nFndPos; in lcl_InsTextInArr() local
815 while( -1 != ( nFndPos = rText.indexOf( '\x0A', nSttPos )) ) in lcl_InsTextInArr()
822 nSttPos = nFndPos + 1; in lcl_InsTextInArr()
824 if( nSttPos < rText.getLength() ) in lcl_InsTextInArr()
838 sal_Int32 nFndPos, nEndPos, nSttPos = 0; in SplitTextToColArr() local
842 nSttPos = nFndPos + 1; in SplitTextToColArr()
843 nEndPos = sText.indexOf( cDBFieldEnd, nSttPos+1 ); in SplitTextToColArr()
847 SwInsDBColumn aSrch( sText.copy( nSttPos, nEndPos - nSttPos )); in SplitTextToColArr()
857 if( 1 < nSttPos ) in SplitTextToColArr()
860 sText = sText.copy( nSttPos-1 ); in SplitTextToColArr()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/ui/dbui/
H A Ddbinsdlg.cxx829 sal_Int32 nSttPos = 0, nFndPos; in lcl_InsTextInArr() local
830 while( -1 != ( nFndPos = rText.indexOf( '\x0A', nSttPos )) ) in lcl_InsTextInArr()
837 nSttPos = nFndPos + 1; in lcl_InsTextInArr()
839 if( nSttPos < rText.getLength() ) in lcl_InsTextInArr()
853 sal_Int32 nFndPos, nEndPos, nSttPos = 0; in SplitTextToColArr() local
855 while( -1 != ( nFndPos = sText.indexOf( cDBFieldStart, nSttPos ))) in SplitTextToColArr()
857 nSttPos = nFndPos + 1; in SplitTextToColArr()
861 SwInsDBColumn aSrch( sText.copy( nSttPos, nEndPos - nSttPos )); in SplitTextToColArr()
871 if( 1 < nSttPos ) in SplitTextToColArr()
874 sText = sText.copy( nSttPos-1 ); in SplitTextToColArr()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/fields/
H A Dcellfml.cxx151 sal_Int32 nSttPos = 0; in GetValue() local
162 while ( nSttPos < sText.getLength() && ( sText[nSttPos]==' ' || sText[nSttPos]=='\t' ) ) in GetValue()
163 ++nSttPos; in GetValue()
166 const bool bOK = nSttPos<sText.getLength(); in GetValue()
167 const sal_Unicode Char = bOK ? sText[nSttPos] : 0; in GetValue()
171 …pTextField = static_txtattr_cast<SwTextField*>(pTextNd->GetTextAttrForCharAt(nSttPos, RES_TXTATR_F… in GetValue()
214 else if ( nSttPos < sText.getLength() in GetValue()
219 pTextNd->GetTextAttrAt( nSttPos, RES_TXTATR_INPUTFIELD ) ); in GetValue()
230 sText = bOK ? sText.copy( nSttPos ) : OUString(); in GetValue()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/fields/
H A Dcellfml.cxx149 sal_Int32 nSttPos = 0; in GetValue() local
151 while ( nSttPos < sText.getLength() && ( sText[nSttPos]==' ' || sText[nSttPos]=='\t' ) ) in GetValue()
152 ++nSttPos; in GetValue()
155 const bool bOK = nSttPos<sText.getLength(); in GetValue()
156 const sal_Unicode Char = bOK ? sText[nSttPos] : 0; in GetValue()
160 …pTextField = static_txtattr_cast<SwTextField*>(pTextNd->GetTextAttrForCharAt(nSttPos, RES_TXTATR_F… in GetValue()
203 else if ( nSttPos < sText.getLength() in GetValue()
208 pTextNd->GetTextAttrAt( nSttPos, RES_TXTATR_INPUTFIELD ) ); in GetValue()
219 sText = bOK ? sText.copy( nSttPos ) : OUString(); in GetValue()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/inc/
H A Ddocary.hxx350 size_type FindNextOfSeqNo( size_type nSttPos ) const;
351 size_type FindPrevOfSeqNo( size_type nSttPos ) const;
355 size_type FindNextSeqNo( sal_uInt16 nSeqNo, size_type nSttPos ) const;
356 size_type FindPrevSeqNo( sal_uInt16 nSeqNo, size_type nSttPos ) const;
H A Dreffld.hxx33 const SwTextNode& rBehindNd, sal_Int32 nSttPos );
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/edit/
H A Dautofmt.cxx186 void AutoCorrect(TextFrameIndex nSttPos = TextFrameIndex(0));
655 SwTwips nSttPos = aPosArr[ 0 ]; in DoTable() local
663 if( nSttPos ) in DoTable()
1949 TextFrameIndex nSttPos, nLastBlank = nPos; in AutoCorrect() local
2013 for (nSttPos = nPos; !bBreak && nPos < TextFrameIndex(pText->getLength()); ++nPos) in AutoCorrect()
2080 sal_Unicode cBlank = nSttPos ? (*pText)[sal_Int32(nSttPos) - 1] : 0; in AutoCorrect()
2099 if (cBlank && cBlank != (*pText)[sal_Int32(nSttPos) - 1]) in AutoCorrect()
2100 --nSttPos; in AutoCorrect()
2109 ? m_pCurTextFrame->GetLangOfChar(nSttPos, 0, true) in AutoCorrect()
2135 if( nPos == nSttPos ) in AutoCorrect()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/edit/
H A Dautofmt.cxx193 void AutoCorrect(TextFrameIndex nSttPos = TextFrameIndex(0));
663 SwTwips nSttPos = aPosArr[ 0 ]; in DoTable() local
671 if( nSttPos ) in DoTable()
1945 TextFrameIndex nSttPos, nLastBlank = nPos; in AutoCorrect() local
2009 for (nSttPos = nPos; !bBreak && nPos < TextFrameIndex(pText->getLength()); ++nPos) in AutoCorrect()
2076 sal_Unicode cBlank = nSttPos ? (*pText)[sal_Int32(nSttPos) - 1] : 0; in AutoCorrect()
2095 if (cBlank && cBlank != (*pText)[sal_Int32(nSttPos) - 1]) in AutoCorrect()
2096 --nSttPos; in AutoCorrect()
2105 ? m_pCurTextFrame->GetLangOfChar(nSttPos, 0, true) in AutoCorrect()
2131 if( nPos == nSttPos ) in AutoCorrect()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/uibase/envelp/
H A Denvimg.cxx57 sal_Int32 nSttPos = 0; in MakeSender() local
60 OUString sToken = sSenderToken.getToken( 0, ';', nSttPos ); in MakeSender()
89 } while (nSttPos>=0); in MakeSender()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/uibase/envelp/
H A Denvimg.cxx58 sal_Int32 nSttPos = 0; in MakeSender() local
61 OUString sToken = sSenderToken.getToken( 0, ';', nSttPos ); in MakeSender()
90 } while (nSttPos>=0); in MakeSender()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/bastyp/
H A Dcalc.cxx773 nSttPos = nFndPos; in GetToken() local
782 m_aVarName.append(m_sCommand.subView(nSttPos, in GetToken()
783 nFndPos - nSttPos - 1) ); in GetToken()
784 nSttPos = ++nFndPos; in GetToken()
793 if( nSttPos != nFndPos ) in GetToken()
794 m_aVarName.append(m_sCommand.subView(nSttPos, in GetToken()
795 nFndPos - nSttPos) ); in GetToken()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/bastyp/
H A Dcalc.cxx751 nSttPos = nFndPos; in GetToken() local
760 … m_aVarName.append(std::u16string_view(m_sCommand).substr(nSttPos, in GetToken()
761 nFndPos - nSttPos - 1) ); in GetToken()
762 nSttPos = ++nFndPos; in GetToken()
771 if( nSttPos != nFndPos ) in GetToken()
772 m_aVarName.append(std::u16string_view(m_sCommand).substr(nSttPos, in GetToken()
773 nFndPos - nSttPos) ); in GetToken()

12