/aoo41x/main/editeng/source/editeng/ |
H A D | impedit4.cxx | 282 sal_uInt16 nStartPos = 0; in WriteText() local 287 nStartPos = aSel.Min().GetIndex(); in WriteText() 627 sal_uInt16 nStartPos = 0; in WriteRTF() local 636 nStartPos = aSel.Min().GetIndex(); in WriteRTF() 638 if ( nStartPos != 0 ) in WriteRTF() 699 nS = nStartPos; in WriteRTF() 1088 sal_uInt16 nStartPos = 0; in CreateBinTextObject() local 1112 pC->GetText() = pNode->Copy( nStartPos, nEndPos-nStartPos ); in CreateBinTextObject() 1127 pX->GetStart() = ( pX->GetStart() > nStartPos ) ? pX->GetStart()-nStartPos : 0; in CreateBinTextObject() 2749 sal_uInt16 nStartPos = 0; in ImpSearch() local [all …]
|
H A D | impedit5.cxx | 359 xub_StrLen nStartPos = 0; in GetAttribs() local 362 nStartPos = aSel.Min().GetIndex(); in GetAttribs() 372 aEditDoc.FindAttribs( pNode, nStartPos, nEndPos, aCurSet ); in GetAttribs() 567 xub_StrLen nStartPos = 0; in SetAttribs() local 570 nStartPos = aSel.Min().GetIndex(); in SetAttribs() 627 if ( !pNode->Len() || ( nStartPos != nEndPos ) ) in SetAttribs() 629 pPortion->MarkSelectionInvalid( nStartPos, nEndPos-nStartPos ); in SetAttribs() 631 pNode->GetWrongList()->MarkInvalid( nStartPos, nEndPos ); in SetAttribs() 665 xub_StrLen nStartPos = 0; in RemoveCharAttribs() local 668 nStartPos = aSel.Min().GetIndex(); in RemoveCharAttribs() [all …]
|
H A D | editdoc.cxx | 1405 DBG_ASSERT( nStartPos <= nEndPos, "Start und Ende vertauscht?" ); in GetParaAsString() 1407 sal_uInt16 nIndex = nStartPos; in GetParaAsString() 1854 DBG_ASSERT( nStartPos <= nEndPos, "Ungueltiger Bereich!" ); in FindAttribs() 1859 if ( nStartPos == nEndPos ) in FindAttribs() 1865 if ( ( pAttr->GetStart() < nStartPos ) && ( pAttr->GetEnd() > nStartPos ) ) in FindAttribs() 1868 else if ( ( pAttr->GetStart() < nStartPos ) && ( pAttr->GetEnd() == nStartPos ) ) in FindAttribs() 1874 else if ( ( pAttr->GetStart() == nStartPos ) && ( pAttr->GetEnd() == nStartPos ) ) in FindAttribs() 1879 else if ( ( pAttr->GetStart() == nStartPos ) && ( pAttr->GetEnd() > nStartPos ) ) in FindAttribs() 1881 if ( nStartPos == 0 ) // Sonderfall in FindAttribs() 1914 else if ( pAttr->GetStart() >= nStartPos ) in FindAttribs() [all …]
|
H A D | textconv.cxx | 328 aSelection.nStartPos = (sal_uInt16) (nLastPos + nUnitOffset + nUnitStart); in SelectNewUnit_impl() 349 DBG_ASSERT( aSelection.nStartPos <= aSelection.nEndPos, in GetNextPortion() 351 nLastPos = aSelection.nStartPos; in GetNextPortion() 435 aNewSel.nStartPos = sal::static_int_cast< xub_StrLen >( in ReplaceUnit() 436 aNewSel.nStartPos - aNewTxt.getLength()); in ReplaceUnit() 486 const xub_StrLen nStartIndex = pESelection->nStartPos; in ChangeText() 534 aSel.nStartPos = nChgInNodeStartIndex; in ChangeText() 569 pESelection->nStartPos = pESelection->nEndPos = nStartIndex + nConvTextLen; in ChangeText()
|
/aoo41x/main/i18npool/source/inputchecker/ |
H A D | inputsequencechecker.cxx | 59 InputSequenceCheckerImpl::checkInputSequence(const OUString& Text, sal_Int32 nStartPos, in checkInputSequence() argument 65 sal_Char* language = getLanguageByScripType(Text[nStartPos], inputChar); in checkInputSequence() 68 …return getInputSequenceChecker(language)->checkInputSequence(Text, nStartPos, inputChar, inputChec… in checkInputSequence() 74 InputSequenceCheckerImpl::correctInputSequence(OUString& Text, sal_Int32 nStartPos, in correctInputSequence() argument 78 sal_Char* language = getLanguageByScripType(Text[nStartPos], inputChar); in correctInputSequence() 81 …return getInputSequenceChecker(language)->correctInputSequence(Text, nStartPos, inputChar, inputCh… in correctInputSequence() 83 Text = Text.replaceAt(++nStartPos, 0, OUString(inputChar)); in correctInputSequence() 84 return nStartPos; in correctInputSequence()
|
H A D | inputsequencechecker_hi.cxx | 119 sal_Int32 nStartPos, in checkInputSequence() argument 124 sal_Unicode currentChar = Text[nStartPos]; in checkInputSequence() 133 sal_Int32 nStartPos, in correctInputSequence() argument 138 if (checkInputSequence(Text, nStartPos, inputChar, inputCheckMode)) in correctInputSequence() 139 Text = Text.replaceAt(++nStartPos, 0, OUString(inputChar)); in correctInputSequence() 141 nStartPos=Text.getLength(); in correctInputSequence() 142 return nStartPos; in correctInputSequence()
|
/aoo41x/main/sw/source/core/access/ |
H A D | textmarkuphelper.cxx | 150 const sal_Int32 nStartPos = in getTextMarkup() local 154 aTextMarkupSegment.SegmentText = rText.copy( nStartPos, nEndPos - nStartPos ); in getTextMarkup() 155 aTextMarkupSegment.SegmentStart = nStartPos; in getTextMarkup() 208 const sal_Int32 nStartPos = in getTextMarkupAtIndex() local 213 aTextMarkupSegment.SegmentText = rText.copy( nStartPos, nEndPos - nStartPos ); in getTextMarkupAtIndex() 214 aTextMarkupSegment.SegmentStart = nStartPos; in getTextMarkupAtIndex()
|
H A D | accportions.cxx | 411 sal_Int32 nStartPos = aModelPositions[nPortionNo]; in GetModelPosition() local 418 DBG_ASSERT( ( aModelPositions[nPortionNo+1] - nStartPos ) == in GetModelPosition() 424 nStartPos += nWithinPortion; in GetModelPosition() 428 DBG_ASSERT( (nStartPos >= 0) && (nStartPos < USHRT_MAX), in GetModelPosition() 430 return static_cast<sal_uInt16>(nStartPos); in GetModelPosition() 603 sal_Int32 nStartPos = aModelPositions[nPortionNo]; in GetAccessiblePosition() local 605 if( (nEndPos - nStartPos) > 1 ) in GetAccessiblePosition() 608 DBG_ASSERT( ( nEndPos - nStartPos ) == in GetAccessiblePosition()
|
/aoo41x/main/i18npool/inc/ |
H A D | breakiterator_unicode.hxx | 46 virtual sal_Int32 SAL_CALL previousCharacters( const rtl::OUString& Text, sal_Int32 nStartPos, 49 virtual sal_Int32 SAL_CALL nextCharacters( const rtl::OUString& Text, sal_Int32 nStartPos, 53 virtual Boundary SAL_CALL previousWord( const rtl::OUString& Text, sal_Int32 nStartPos, 55 virtual Boundary SAL_CALL nextWord( const rtl::OUString& Text, sal_Int32 nStartPos, 61 virtual sal_Int32 SAL_CALL beginOfSentence( const rtl::OUString& Text, sal_Int32 nStartPos, 63 virtual sal_Int32 SAL_CALL endOfSentence( const rtl::OUString& Text, sal_Int32 nStartPos, 66 virtual LineBreakResults SAL_CALL getLineBreak( const rtl::OUString& Text, sal_Int32 nStartPos,
|
/aoo41x/main/xmloff/source/chart/ |
H A D | SchXMLTools.cxx | 551 sal_Int32 nStartPos = 0; in exportText() local 562 if( nPos > nStartPos ) in exportText() 563 … rExport.GetDocHandler()->characters( rText.copy( nStartPos, (nPos - nStartPos)) ); in exportText() 564 nStartPos = nPos + 1; in exportText() 574 if( nPos > nStartPos ) in exportText() 575 … rExport.GetDocHandler()->characters( rText.copy( nStartPos, (nPos - nStartPos)) ); in exportText() 576 nStartPos = nPos + 1; in exportText() 585 if( nEndPos > nStartPos ) in exportText() 587 if( nStartPos == 0 ) in exportText() 590 … rExport.GetDocHandler()->characters( rText.copy( nStartPos, (nEndPos - nStartPos)) ); in exportText()
|
/aoo41x/main/sw/source/ui/ribbar/ |
H A D | inputwin.cxx | 596 sal_uInt16 nPos, nEndPos = 0, nStartPos = (sal_uInt16) aSelection.Min(); in UpdateRange() local 597 if( nStartPos-- ) in UpdateRange() 600 if( cOpen == (cCh = aActText.GetChar( nStartPos ) ) || in UpdateRange() 606 } while( nStartPos-- > 0 ); in UpdateRange() 611 nEndPos = nStartPos; in UpdateRange() 623 if( bFound && !( nStartPos < (sal_uInt16)aSelection.Max() && in UpdateRange() 629 nPos = ++nStartPos + 1; // wir wollen dahinter in UpdateRange() 630 aActText.Erase( nStartPos, nEndPos - nStartPos ); in UpdateRange() 631 aActText.Insert( aBoxes, nStartPos ); in UpdateRange()
|
/aoo41x/main/sc/inc/ |
H A D | olinetab.hxx | 87 void RemoveSub( SCCOLROW nStartPos, SCCOLROW nEndPos, sal_uInt16 nLevel ); 88 …void PromoteSub( SCCOLROW nStartPos, SCCOLROW nEndPos, sal_uInt16 nStartLevel ); 99 … sal_Bool Insert( SCCOLROW nStartPos, SCCOLROW nEndPos, sal_Bool& rSizeChanged, 119 void InsertSpace( SCCOLROW nStartPos, SCSIZE nSize ); 120 sal_Bool DeleteSpace( SCCOLROW nStartPos, SCSIZE nSize ); 122 …bool ManualAction( SCCOLROW nStartPos, SCCOLROW nEndPos, bool bShow, ScTable& r…
|
/aoo41x/main/basctl/source/basicide/ |
H A D | bastypes.cxx | 700 sal_Int32 nStartPos = 0; in CutLines() local 705 nStartPos = searchEOL( rStr, nStartPos ); in CutLines() 706 if( nStartPos == -1 ) in CutLines() 708 nStartPos++; // nicht das \n. in CutLines() 712 DBG_ASSERTWARNING( nStartPos != -1, "CutLines: Startzeile nicht gefunden!" ); in CutLines() 714 if ( nStartPos != -1 ) in CutLines() 716 nEndPos = nStartPos; in CutLines() 726 rStr = rStr.copy( 0, nStartPos ); in CutLines() 731 sal_Int32 n = nStartPos; in CutLines() 739 if ( n > nStartPos ) in CutLines() [all …]
|
/aoo41x/main/sw/source/filter/ascii/ |
H A D | ascatr.cxx | 58 xub_StrLen SearchNext( xub_StrLen nStartPos ); 89 xub_StrLen SwASC_AttrIter::SearchNext( xub_StrLen nStartPos ) in SearchNext() argument 102 if( nPos >= nStartPos && nPos <= nMinPos ) in SearchNext() 105 if( ( ++nPos ) >= nStartPos && nPos < nMinPos ) in SearchNext() 111 if ( nHintStart >= nStartPos && nHintStart <= nMinPos ) in SearchNext() 117 if ( nHintEnd >= nStartPos && nHintEnd < nMinPos ) in SearchNext()
|
/aoo41x/main/svtools/source/edit/ |
H A D | xtextedt.cxx | 180 sal_uInt16 nStartPos = 0; in Search() local 185 nStartPos = aStartPaM.GetIndex(); in Search() 194 nStartPos = aSel.GetStart().GetIndex(); in Search() 198 bFound = aSearcher.SearchFrwrd( aText, &nStartPos, &nEndPos ); in Search() 200 bFound = aSearcher.SearchBkwrd( aText, &nEndPos, &nStartPos ); in Search() 205 rSel.GetStart().GetIndex() = nStartPos; in Search() 220 rSel.GetEnd().GetIndex() = nStartPos; in Search()
|
H A D | texteng.cxx | 483 sal_uInt16 nStartPos = 0; in GetText() local 486 nStartPos = aSel.GetStart().GetIndex(); in GetText() 490 aText += pNode->GetText().Copy( nStartPos, nEndPos-nStartPos ); in GetText() 1925 if ( nPortionStart >= nStartPos ) in CreateTextPortions() 1979 ( nStartPos && ( pNode->GetText().GetChar( nStartPos - 1 ) == '\t' ) ) || in RecalcTextPortion() 1983 if ( nStartPos ) in RecalcTextPortion() 2026 sal_uInt16 nEnd = nStartPos-nNewChars; in RecalcTextPortion() 2702 sal_uInt16 nStartPos = 0; in Write() local 2712 aText = pNode->GetText().Copy( nStartPos, nEndPos-nStartPos ); in Write() 2718 if ( nStartPos == nEndPos ) in Write() [all …]
|
/aoo41x/main/editeng/source/uno/ |
H A D | unotext.cxx | 155 rSel.nStartPos = aMaxSelection.nStartPos; in CheckSelection() 378 aNewSel.nEndPos = aNewSel.nStartPos; in getStart() 407 aNewSel.nStartPos = aNewSel.nEndPos; in getEnd() 1433 maSelection.nStartPos = nNewPos; in GoLeft() 1485 maSelection.nStartPos = 0; in GotoStart() 1548 if( r1.nStartPos == r2.nStartPos ) in compareRegionStarts() 1551 return r1.nStartPos < r2.nStartPos ? 1 : -1; in compareRegionStarts() 1937 aRange.nEndPos = aRange.nStartPos; in insertControlCharacter() 1942 aRange.nStartPos = aRange.nEndPos; in insertControlCharacter() 1951 aRange.nStartPos += 1; in insertControlCharacter() [all …]
|
H A D | unoedprx.cxx | 478 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in GetText() 483 (rSel.nStartPara == rSel.nEndPara && rSel.nStartPos > rSel.nEndPos) ) in GetText() 548 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in GetAttribs() 588 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in GetItemState() 609 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in QuickInsertText() 623 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in QuickInsertField() 637 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in QuickSetAttribs() 651 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in QuickInsertLineBreak() 1073 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in Delete() 1086 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in InsertText() [all …]
|
/aoo41x/main/oox/source/dump/ |
H A D | oledumper.cxx | 397 writeSectionHeader( rGuid, nStartPos ); in dumpSection() 401 if( startElement( nStartPos ) ) in dumpSection() 451 writePropertyHeader( nPropId, nStartPos ); in dumpProperty() 453 if( startElement( nStartPos ) ) in dumpProperty() 460 writePropertyHeader( OLEPROP_ID_CODEPAGE, nStartPos ); in dumpCodePageProperty() 462 if( startElement( nStartPos ) ) in dumpCodePageProperty() 481 writePropertyHeader( OLEPROP_ID_DICTIONARY, nStartPos ); in dumpDictionaryProperty() 483 if( startElement( nStartPos ) ) in dumpDictionaryProperty() 635 mxStrm->seek( nStartPos ); in startElement() 645 writeHexItem( "pos", nStartPos, "CONV-DEC" ); in writeSectionHeader() [all …]
|
/aoo41x/main/sc/source/core/data/ |
H A D | dpobject.cxx | 1105 if ( rSource.GetChar(nStartPos) == cQuote ) in lcl_Dequote() 1108 xub_StrLen nPos = nStartPos + 1; in lcl_Dequote() 1170 while ( nStartPos < nListLen && rList.GetChar(nStartPos) == ' ' ) in lcl_ParseFunction() 1171 ++nStartPos; in lcl_ParseFunction() 1177 if ( nStartPos < nListLen && rList.GetChar(nStartPos) == '\'' ) in lcl_ParseFunction() 1178 bParsed = lcl_Dequote( rList, nStartPos, nFuncEnd, aFuncStr ); in lcl_ParseFunction() 1184 aFuncStr = rList.Copy( nStartPos, nFuncEnd - nStartPos ); in lcl_ParseFunction() 1231 xub_StrLen nStartPos = 1; in lcl_IsAtStart() local 1233 while ( nStartPos < nListLen && rList.GetChar(nStartPos) == ' ' ) in lcl_IsAtStart() 1234 ++nStartPos; in lcl_IsAtStart() [all …]
|
/aoo41x/main/svtools/source/contnr/ |
H A D | svimpicn.cxx | 268 nLen = i-nStartPos; in GetTextLines() 277 nPos = nStartPos; in GetTextLines() 293 nStartPos = i; in GetTextLines() 297 nStartPos++; in GetTextLines() 301 nStartPos++; in GetTextLines() 306 nStartPos++; in GetTextLines() 334 nLen = nPos-nStartPos; in GetTextLines() 342 nStartPos = nPos; in GetTextLines() 2270 if( nStartPos != USHRT_MAX && nStartPos != 0 ) in GetPrevEntry() 2272 nStartPos--; in GetPrevEntry() [all …]
|
/aoo41x/main/sc/source/core/tool/ |
H A D | collect.cxx | 440 sal_uInt16 nStartPos = nCount; in FindText() local 442 nStartPos = rPos; // weitersuchen... in FindText() 444 for ( sal_uInt16 i=nStartPos; i>0; ) in FindText() 469 sal_uInt16 nStartPos = 0; in FindText() local 471 nStartPos = rPos + 1; // weitersuchen... in FindText() 473 for ( sal_uInt16 i=nStartPos; i<nCount; i++ ) in FindText()
|
/aoo41x/main/i18npool/source/breakiterator/ |
H A D | breakiterator_th.cxx | 113 void SAL_CALL BreakIterator_th::makeIndex(const OUString& Text, sal_Int32 nStartPos) in makeIndex() argument 128 else if (nextCellIndex[nStartPos] > 0 || ! is_Thai(Text[nStartPos])) in makeIndex() 134 startPos = nStartPos; in makeIndex() 136 endPos = nStartPos+1; in makeIndex()
|
/aoo41x/main/sc/source/ui/app/ |
H A D | inputhdl.cxx | 1153 --aSel.nStartPos; in lcl_CompleteFunction() 1183 --aSel.nStartPos; in lcl_CompleteFunction() 1359 aSel.nStartPos = 1; in PasteManualTip() 1396 xub_StrLen nPos = aSel.nStartPos; in CursorAtClosingPar() 1413 ++aSel.nStartPos; in SkipClosingPar() 1604 if (aSel.nStartPos) in UpdateParenthesis() 1608 xub_StrLen nPos = aSel.nStartPos - 1; in UpdateParenthesis() 2048 || rSel.nStartPos != aSel.nStartPos || rSel.nEndPos != aSel.nEndPos ) in lcl_SetTopSelection() 2258 aSel.nStartPos = aSel.nEndPos; in RemoveSelection() 2930 --aSel.nStartPos; in InsertFunction() [all …]
|
/aoo41x/main/oox/inc/oox/dump/ |
H A D | oledumper.hxx | 134 void dumpSection( const ::rtl::OUString& rGuid, sal_uInt32 nStartPos ); 136 void dumpProperty( sal_Int32 nPropId, sal_uInt32 nStartPos ); 137 void dumpCodePageProperty( sal_uInt32 nStartPos ); 138 void dumpDictionaryProperty( sal_uInt32 nStartPos ); 154 bool startElement( sal_uInt32 nStartPos ); 155 void writeSectionHeader( const ::rtl::OUString& rGuid, sal_uInt32 nStartPos ); 156 void writePropertyHeader( sal_Int32 nPropId, sal_uInt32 nStartPos );
|