/trunk/main/sw/source/core/access/ |
H A D | textmarkuphelper.cxx | 152 const sal_Int32 nEndPos = in getTextMarkup() local 154 aTextMarkupSegment.SegmentText = rText.copy( nStartPos, nEndPos - nStartPos ); in getTextMarkup() 156 aTextMarkupSegment.SegmentEnd = nEndPos; in getTextMarkup() 210 const sal_Int32 nEndPos = in getTextMarkupAtIndex() local 213 aTextMarkupSegment.SegmentText = rText.copy( nStartPos, nEndPos - nStartPos ); in getTextMarkupAtIndex() 215 aTextMarkupSegment.SegmentEnd = nEndPos; in getTextMarkupAtIndex()
|
/trunk/main/editeng/source/uno/ |
H A D | unofored.cxx | 92 return rEditEngine.GetAttribs( rSel.nStartPara, rSel.nStartPos, rSel.nEndPos, nFlags ); in GetAttribs() 193 sal_uInt16 nEndPos = rSel.nEndPos; in GetSvxEditEngineItemState() local 195 nEndPos = rEditEngine.GetTextLen( nPara ); in GetSvxEditEngineItemState() 213 …if( (!bEmptyPortion && (aAttrib.nStart >= nEndPos)) || (bEmptyPortion && (aAttrib.nStart > nEndPos… in GetSvxEditEngineItemState() 243 if( !bEmpty && !bGaps && nLastEnd < ( nEndPos - 1 ) ) in GetSvxEditEngineItemState() 449 nEnd = aRes.nEndPos; in GetWordIndices()
|
/trunk/main/sc/source/core/data/ |
H A D | segmenttree.cxx | 145 SCROW nEndPos = aData.mnPos2; in getSumValue() local 146 while (nEndPos <= nPos2) in getSumValue() 148 nValue += aData.mnValue * (nEndPos - nCurPos + 1); in getSumValue() 149 nCurPos = nEndPos + 1; in getSumValue() 153 nEndPos = aData.mnPos2; in getSumValue() 157 nEndPos = ::std::min(nEndPos, nPos2); in getSumValue() 158 nValue += aData.mnValue * (nEndPos - nCurPos + 1); in getSumValue()
|
/trunk/main/sw/source/filter/html/ |
H A D | htmlatr.cxx | 1280 xub_StrLen nEndPos ); 1370 aEndLst.Insert( pPos, nEndPos ); in _InsertItem() 1382 aEndLst.Remove( nEndPos, 1 ); in _RemoveItem() 1566 xub_StrLen nEndPos ) in ExistsOffTagItem() argument 1585 pTest->GetEnd()==nEndPos ) in ExistsOffTagItem() 1614 if( nEndPos != USHRT_MAX ) in FixSplittedItem() 1615 aEndLst.Remove( nEndPos, 1 ); in FixSplittedItem() 1619 for( nEndPos=0; nEndPos < aEndLst.Count() && in FixSplittedItem() 1620 aEndLst[nEndPos]->GetEnd() <= nNewEnd; nEndPos++ ) in FixSplittedItem() 1740 if( nEndPos != USHRT_MAX ) in SplitItem() [all …]
|
/trunk/main/sw/source/core/frmedt/ |
H A D | tblsel.cxx | 254 sal_uInt16 nEndPos = rLines.GetPos( pLine ); in GetTblSel() local 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() 2204 sal_uInt16 nEndPos= 0; in SetTableLines() local 2219 if( nEndPos < nPos ) in SetTableLines() 2220 nEndPos = nPos; in SetTableLines() 2283 nEndPos = rTable.GetTabLines().GetPos( in DelFrms() 2286 --nEndPos; in DelFrms() 2447 nEndPos = rTable.GetTabLines().GetPos( in MakeFrms() [all …]
|
/trunk/main/sd/source/ui/unoidl/ |
H A D | unosrch.cxx | 603 sal_Int32 nEndPos = 0; in Search() local 610 if( Search( aText, nStartPos, nEndPos, pDescr ) ) in Search() 612 if( nStartPos <= nTextLen && nEndPos <= nTextLen ) in Search() 615 (sal_uInt32)pConvertPara[nEndPos], (sal_uInt16)pConvertPos[nEndPos] ); in Search() 641 …ceShape::Search( const OUString& rText, sal_Int32& nStartPos, sal_Int32& nEndPos, SdUnoSearchRepla… in Search() argument 656 nEndPos = nFound + aSearchStr.getLength(); in Search() 661 (nEndPos < aText.getLength() && aText.getStr()[nEndPos] > ' ') ) in Search() 664 return Search( aText, nStartPos, nEndPos, pDescr ); in Search()
|
/trunk/main/sw/source/core/edit/ |
H A D | acorrect.cxx | 319 sal_Bool SwAutoCorrDoc::ChgAutoCorrWord( xub_StrLen & rSttPos, xub_StrLen nEndPos, in ChgAutoCorrWord() argument 332 if( nEndPos == rSttPos ) in ChgAutoCorrWord() 335 LanguageType eLang = GetLanguage(nEndPos, sal_False); in ChgAutoCorrWord() 340 sal_Bool bLastCharIsPoint = nEndPos < pTxtNd->GetTxt().Len() && in ChgAutoCorrWord() 341 '.' == pTxtNd->GetTxt().GetChar( nEndPos ); in ChgAutoCorrWord() 344 pTxtNd->GetTxt(), rSttPos, nEndPos, *this, eLang ); in ChgAutoCorrWord() 349 SwPaM aPam( rNd, rSttPos, rNd, nEndPos ); in ChgAutoCorrWord()
|
H A D | edattr.cxx | 557 nEndPos = aIdx == nEndIdx in GetScriptType() local 561 ASSERT( nEndPos <= rTxt.Len(), "Index outside the range - endless loop!" ); in GetScriptType() 562 if( nEndPos > rTxt.Len() ) in GetScriptType() 563 nEndPos = rTxt.Len(); in GetScriptType() 566 while( nChg < nEndPos ) in GetScriptType() 574 0 == nChg && rTxt.Len() == nEndPos ) ) in GetScriptType()
|
/trunk/main/editeng/source/editeng/ |
H A D | impedit2.cxx | 316 xub_StrLen nEndPos = pNode->Len(); in GetSelected() local 320 nEndPos = aSel.Max().GetIndex(); in GetSelected() 668 aSelection.nEndPos = aParaLen; in Command() 1785 rTypes.back().nEndPos = (sal_uInt16)nEndPos; in InitScriptTypes() 1803 nPos = nEndPos; in InitScriptTypes() 1888 *pEndPos = rTypes[n].nEndPos; in GetScriptType() 3519 nIndex = nEndPos; in ConvertSelection() 4522 aNewSel.nEndPos = EE_INDEX_MAX; in IndentBlock() 4524 if ( aESel.nEndPos == 0 ) in IndentBlock() 4527 aNewSel.nEndPos = 0; in IndentBlock() [all …]
|
H A D | editdoc.cxx | 1400 if ( nEndPos > pNode->Len() ) in GetParaAsString() 1401 nEndPos = pNode->Len(); in GetParaAsString() 1403 DBG_ASSERT( nStartPos <= nEndPos, "Start und Ende vertauscht?" ); in GetParaAsString() 1408 while ( nIndex < nEndPos ) in GetParaAsString() 1410 sal_uInt16 nEnd = nEndPos; in GetParaAsString() 1852 DBG_ASSERT( nStartPos <= nEndPos, "Ungueltiger Bereich!" ); in FindAttribs() 1857 if ( nStartPos == nEndPos ) in FindAttribs() 1859 while ( pAttr && ( pAttr->GetStart() <= nEndPos) ) in FindAttribs() 1905 while ( pAttr && ( pAttr->GetStart() < nEndPos) ) in FindAttribs() 1909 if ( ( pAttr->GetStart() <= nStartPos ) && ( pAttr->GetEnd() >= nEndPos ) ) in FindAttribs() [all …]
|
H A D | editdoc.hxx | 88 sal_uInt16 nEndPos; member 94 nEndPos = _End; in ScriptTypePosInfo() 104 sal_uInt16 nEndPos; member 110 nEndPos = _End; in WritingDirectionInfo() 237 sal_Bool HasAttrib( sal_uInt16 nStartPos, sal_uInt16 nEndPos ) const; 745 …XubString GetParaAsString( ContentNode* pNode, sal_uInt16 nStartPos = 0, sal_uInt16 nEndPos = 0x… 760 …void FindAttribs( ContentNode* pNode, sal_uInt16 nStartPos, sal_uInt16 nEndPos, SfxItemSet& rCur…
|
H A D | textconv.cxx | 240 pConvInfo->aConvTo.nIndex = aConvSel.nEndPos; in ConvStart_impl() 329 aSelection.nEndPos = (sal_uInt16) (nLastPos + nUnitOffset + nUnitEnd); in SelectNewUnit_impl() 349 DBG_ASSERT( aSelection.nStartPos <= aSelection.nEndPos, in GetNextPortion() 535 aSel.nEndPos = nChgInNodeStartIndex + nChgLen; in ChangeText() 569 pESelection->nStartPos = pESelection->nEndPos = nStartIndex + nConvTextLen; in ChangeText()
|
H A D | edtspell.cxx | 713 sal_uInt16 nEndPos, SvxAutoCorrect& rACorrect, in ChgAutoCorrWord() argument 721 String aShort( pCurNode->Copy( rSttPos, nEndPos - rSttPos ) ); in ChgAutoCorrWord() 728 …const SvxAutocorrWord* pFnd = rACorrect.SearchWordsInList( *pCurNode, rSttPos, nEndPos, *this, eLa… in ChgAutoCorrWord() 733 EditPaM( pCurNode, nEndPos ) ); in ChgAutoCorrWord() 735 DBG_ASSERT( nCursor >= nEndPos, "Cursor mitten im Geschehen ?!" ); in ChgAutoCorrWord() 736 nCursor -= ( nEndPos-rSttPos ); in ChgAutoCorrWord()
|
/trunk/main/sw/source/ui/ribbar/ |
H A D | inputwin.cxx | 596 sal_uInt16 nPos, nEndPos = 0, nStartPos = (sal_uInt16) aSelection.Min(); in UpdateRange() local 611 nEndPos = nStartPos; in UpdateRange() 612 while( nEndPos < nLen ) in UpdateRange() 614 if( cClose == (cCh = aActText.GetChar( nEndPos )) /*|| in UpdateRange() 620 ++nEndPos; in UpdateRange() 624 (sal_uInt16)aSelection.Max() <= nEndPos + 1 )) in UpdateRange() 630 aActText.Erase( nStartPos, nEndPos - nStartPos ); in UpdateRange()
|
/trunk/main/starmath/source/ |
H A D | edit.cxx | 84 || (aSel.nStartPara == aSel.nEndPara && aSel.nStartPos < aSel.nEndPos) ) in SmGetLeftSelectionPart() 90 nPos = aSel.nEndPos; in SmGetLeftSelectionPart() 686 bRes = !eSelection.nStartPos && (eSelection.nEndPos == Text.Len () - 1); in IsAllSelected() 713 aSelection.nEndPos = aSelection.nStartPos; in InsertCommand() 727 … aSelection.nEndPos = aSelection.nEndPos + sal::static_int_cast< xub_StrLen >(aText.Len()); in InsertCommand() 728 aSelection.nStartPos = aSelection.nEndPos; in InsertCommand() 760 sal_uInt16 Pos = eSelection.nEndPos; in SelNextMark()
|
/trunk/main/l10ntools/source/ |
H A D | tagtest.cxx | 775 sal_uInt16 nEndPos = aSource.SearchAscii( "]", nStyle2StartPos); in GetNextTokenString() local 776 if ( nEndPos == STRING_NOTFOUND ) in GetNextTokenString() 781 nPos = nEndPos; in GetNextTokenString() 783 return aSource.Copy( nStyle2StartPos, nEndPos-nStyle2StartPos +1 ); in GetNextTokenString() 787 sal_uInt16 nEndPos = aSource.SearchAscii( "\\>", nStyle3StartPos); in GetNextTokenString() local 789 while ( nQuotedBackPos <= nEndPos && nQuotedBackPos != STRING_NOTFOUND ) in GetNextTokenString() 791 nEndPos = aSource.SearchAscii( "\\>", nQuotedBackPos +2); in GetNextTokenString() 794 if ( nEndPos == STRING_NOTFOUND ) in GetNextTokenString() 803 nPos = nEndPos; in GetNextTokenString() 805 return aSource.Copy( nStyle3StartPos, nEndPos-nStyle3StartPos +2 ); in GetNextTokenString()
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | textuno.cxx | 488 aSelection.nStartPos = aSelection.nEndPos; in insertTextContent() 500 aSelection.nEndPos = aSelection.nStartPos + 1; in insertTextContent() 506 aSelection.nStartPos = aSelection.nEndPos; in insertTextContent() 662 aNewSel.nEndPos = aNewSel.nStartPos; in getStart() 679 aNewSel.nStartPos = aNewSel.nEndPos; in getEnd() 766 aNewSel.nEndPos = aNewSel.nStartPos; in getStart() 783 aNewSel.nStartPos = aNewSel.nEndPos; in getEnd() 870 aNewSel.nEndPos = aNewSel.nStartPos; in getStart() 887 aNewSel.nStartPos = aNewSel.nEndPos; in getEnd()
|
/trunk/main/basctl/source/basicide/ |
H A D | bastypes.cxx | 701 sal_Int32 nEndPos = 0; in CutLines() local 716 nEndPos = nStartPos; in CutLines() 718 nEndPos = searchEOL( rStr, nEndPos+1 ); in CutLines() 720 if ( nEndPos == -1 ) // kann bei letzter Zeile passieren in CutLines() 721 nEndPos = rStr.getLength(); in CutLines() 723 nEndPos++; in CutLines() 725 ::rtl::OUString aEndStr = rStr.copy( nEndPos ); in CutLines()
|
/trunk/main/sc/source/filter/excel/ |
H A D | excform.cxx | 228 sal_Size nEndPos = aIn.GetRecPos() + nFormulaLen; in Convert() local 230 while( (aIn.GetRecPos() < nEndPos) && !bError ) in Convert() 860 else if( aIn.GetRecPos() != nEndPos ) in Convert() 883 aIn.Seek( nEndPos ); in Convert() 921 sal_Size nEndPos = aIn.GetRecPos() + nFormulaLen; in Convert() local 923 while( (aIn.GetRecPos() < nEndPos) && !bError ) in Convert() 1304 else if( aIn.GetRecPos() != nEndPos ) in Convert() 1313 aIn.Seek( nEndPos ); in Convert() 1338 sal_Size nEndPos = rStrm.GetRecPos() + nLen; in GetAbsRefs() local 1340 while( rStrm.IsValid() && (rStrm.GetRecPos() < nEndPos) ) in GetAbsRefs() [all …]
|
H A D | xehelper.cxx | 479 aSel.nEndPos = static_cast< xub_StrLen >( aPosList.GetObject( nPos ) ); in lclCreateFormattedString() 480 String aXclPortionText( aParaText, aSel.nStartPos, aSel.nEndPos - aSel.nStartPos ); in lclCreateFormattedString() 491 if( aSel.nStartPos + 1 == aSel.nEndPos ) in lclCreateFormattedString() 540 aSel.nStartPos = aSel.nEndPos; in lclCreateFormattedString() 760 aSel.nEndPos = static_cast< xub_StrLen >( aPosList.GetObject( nPos ) ); in AppendPortion() 761 if( aSel.nStartPos < aSel.nEndPos ) in AppendPortion() 847 if( (aSel.nStartPos + 1 == aSel.nEndPos) && // fields are single characters in AppendPortion() 900 aSel.nStartPos = aSel.nEndPos; in AppendPortion()
|
/trunk/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, 122 …bool ManualAction( SCCOLROW nStartPos, SCCOLROW nEndPos, bool bShow, ScTable& r…
|
/trunk/main/tools/source/stream/ |
H A D | vcompat.cxx | 63 const sal_uInt32 nEndPos = mpRWStm->Tell(); in ~VersionCompat() local 66 *mpRWStm << ( nEndPos - mnTotalSize ); in ~VersionCompat() 67 mpRWStm->Seek( nEndPos ); in ~VersionCompat()
|
/trunk/main/svtools/source/misc/ |
H A D | imap3.cxx | 76 const sal_uLong nEndPos = pRWStm->Tell(); in ~IMapCompat() local 79 *pRWStm << (sal_uInt32) ( nEndPos - nTotalSize ); in ~IMapCompat() 80 pRWStm->Seek( nEndPos ); in ~IMapCompat()
|
/trunk/main/sc/source/filter/html/ |
H A D | htmlpars.cxx | 208 pActEntry->aSel.nStartPos = pE->aSel.nEndPos; in NewActEntry() 212 pActEntry->aSel.nEndPos = pActEntry->aSel.nStartPos; in NewActEntry() 221 pE->aSel.nEndPos = rSel.nEndPos; in EntryEnd() 730 while ( rSel.nEndPos == 0 && rSel.nEndPara > rSel.nStartPara ) in CloseEntry() 733 rSel.nEndPos = pEdit->GetTextLen( rSel.nEndPara ); in CloseEntry() 805 rS.WriteNumber( aDebugSel.nEndPos ); rS << endl; in IMPL_LINK() 859 if ( pInfo->aSelection.nEndPos ) in IMPL_LINK() 1781 aSel.nEndPos = aSel.nStartPos; in AdjustStart() 1788 … ((aSel.nEndPara == rInfo.aSelection.nEndPara) && (aSel.nEndPos <= rInfo.aSelection.nEndPos)), in AdjustEnd() 1792 aSel.nEndPos = rInfo.aSelection.nEndPos; in AdjustEnd() [all …]
|
/trunk/main/filter/source/filtertracer/ |
H A D | filtertracer.cxx | 233 sal_Int32 nStartPos, sal_Int32 nEndPos ) throw (::com::sun::star::uno::RuntimeException) in searchForward() argument 237 mxTextSearch->searchForward( rSearchStr, nStartPos, nEndPos ); in searchForward() 244 sal_Int32 nStartPos, sal_Int32 nEndPos ) throw (::com::sun::star::uno::RuntimeException) in searchBackward() argument 248 mxTextSearch->searchBackward( rSearchStr, nStartPos, nEndPos ); in searchBackward()
|