/aoo4110/main/sw/source/core/unocore/ |
H A D | XMLRangeHelper.cxx | 181 while( nDelimiterPos < nEndPos && in lcl_getCellAddressFromXMLString() 195 nDelimiterPos >= nEndPos ) in lcl_getCellAddressFromXMLString() 224 nNextDelimiterPos < nEndPos; in lcl_getCellAddressFromXMLString() 254 while( nDelimiterPos < nEndPos && in lcl_getCellRangeAddressFromXMLString() 267 if( nDelimiterPos == nEndPos ) in lcl_getCellRangeAddressFromXMLString() 313 sal_Int32 nEndPos = nStartPos; in getCellRangeFromXMLString() local 321 nEndPos < nLength; in getCellRangeFromXMLString() 328 nEndPos++; in getCellRangeFromXMLString() 332 while( nEndPos < nLength && in getCellRangeFromXMLString() 337 ++nEndPos; in getCellRangeFromXMLString() [all …]
|
/aoo4110/main/chart2/source/tools/ |
H A D | XMLRangeHelper.cxx | 181 while( nDelimiterPos < nEndPos && in lcl_getCellAddressFromXMLString() 224 nNextDelimiterPos < nEndPos; in lcl_getCellAddressFromXMLString() 254 while( nDelimiterPos < nEndPos && in lcl_getCellRangeAddressFromXMLString() 267 if( nDelimiterPos == nEndPos ) in lcl_getCellRangeAddressFromXMLString() 319 sal_Int32 nEndPos = nStartPos; in getCellRangeFromXMLString() local 327 nEndPos < nLength; in getCellRangeFromXMLString() 328 nStartPos = ++nEndPos, i++ ) in getCellRangeFromXMLString() 334 nEndPos++; in getCellRangeFromXMLString() 338 while( nEndPos < nLength && in getCellRangeFromXMLString() 343 ++nEndPos; in getCellRangeFromXMLString() [all …]
|
/aoo4110/main/sc/source/ui/pagedlg/ |
H A D | scuitphfedit.cxx | 585 aSel.nEndPos = aPageEntry.Len(); in IsPageEntry() 589 aSel.nEndPos++; in IsPageEntry() 679 ++aSel.nEndPos; in ProcessDefinedListSel() 684 aSel.nEndPos = sal::static_int_cast<xub_StrLen>( aSel.nEndPos + aPageOfEntry.Len() ); in ProcessDefinedListSel() 723 ++aSel.nEndPos; in ProcessDefinedListSel() 728 aSel.nStartPos = aSel.nEndPos; in ProcessDefinedListSel() 729 aSel.nEndPos = sal::static_int_cast<xub_StrLen>( aSel.nEndPos + aPageEntry.Len() ); in ProcessDefinedListSel() 756 ++aSel.nEndPos; in ProcessDefinedListSel() 759 aSel.nEndPos = sal::static_int_cast<xub_StrLen>( aSel.nEndPos + aCommaSpace.Len() ); in ProcessDefinedListSel() 777 ++aSel.nEndPos; in ProcessDefinedListSel() [all …]
|
/aoo4110/main/editeng/source/misc/ |
H A D | svxacorr.cxx | 470 for( ; nSttPos < nEndPos; --nEndPos ) in FnCptlSttWrd() 475 if( nSttPos+2 < nEndPos && in FnCptlSttWrd() 516 for( ; nSttPos < nEndPos; --nEndPos ) in FnChgOrdinalNumber() 520 if( 2 < nEndPos - nSttPos && in FnChgOrdinalNumber() 559 rDoc.SetAttr( nEndPos - 2, nEndPos, in FnChgOrdinalNumber() 735 else if ( cChar == '/' && nEndPos > 1 && rTxt.Len() > (nEndPos - 1) ) in FnAddNonBrkSpace() 742 rDoc.Delete( nEndPos - 2, nEndPos - 1 ); in FnAddNonBrkSpace() 773 if( ++nEndPos != rTxt.Len() && in FnChgWeightUnderl() 777 --nEndPos; in FnChgWeightUnderl() 825 rDoc.Delete( nEndPos, nEndPos + 1 ); in FnChgWeightUnderl() [all …]
|
/aoo4110/main/sc/source/core/tool/ |
H A D | reffind.cxx | 88 void ScRefFinder::ToggleRel( xub_StrLen nStartPos, xub_StrLen nEndPos ) in ToggleRel() argument 97 if ( nEndPos < nStartPos ) in ToggleRel() 99 xub_StrLen nTemp = nStartPos; nStartPos = nEndPos; nEndPos = nTemp; in ToggleRel() 103 if (nEndPos) in ToggleRel() 104 --nEndPos; in ToggleRel() 105 while (nEndPos+1 < nLen && IsText(pSource[nEndPos + 1]) ) in ToggleRel() 106 ++nEndPos; in ToggleRel() 115 while ( nLoopStart <= nEndPos ) in ToggleRel() 120 while ( nEStart <= nEndPos && !IsText(pSource[nEStart]) ) in ToggleRel() 125 while ( nEEnd <= nEndPos && IsText(bQuote,pSource[nEEnd]) ) in ToggleRel() [all …]
|
/aoo4110/main/editeng/inc/editeng/ |
H A D | editdata.hxx | 129 xub_StrLen nEndPos; member 131 ESelection() : nStartPara( 0 ), nStartPos( 0 ), nEndPara( 0 ), nEndPos( 0 ) {} in ESelection() 137 nEndPos( nEPos ) in ESelection() 145 nEndPos( nPos ) in ESelection() 159 return ( nStartPara != nEndPara ) || ( nStartPos != nEndPos ); in HasRange() 165 ( nEndPara == 0 ) && ( nEndPos == 0 ) ); in IsZero() 171 ( nEndPara == rS.nEndPara ) && ( nEndPos == rS.nEndPos ) ); in IsEqual() 180 ( ( nEndPara == rS.nStartPara ) && ( nEndPos < rS.nStartPos ) && !IsEqual( rS ) ) ) in IsLess() 205 else if ( ( nStartPara == nEndPara ) && ( nStartPos > nEndPos ) ) in Adjust() 211 nStartPara = nEndPara; nStartPos = nEndPos; in Adjust() [all …]
|
H A D | svxacorr.hxx | 94 virtual sal_Bool ChgAutoCorrWord( xub_StrLen& rSttPos, xub_StrLen nEndPos, 264 xub_StrLen& rStt, xub_StrLen nEndPos, 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,
|
/aoo4110/main/svl/source/filerec/ |
H A D | filerec.cxx | 56 #define SFX_REC_MINI_HEADER(nPreTag,nStartPos,nEndPos) \ argument 108 sal_uInt32 nEndPos = _pStream->Tell(); in Close() local 114 _pStream->Seek( nEndPos ); in Close() 118 return nEndPos; in Close() 125 sal_uInt32 nEndPos = _pStream->Tell(); in Close() local 129 _pStream->Seek( nEndPos ); in Close() 134 DbgOutf( "SfxFileRec: written record until %ul", nEndPos ); in Close() 690 _pStream->Seek(nEndPos); in Close() 691 return nEndPos; in Close() 834 _pStream->Seek(nEndPos); in Close() [all …]
|
/aoo4110/main/sw/source/core/crsr/ |
H A D | findattr.cxx | 676 xub_StrLen nSttPos = Start(), nEndPos = End(); in CheckStack() local 709 xub_StrLen nEndPos, nSttPos; in lcl_SearchForward() local 715 nEndPos = rCmpArr.GetNdEnd(); in lcl_SearchForward() 746 nEndPos = rCmpArr.GetNdEnd(); in lcl_SearchForward() 775 lcl_SetAttrPam( rPam, nSttPos, &nEndPos, sal_True ); in lcl_SearchForward() 783 xub_StrLen nEndPos, nSttPos; in lcl_SearchBackward() local 789 nEndPos = rCmpArr.GetNdEnd(); in lcl_SearchBackward() 810 nEndPos = rCmpArr.GetNdEnd(); in lcl_SearchBackward() 822 nEndPos = rCmpArr.GetNdEnd(); in lcl_SearchBackward() 835 nEndPos = *pAttr->GetAnyEnd(); in lcl_SearchBackward() [all …]
|
/aoo4110/main/editeng/source/editeng/ |
H A D | impedit5.cxx | 360 xub_StrLen nEndPos = pNode->Len(); in GetAttribs() local 364 nEndPos = aSel.Max().GetIndex(); in GetAttribs() 372 aEditDoc.FindAttribs( pNode, nStartPos, nEndPos, aCurSet ); in GetAttribs() 568 xub_StrLen nEndPos = pNode->Len(); in SetAttribs() local 572 nEndPos = aSel.Max().GetIndex(); in SetAttribs() 606 if ( pAttr->GetStart() > nEndPos ) in SetAttribs() 627 if ( !pNode->Len() || ( nStartPos != nEndPos ) ) in SetAttribs() 666 xub_StrLen nEndPos = pNode->Len(); in RemoveCharAttribs() local 670 nEndPos = aSel.Max().GetIndex(); in RemoveCharAttribs() 819 xub_StrLen nEndPos = pNode->Len(); in ParaAttribsToCharAttribs() local [all …]
|
H A D | impedit4.cxx | 283 sal_uInt16 nEndPos = pNode->Len(); in WriteText() local 289 nEndPos = aSel.Max().GetIndex(); in WriteText() 628 sal_uInt16 nEndPos = pNode->Len(); in WriteRTF() local 655 nEndPos = aSel.Max().GetIndex(); in WriteRTF() 701 nE = nEndPos; in WriteRTF() 1089 sal_uInt16 nEndPos = pNode->Len(); in CreateBinTextObject() local 1096 nEndPos = aSel.Max().GetIndex(); in CreateBinTextObject() 2754 nEndPos = rStartPos.GetIndex(); in ImpSearch() 2861 nEndPos = aSel.Max().GetIndex(); in TransliterateText() 2864 sal_uInt16 nCurrentEnd = nEndPos; in TransliterateText() [all …]
|
/aoo4110/main/sc/source/filter/excel/ |
H A D | xihelper.cxx | 220 aSelection.nStartPos = aSelection.nEndPos; in lclCreateTextObject() 227 aSelection.nEndPos = 0; in lclCreateTextObject() 230 ++aSelection.nEndPos; in lclCreateTextObject() 283 maSel.nStartPos = maSel.nEndPos = 0; in XclImpHFPortionInfo() 549 rSel.nStartPos = rSel.nEndPos; in SetAttribs() 569 …ckInsertText( maCurrText, ESelection( rSel.nEndPara, rSel.nEndPos, rSel.nEndPara, rSel.nEndPos ) ); in InsertText() 570 rSel.nEndPos = rSel.nEndPos + maCurrText.Len(); in InsertText() 579 …kInsertField( rFieldItem, ESelection( rSel.nEndPara, rSel.nEndPos, rSel.nEndPara, rSel.nEndPos ) ); in InsertField() 580 ++rSel.nEndPos; in InsertField() 587 …sertText( String( '\n' ), ESelection( rSel.nEndPara, rSel.nEndPos, rSel.nEndPara, rSel.nEndPos ) ); in InsertLineBreak() [all …]
|
H A D | excform8.cxx | 125 sal_Size nEndPos = aIn.GetRecPos() + nFormulaLen; in Convert() local 131 while( (aIn.GetRecPos() < nEndPos) && !bError ) in Convert() 847 else if( aIn.GetRecPos() != nEndPos ) in Convert() 865 aIn.Seek( nEndPos ); in Convert() 900 while( (aIn.GetRecPos() < nEndPos) && !bError ) in Convert() 1206 else if( aIn.GetRecPos() != nEndPos ) in Convert() 1213 aIn.Seek( nEndPos ); in Convert() 1354 else if( rStrm.GetRecPos() != nEndPos ) in ConvertExternName() 1367 rStrm.Seek(nEndPos); in ConvertExternName() 1435 sal_Size nEndPos = aIn.GetRecPos() + nLen; in GetAbsRefs() local [all …]
|
/aoo4110/main/svtools/source/filter/wmf/ |
H A D | enhwmf.cxx | 266 if ( nNextPos > nEndPos ) in ReadEnhWMF() 388 if ( ( nPoly * sizeof(sal_uInt16) ) <= ( nEndPos - pWMF->Tell() ) ) in ReadEnhWMF() 857 if ( nSize <= ( nEndPos - nStartPos ) ) in ReadEnhWMF() 919 if ( nSize <= ( nEndPos - nStartPos ) ) in ReadEnhWMF() 973 if ( nSize <= ( nEndPos - nStartPos ) ) in ReadEnhWMF() 1084 if ( nLen <= ( nEndPos - pWMF->Tell() ) ) in ReadEnhWMF() 1403 pWMF->Seek(nEndPos); in ReadEnhWMF() 1443 *pWMF >> nEndPos; // size of metafile in ReadHeader() 1444 nEndPos += nStartPos; in ReadHeader() 1448 if ( pWMF->Tell() < nEndPos ) in ReadHeader() [all …]
|
/aoo4110/main/sw/source/core/txtnode/ |
H A D | txatritr.cxx | 126 const sal_uInt16 nEndPos = *pHt->End(); in Next() local 127 if( nChgPos >= nEndPos ) in Next() 141 const sal_uInt16 nEndPos = *pHt->End(); in Next() local 142 if( nChgPos >= nEndPos ) in Next() 144 nChgPos = nEndPos; in Next() 170 sal_uInt16 nIns = 0, nEndPos = *rAttr.End(); in AddToStack() local 172 if( *((SwTxtAttr*)aStack[ nIns ] )->GetEnd() > nEndPos ) in AddToStack()
|
/aoo4110/main/oox/source/dump/ |
H A D | oledumper.cxx | 199 if( mxStrm->tell() + 24 == nEndPos ) in dumpUrlMoniker() 205 dumpRemainingTo( nEndPos ); in dumpUrlMoniker() 223 dumpRemainingTo( nEndPos ); in dumpFileMoniker() 231 if( mxStrm->tell() < nEndPos ) in dumpItemMoniker() 233 mxStrm->seek( nEndPos ); in dumpItemMoniker() 238 if( mxStrm->tell() < nEndPos ) in dumpItemMoniker() 240 mxStrm->seek( nEndPos ); in dumpItemMoniker() 630 dumpRemainingTo( nEndPos ); in dumpHlinks() 758 implDumpCommonExtra( nEndPos ); in dumpComCtlCommon() 759 dumpRemainingTo( nEndPos ); in dumpComCtlCommon() [all …]
|
/aoo4110/main/sw/source/filter/ww8/dump/ |
H A D | ww8scan.cxx | 3093 p->nEndPos = nCpEnd - in GetSprms() 3099 p->nEndPos = nCpEnd; in GetSprms() 3167 p->nEndPos = nAttrEnd; in GetSprms() 3174 p->nEndPos = rSBase.WW8Fc2Cp( p->nEndPos ); in GetSprms() 3602 p->nEndPos = nP; in GetSprms() 4015 pChp->nEndPos--; in AdjustEnds() 4020 pSep->nEndPos--; in AdjustEnds() 4026 if( (rDesc.nEndPos == nLineEnd) && (rDesc.nEndPos > rDesc.nStartPos) ) in AdjustEnds() 4051 ASSERT(nCpOfs <= nEndPos, in ReduceByOffset() 4053 nEndPos -= nCpOfs; in ReduceByOffset() [all …]
|
/aoo4110/main/oox/source/vml/ |
H A D | vmlformatting.cxx | 95 sal_Int32 nEndPos = 0; in decodePercent() local 96 if( !lclExtractDouble( fValue, nEndPos, rValue ) ) in decodePercent() 99 if( nEndPos == rValue.getLength() ) in decodePercent() 102 if( (nEndPos + 1 == rValue.getLength()) && (rValue[ nEndPos ] == '%') ) in decodePercent() 125 sal_Int32 nEndPos = 0; in decodeMeasureToEmu() local 126 if( !lclExtractDouble( fValue, nEndPos, rValue ) || (fValue == 0.0) ) in decodeMeasureToEmu() 132 if( (0 < nEndPos) && (nEndPos < rValue.getLength()) ) in decodeMeasureToEmu() 133 aUnit = rValue.copy( nEndPos ); in decodeMeasureToEmu()
|
/aoo4110/main/sc/source/core/data/ |
H A D | olinetab.cxx | 332 void ScOutlineArray::RemoveSub( SCCOLROW nStartPos, SCCOLROW nEndPos, sal_uInt16 nLevel ) in RemoveSub() argument 346 if ( nStart>=nStartPos && nEnd<=nEndPos ) in RemoveSub() 356 void ScOutlineArray::PromoteSub( SCCOLROW nStartPos, SCCOLROW nEndPos, sal_uInt16 nStartLevel ) in PromoteSub() argument 376 if ( nStart>=nStartPos && nEnd<=nEndPos ) in PromoteSub() 597 SCCOLROW nEndPos = nStartPos + nSize - 1; in DeleteSpace() local 611 if ( nEntryStart > nEndPos ) // rechts in DeleteSpace() 613 else if ( nEntryStart < nStartPos && nEntryEnd >= nEndPos ) // aussen in DeleteSpace() 618 if ( nEntryStart >= nStartPos && nEntryEnd <= nEndPos ) // innen in DeleteSpace() 624 pEntry->SetPosSize( nStartPos, static_cast<SCSIZE>(nEntryEnd-nEndPos) ); in DeleteSpace() 637 bool ScOutlineArray::ManualAction( SCCOLROW nStartPos, SCCOLROW nEndPos, bool bShow, ScTable& rTabl… in ManualAction() argument [all …]
|
/aoo4110/main/sc/source/ui/app/ |
H A D | inputhdl.cxx | 751 if( aSel.nEndPos ) in ShowTipCursor() 983 if ( aSel.nEndPos > 0 ) in UseFormulaData() 1154 --aSel.nEndPos; in lcl_CompleteFunction() 1184 --aSel.nEndPos; in lcl_CompleteFunction() 1354 else if ( aSel.nEndPos ) in PasteManualTip() 1414 ++aSel.nEndPos; in SkipClosingPar() 1466 if ( aSel.nEndPos == nParLen ) in UseColData() 2048 || rSel.nStartPos != aSel.nStartPos || rSel.nEndPos != aSel.nEndPos ) in lcl_SetTopSelection() 2258 aSel.nStartPos = aSel.nEndPos; in RemoveSelection() 2931 --aSel.nEndPos; in InsertFunction() [all …]
|
/aoo4110/main/editeng/source/uno/ |
H A D | unotext.cxx | 176 rSel.nEndPos = aMaxSelection.nEndPos; in CheckSelection() 378 aNewSel.nEndPos = aNewSel.nStartPos; in getStart() 407 aNewSel.nStartPos = aNewSel.nEndPos; in getEnd() 1471 maSelection.nEndPos = nNewPos; in GoRight() 1572 if( r1.nEndPos == r2.nEndPos ) in compareRegionEnds() 1575 return r1.nEndPos < r2.nEndPos ? 1 : -1; in compareRegionEnds() 1937 aRange.nEndPos = aRange.nStartPos; in insertControlCharacter() 1942 aRange.nStartPos = aRange.nEndPos; in insertControlCharacter() 1949 aRange.nEndPos += 1; in insertControlCharacter() 1976 aRange.nEndPos = 0; in insertControlCharacter() [all …]
|
/aoo4110/main/sd/source/ui/view/ |
H A D | outlnvs2.cxx | 360 if ( aSel.nStartPos <= aSel.nEndPos ) in FuTemporaryModify() 361 aSel.nEndPos = aSel.nStartPos + 1; in FuTemporaryModify() 363 aSel.nStartPos = aSel.nEndPos + 1; in FuTemporaryModify() 557 if( aSel.nStartPos == aSel.nEndPos ) in FuTemporaryModify() 558 aSel.nEndPos++; in FuTemporaryModify() 594 if( aSel.nStartPos == aSel.nEndPos ) in FuTemporaryModify() 597 aSel.nEndPos++; in FuTemporaryModify() 605 aSel.nEndPos--; in FuTemporaryModify()
|
/aoo4110/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()
|
/aoo4110/main/svtools/source/edit/ |
H A D | xtextedt.cxx | 181 sal_uInt16 nEndPos = aText.Len(); in Search() local 187 nEndPos = aStartPaM.GetIndex(); in Search() 192 nEndPos = aSel.GetEnd().GetIndex(); in Search() 198 bFound = aSearcher.SearchFrwrd( aText, &nStartPos, &nEndPos ); in Search() 200 bFound = aSearcher.SearchBkwrd( aText, &nEndPos, &nStartPos ); in Search() 207 rSel.GetEnd().GetIndex() = nEndPos; in Search() 211 if( nEndPos == sal::static_int_cast<sal_uInt16>(-1) ) // sal_uInt16 for 0 and -1 ! in Search()
|
/aoo4110/main/sw/source/filter/ww8/ |
H A D | ww8scan.cxx | 3507 p->nEndPos = nAttrEnd; in GetSprms() 3514 p->nEndPos = rSBase.WW8Fc2Cp( p->nEndPos ); in GetSprms() 3814 p->nEndPos = p->nStartPos + 1; in GetSprms() 3985 p->nEndPos = nP; in GetSprms() 4461 pChp->nEndPos--; in AdjustEnds() 4466 pSep->nEndPos--; in AdjustEnds() 4472 if( (rDesc.nEndPos == nLineEnd) && (rDesc.nEndPos > rDesc.nStartPos) ) in AdjustEnds() 4495 if( nEndPos != WW8_CP_MAX ) in ReduceByOffset() 4497 ASSERT(nCpOfs <= nEndPos, in ReduceByOffset() 4499 nEndPos -= nCpOfs; in ReduceByOffset() [all …]
|