/trunk/main/linguistic/source/ |
H A D | gciterator.cxx | 731 sal_Int32 nEndPos = -1; in checkSentenceAtPosition() local 747 nEndPos = aTmpRes.nBehindEndOfSentencePosition; in checkSentenceAtPosition() 749 … if ((nErrorPosInPara< 0 || nStartPos <= nErrorPosInPara) && nErrorPosInPara < nEndPos) in checkSentenceAtPosition() 752 if (nEndPos == -1) // no result from grammar checker in checkSentenceAtPosition() 753 nEndPos = nSuggestedEndOfSentencePos; in checkSentenceAtPosition() 754 nStartPos = lcl_SkipWhiteSpaces( rText, nEndPos ); in checkSentenceAtPosition() 755 aTmpRes.nBehindEndOfSentencePosition = nEndPos; in checkSentenceAtPosition()
|
/trunk/main/oox/source/ole/ |
H A D | olehelper.cxx | 273 sal_Int64 nEndPos = rInStrm.tell() + ::std::max< sal_Int32 >( nBytes, 0 ); in importStdHlink() local 277 rInStrm.seek( nEndPos ); in importStdHlink() 287 sal_Int64 nEndPos = rInStrm.tell() + ::std::max< sal_Int32 >( nBytes, 0 ); in importStdHlink() local 289 rInStrm.seek( nEndPos ); in importStdHlink()
|
H A D | axbinaryreader.cxx | 199 sal_Int64 nEndPos = rInStrm.tell() + nChars * (bCompressed ? 1 : 2); in lclReadString() local 202 rInStrm.seek( nEndPos ); in lclReadString() 227 sal_Int64 nEndPos = rInStrm.tell() + mnSize; in readProperty() local 228 while( rInStrm.tell() < nEndPos ) in readProperty()
|
/trunk/main/unotools/source/streaming/ |
H A D | streamwrap.cxx | 220 sal_uInt32 nEndPos = m_pSvStream->Tell(); in getLength() local 225 return (sal_Int64)nEndPos; in getLength() 316 sal_uInt32 nEndPos = rStream.Tell(); in getLength() local 321 return (sal_Int64)nEndPos; in getLength()
|
/trunk/main/sc/source/filter/rtf/ |
H A D | rtfparse.cxx | 94 && pE->aSel.nStartPos == pE->aSel.nEndPos) in Read() 98 && pE->aSel.nEndPos == 0 )) ) in Read() 115 pE->aSel.nEndPos = pEdit->GetTextLen( aSel.nEndPara - 1 ); in EntryEnd() 202 if ( pInfo->aSelection.nEndPos ) in IMPL_LINK()
|
/trunk/main/sc/source/ui/view/ |
H A D | tabview.cxx | 1624 SCROW nEndPos = MAXROW; in UpdateHeaderWidth() local 1630 nEndPos = *pPosY; in UpdateHeaderWidth() 1632 nEndPos = aViewData.GetPosY( SC_SPLIT_BOTTOM ); in UpdateHeaderWidth() 1633 nEndPos += aViewData.CellsAtY( nEndPos, 1, SC_SPLIT_BOTTOM, SC_SIZE_NONE ); // VisibleCellsY in UpdateHeaderWidth() 1634 if (nEndPos > MAXROW) in UpdateHeaderWidth() 1635 nEndPos = lcl_LastVisible( aViewData ); in UpdateHeaderWidth() 1648 if ( nTopEnd > nEndPos ) in UpdateHeaderWidth() 1649 nEndPos = nTopEnd; in UpdateHeaderWidth() 1657 if (nEndPos>10000) in UpdateHeaderWidth() 1658 nEndPos = 10000; in UpdateHeaderWidth() [all …]
|
H A D | olinewin.cxx | 354 long nStartPos, nEndPos, nImagePos; in GetImagePos() local 355 bRet = GetEntryPos( nLevel, nEntry, nStartPos, nEndPos, nImagePos ); in GetImagePos() 424 long nStartPos, nEndPos, nImagePos; in ItemHit() local 425 if ( GetEntryPos( nLevel, nEntry, nStartPos, nEndPos, nImagePos ) ) in ItemHit() 439 … ::std::swap( nStartPos, nEndPos ); // in RTL mode, nStartPos is the larger value in ItemHit() 440 if ( (nStartPos <= nEntryMousePos) && (nEntryMousePos <= nEndPos) ) in ItemHit()
|
/trunk/main/editeng/source/editeng/ |
H A D | editview.cxx | 235 …on( PIMPEE->ConvertSelection( rESel.nStartPara, rESel.nStartPos, rESel.nEndPara, rESel.nEndPos ) ); in SetSelection() 274 aSelection.nEndPos = pImpEditView->GetEditSelection().Max().GetIndex(); in GetSelection() 1228 aSel.nEndPos = 0xFFFF; in ExecuteSpellPopup() 1489 const sal_uInt16 nEndPos = (nPara == aSel.nEndPara) ? aSel.nEndPos : 0xffff; in ChangeFontSize() local 1496 if( (nPortionEnd < nBeginPos) || (nPortionStart > nEndPos) ) in ChangeFontSize() 1501 if( nPortionEnd > nEndPos ) in ChangeFontSize() 1502 nPortionEnd = nEndPos; in ChangeFontSize() 1644 return Selection( 0, aSelection.nEndPos - aSelection.nStartPos ); in GetSurroundingTextSelection() 1650 return Selection( aSelection.nStartPos, aSelection.nEndPos ); in GetSurroundingTextSelection()
|
H A D | impedit.cxx | 1651 ESelection aNewSel( pDragAndDropInfo->aDropSel.nEndPara, pDragAndDropInfo->aDropSel.nEndPos, in dragDropEnd() 1652 pDragAndDropInfo->aDropSel.nEndPara, pDragAndDropInfo->aDropSel.nEndPos ); in dragDropEnd() 1666 nMoreChars = pDragAndDropInfo->aDropSel.nEndPos - pDragAndDropInfo->aDropSel.nStartPos; in dragDropEnd() 1668 nMoreChars = pDragAndDropInfo->aDropSel.nEndPos; in dragDropEnd() 1672 aToBeDelSel.nEndPos = in dragDropEnd() 1673 aToBeDelSel.nEndPos + nMoreChars; in dragDropEnd() 1688 … nLessChars = pDragAndDropInfo->aBeginDragSel.nEndPos - pDragAndDropInfo->aBeginDragSel.nStartPos; in dragDropEnd() 1690 nLessChars = pDragAndDropInfo->aBeginDragSel.nEndPos; in dragDropEnd() 1693 aNewSel.nEndPos = aNewSel.nEndPos - nLessChars; in dragDropEnd() 1780 pDragAndDropInfo->aDropSel.nEndPos = aNewSel.Max().GetIndex(); in drop()
|
/trunk/main/sw/source/core/txtnode/ |
H A D | txtedt.cxx | 727 nEndPos = nEnde; in SwScanner() 776 if ( nBegin >= rText.Len() || nBegin >= nEndPos ) in NextWord() 851 aBound.endPos = Min( (xub_StrLen)aBound.endPos, nEndPos ); in NextWord() 1845 xub_StrLen nEndPos; in TransliterateText() local 1851 nEndPos = pIter->GetChgPos(); in TransliterateText() 1852 if( nEndPos > nEnd ) in TransliterateText() 1853 nEndPos = nEnd; in TransliterateText() 1858 nEndPos = nEnd; in TransliterateText() 1860 xub_StrLen nLen = nEndPos - nStt; in TransliterateText() 1874 nStt = nEndPos; in TransliterateText() [all …]
|
H A D | ndtxt.cxx | 3050 xub_StrLen nEndPos, in Replace0xFF() argument 3059 while( STRING_NOTFOUND != nPos && nPos < nEndPos ) in Replace0xFF() 3076 nEndPos = nEndPos + aExpand.Len(); in Replace0xFF() 3098 nEndPos = nEndPos + sExpand.Len(); in Replace0xFF() 3110 ++nPos, ++nEndPos; in Replace0xFF() 3437 xub_StrLen nEndPos = nStartPos + nDelLen; in ReplaceText() local 3439 for ( xub_StrLen nPos = nStartPos; nPos < nEndPos; ++nPos ) in ReplaceText() 3448 && (*pHint->GetStart() < nEndPos) in ReplaceText() 3449 && (*pHint->GetEnd() > nEndPos) ), in ReplaceText() 3453 --nEndPos; in ReplaceText() [all …]
|
H A D | ndhints.cxx | 268 sal_uInt16 nEndPos; in DeleteAtPos() local 269 m_HintEnds.Seek_Entry( pHt, &nEndPos ); in DeleteAtPos() 270 m_HintEnds.Remove( nEndPos ); in DeleteAtPos()
|
/trunk/main/oox/inc/oox/dump/ |
H A D | oledumper.hxx | 198 virtual void implDumpCommonExtra( sal_Int64 nEndPos ); 269 virtual void implDumpCommonExtra( sal_Int64 nEndPos ); 282 virtual void implDumpCommonExtra( sal_Int64 nEndPos ); 294 virtual void implDumpCommonExtra( sal_Int64 nEndPos ); 309 virtual void implDumpCommonExtra( sal_Int64 nEndPos );
|
/trunk/main/sw/source/core/crsr/ |
H A D | crstrvl.cxx | 1047 sal_Bool SwCrsrShell::MakeOutlineSel( sal_uInt16 nSttPos, sal_uInt16 nEndPos, in MakeOutlineSel() argument 1058 if( nSttPos > nEndPos ) // sollte jemand das vertauscht haben? in MakeOutlineSel() 1062 nSttPos = nEndPos; in MakeOutlineSel() 1063 nEndPos = nTmp; in MakeOutlineSel() 1067 SwNode* pEndNd = rOutlNds[ nEndPos ]; in MakeOutlineSel() 1073 for( ++nEndPos; nEndPos < rOutlNds.Count(); ++nEndPos ) in MakeOutlineSel() 1075 pEndNd = rOutlNds[ nEndPos ]; in MakeOutlineSel() 1083 else if( ++nEndPos < rOutlNds.Count() ) in MakeOutlineSel() 1084 pEndNd = rOutlNds[ nEndPos ]; in MakeOutlineSel() 1086 if( nEndPos == rOutlNds.Count() ) // kein Ende gefunden in MakeOutlineSel()
|
/trunk/main/basic/source/basmgr/ |
H A D | basmgr.cxx | 543 sal_uInt32 nEndPos = 0; in Store() local 548 rSStream << nEndPos; in Store() 602 nEndPos = rSStream.Tell(); in Store() 604 rSStream << nEndPos; in Store() 605 rSStream.Seek( nEndPos ); in Store() 612 sal_uInt32 nEndPos; in Create() local 616 rSStream >> nEndPos; in Create() 650 rSStream.Seek( nEndPos ); in Create() 970 sal_uInt32 nEndPos; in LoadBasicManager() local 971 *xManagerStream >> nEndPos; in LoadBasicManager() [all …]
|
/trunk/main/sd/source/ui/view/ |
H A D | drviewsb.cxx | 589 if( aSel.nStartPos == aSel.nEndPos ) in FuTemp02() 590 aSel.nEndPos++; in FuTemp02() 665 if( aSel.nStartPos == aSel.nEndPos ) in FuTemp02() 668 aSel.nEndPos++; in FuTemp02() 694 aSel.nEndPos--; in FuTemp02()
|
/trunk/main/svtools/source/edit/ |
H A D | texteng.cxx | 484 sal_uInt16 nEndPos = pNode->GetText().Len(); in GetText() local 488 nEndPos = aSel.GetEnd().GetIndex(); in GetText() 490 aText += pNode->GetText().Copy( nStartPos, nEndPos-nStartPos ); in GetText() 2703 sal_uInt16 nEndPos = pNode->GetText().Len(); in Write() local 2707 nEndPos = aSel.GetEnd().GetIndex(); in Write() 2718 if ( nStartPos == nEndPos ) in Write() 2726 sal_uInt16 nTmpEnd = nEndPos; in Write() 2730 nTmpEnd = pAttr ? pAttr->GetStart() : nEndPos; in Write() 2737 nTmpEnd = Min( pAttr->GetEnd(), nEndPos ); in Write() 2749 } while ( nTmpEnd < nEndPos ); in Write() [all …]
|
/trunk/main/sw/source/filter/html/ |
H A D | htmlfldw.cxx | 360 xub_StrLen nEndPos = (xub_StrLen)pBreakIt->GetBreakIter()->endOfScript( in OutHTML_SwField() local 391 HTMLOutFuncs::Out_String( rWrt.Strm(), sExpand.Copy( nPos, nEndPos ), in OutHTML_SwField() 401 HTMLOutFuncs::Out_String( rWrt.Strm(), sExpand.Copy( nPos, nEndPos ), in OutHTML_SwField() 404 nPos = nEndPos; in OutHTML_SwField()
|
/trunk/main/svx/source/sdr/properties/ |
H A D | textproperties.cxx | 497 aSel.nEndPos = aAttrib.nStart; in ForceStyleToHardAttributes() 499 if(aSel.nStartPos != aSel.nEndPos) in ForceStyleToHardAttributes() 508 aSel.nEndPos = pEditEngine->GetTextLen(nPara); in ForceStyleToHardAttributes() 510 if(aSel.nStartPos != aSel.nEndPos) in ForceStyleToHardAttributes()
|
/trunk/main/starmath/source/ |
H A D | accessibility.cxx | 1056 return pEditEngine->GetAttribs( rSel.nStartPara, rSel.nStartPos, rSel.nEndPos, nFlags ); in GetAttribs() 1179 sal_uInt16 nEndPos = rSel.nEndPos; in GetSvxEditEngineItemState() local 1181 nEndPos = rEditEngine.GetTextLen( nPara ); in GetSvxEditEngineItemState() 1199 …if( (!bEmptyPortion && (aAttrib.nStart >= nEndPos)) || (bEmptyPortion && (aAttrib.nStart > nEndPos… in GetSvxEditEngineItemState() 1229 if( !bEmpty && !bGaps && nLastEnd < ( nEndPos - 1 ) ) in GetSvxEditEngineItemState() 1415 nEnd = aRes.nEndPos; in GetWordIndices() 1539 nRes = aSel.nEndPos = pEditEngine->GetTextLen( nPara ); in AppendTextPortion()
|
/trunk/main/svx/source/accessibility/ |
H A D | AccessibleTextHelper.cxx | 648 uno::makeAny(static_cast<sal_Int32>(maLastSelection.nEndPos)) ); in UpdateSelection() 668 aOldCursor <<= static_cast<sal_Int32>(maLastSelection.nEndPos); in UpdateSelection() 678 … uno::makeAny(static_cast<sal_Int32>(aSelection.nEndPos)), in UpdateSelection() 683 … this, aSelection.nEndPos, maLastSelection.nEndPos, aSelection.nEndPara, maLastSelection.nEndPara); in UpdateSelection() 777 ? aTmpSel.nEndPos : STRING_LEN; in UpdateSelection() 783 ? aTmpLastSel.nEndPos : STRING_LEN; in UpdateSelection()
|
/trunk/main/package/source/package/zipapi/ |
H A D | ZipFile.cxx | 742 sal_Int32 nCenLen, nCenPos = -1, nCenOff, nEndPos, nLocPos; in readCEN() local 747 nEndPos = findEND(); in readCEN() 748 if (nEndPos == -1) in readCEN() 750 aGrabber.seek(nEndPos + ENDTOT); in readCEN() 761 if ( nCenLen < 0 || nCenLen > nEndPos ) in readCEN() 764 nCenPos = nEndPos - nCenLen; in readCEN()
|
/trunk/main/sd/source/ui/notes/ |
H A D | EditWindow.cxx | 118 (aSel.nStartPara == aSel.nEndPara && aSel.nStartPos < aSel.nEndPos) in SmGetLeftSelectionPart() 125 nPos = aSel.nEndPos; in SmGetLeftSelectionPart() 685 bRes = !eSelection.nStartPos && (eSelection.nEndPos == Text.Len () - 1); in IsAllSelected() 726 sal_uInt16 Pos = eSelection.nEndPos; in SelNextMark()
|
/trunk/main/oox/source/dump/ |
H A D | xlsbdumper.cxx | 367 sal_Int64 nEndPos = ::std::min< sal_Int64 >( nStartPos + mnSize, mxStrm->size() ); in implDump() local 375 while( bValid && (mxStrm->tell() < nEndPos) ) in implDump() 453 if( nEndPos == mxStrm->tell() ) in implDump() 464 …dumpBinary( OOX_DUMP_ERRASCII( "formula-error" ), static_cast< sal_Int32 >( nEndPos - mxStrm->tell… in implDump() 889 sal_Int64 nEndPos = ::std::min< sal_Int64 >( mxStrm->tell() + nAddDataSize, mxStrm->size() ); in dumpAddTokenData() local 890 …), aEnd = maAddData.end(); (aIt != aEnd) && !mxStrm->isEof() && (mxStrm->tell() < nEndPos); ++aIt ) in dumpAddTokenData() 1334 sal_Int64 nEndPos = nStartPos + nSubRecSize; in implDumpRecordBody() local 1418 dumpRemainingTo( nEndPos ); in implDumpRecordBody()
|
/trunk/main/chart2/source/tools/ |
H A D | ObjectIdentifier.cxx | 1085 sal_Int32 nEndPos = rCID.lastIndexOf(':'); in getFullParentParticle() local 1086 if( nEndPos>=0 && nStartPos < nEndPos ) in getFullParentParticle() 1088 aRet = rCID.copy(nStartPos,nEndPos-nStartPos); in getFullParentParticle() 1103 sal_Int32 nEndPos = rCID.getLength(); in getObjectID() local 1104 aRet = rCID.copy(nStartPos,nEndPos-nStartPos); in getObjectID()
|