Home
last modified time | relevance | path

Searched refs:pStt (Results 1 – 25 of 31) sorted by relevance

12

/AOO41X/main/sw/source/filter/ascii/
H A Dparasc.cxx264 sal_Unicode *pStt = 0, *pEnd = 0, *pLastStt = 0; in ReadChars() local
317 if( pStt >= pEnd ) in ReadChars()
319 if( pLastStt != pStt ) in ReadChars()
358 pStt = pLastStt = sWork.GetBufferAccess(); in ReadChars()
359 pEnd = pStt + nNewLen; in ReadChars()
363 pStt = pLastStt = (sal_Unicode*)pArr; in ReadChars()
385 if( 0x0a == *pStt && 0x0d == cLastCR ) in ReadChars()
386 pLastStt = ++pStt; in ReadChars()
390 if( !rInput.IsEof() || !(pEnd == pStt || in ReadChars()
391 ( !*pEnd && pEnd == pStt+1 ) ) ) in ReadChars()
[all …]
/AOO41X/main/sw/source/core/bastyp/
H A Dindex.cxx366 SwIndex* pStt = const_cast<SwIndex*>(&rIdx); in Update() local
371 while( pStt && pStt->nIndex == nNewVal ) in Update()
373 pStt->nIndex = nNewVal; in Update()
374 pStt = pStt->pPrev; in Update()
376 pStt = rIdx.pNext; in Update()
377 while( pStt && pStt->nIndex >= nNewVal && in Update()
378 pStt->nIndex <= nLast ) in Update()
380 pStt->nIndex = nNewVal; in Update()
381 pStt = pStt->pNext; in Update()
383 while( pStt ) in Update()
[all …]
/AOO41X/main/sw/source/core/doc/
H A Ddocredln.cxx252 bool CheckPosition( const SwPosition* pStt, const SwPosition* pEnd ) in CheckPosition() argument
255 SwNode* pSttNode = &pStt->nNode.GetNode(); in CheckPosition()
328 SwPosition* pStt = pNewRedl->Start(), in AppendRedline() local
329 * pEnd = pStt == pNewRedl->GetPoint() ? pNewRedl->GetMark() in AppendRedline()
332 SwTxtNode* pTxtNode = pStt->nNode.GetNode().GetTxtNode(); in AppendRedline()
335 if( pStt->nContent > 0 ) in AppendRedline()
338 pStt->nContent = 0; in AppendRedline()
343 if( pStt->nContent > pTxtNode->Len() ) in AppendRedline()
346 pStt->nContent = pTxtNode->Len(); in AppendRedline()
367 if( ( *pStt == *pEnd ) && in AppendRedline()
[all …]
H A Ddocedt.cxx102 const SwPosition* pStt = pR->Start(), in _SaveRedline() local
103 * pEnd = pR->GetMark() == pStt ? pR->GetPoint() : pR->GetMark(); in _SaveRedline()
105 nStt = pStt->nNode.GetIndex() - nSttIdx; in _SaveRedline()
106 nSttCnt = pStt->nContent.GetIndex(); in _SaveRedline()
122 const SwPosition* pStt = pR->Start(), in _SaveRedline() local
123 * pEnd = pR->GetMark() == pStt ? pR->GetPoint() : pR->GetMark(); in _SaveRedline()
125 nStt = pStt->nNode.GetIndex() - nSttIdx; in _SaveRedline()
126 nSttCnt = pStt->nContent.GetIndex(); in _SaveRedline()
902 const SwPosition *pStt = rPaM.Start(), *pEnd = rPaM.End(); in MoveRange() local
903 if( !rPaM.HasMark() || *pStt >= *pEnd || (*pStt <= rPos && rPos < *pEnd)) in MoveRange()
[all …]
H A Ddocruby.cxx66 const SwPosition* pStt = _pStartCrsr->Start(), in FillRubyList() local
67 * pEnd = pStt == _pStartCrsr->GetPoint() in FillRubyList()
70 if( !bCheckEmpty || ( pStt != pEnd && *pStt != *pEnd )) in FillRubyList()
72 SwPaM aPam( *pStt ); in FillRubyList()
75 if( pEnd != pStt ) in FillRubyList()
118 const SwPosition* pStt = _pStartCrsr->Start(), in SetRubyList() local
119 * pEnd = pStt == _pStartCrsr->GetPoint() in SetRubyList()
122 if( !bCheckEmpty || ( pStt != pEnd && *pStt != *pEnd )) in SetRubyList()
125 SwPaM aPam( *pStt ); in SetRubyList()
128 if( pEnd != pStt ) in SetRubyList()
H A Ddocfmt.cxx123 ParaRstFmt( const SwPosition* pStt, const SwPosition* pEnd, in ParaRstFmt()
127 pSttNd(pStt), in ParaRstFmt()
326 const SwPosition *pStt = rRg.Start(), *pEnd = rRg.End(); in RstTxtAttrs() local
327 ParaRstFmt aPara( pStt, pEnd, pHst ); in RstTxtAttrs()
329 GetNodes().ForEach( pStt->nNode.GetIndex(), pEnd->nNode.GetIndex()+1, in RstTxtAttrs()
415 const SwPosition *pStt = pPam->Start(), *pEnd = pPam->End(); in ResetAttrs() local
416 ParaRstFmt aPara( pStt, pEnd, pHst ); in ResetAttrs()
446 SwNodeIndex aTmpStt( pStt->nNode ); in ResetAttrs()
448 if( pStt->nContent.GetIndex() ) // nur ein Teil in ResetAttrs()
470 else if( pStt->nNode != pEnd->nNode || !pStt->nContent.GetIndex() ) in ResetAttrs()
[all …]
H A Dswserv.cxx176 const SwPosition* pStt = rRange.Start(), *pEnd = rRange.End(); in SendDataChanged() local
182 bCall = *pStt <= CNTNT_TYPE.pBkmk->GetMarkEnd() in SendDataChanged()
194 bCall = pStt->nNode.GetIndex() < pNd->EndOfSectionIndex() && in SendDataChanged()
225 const SwPosition* pStt = &CNTNT_TYPE.pBkmk->GetMarkStart(), in IsLinkInServer() local
228 nSttNd = pStt->nNode.GetIndex(); in IsLinkInServer()
229 nStt = pStt->nContent.GetIndex(); in IsLinkInServer()
232 pNds = &pStt->nNode.GetNodes(); in IsLinkInServer()
H A Ddocftn.cxx415 const SwPosition* pStt = rPam.Start(), *pEnd = rPam.End(); in SetCurFtn() local
416 const sal_uLong nSttNd = pStt->nNode.GetIndex(); in SetCurFtn()
417 const xub_StrLen nSttCnt = pStt->nContent.GetIndex(); in SetCurFtn()
422 rFtnArr.SeekEntry( pStt->nNode, &nPos ); in SetCurFtn()
H A Ddocnum.cxx2010 const SwPosition *pStt = rPam.Start(), *pEnd = rPam.End(); in MoveParagraph() local
2012 sal_uLong nStIdx = pStt->nNode.GetIndex(); in MoveParagraph()
2110 … sal_uInt16 nRedlPos = GetRedlinePos( pStt->nNode.GetNode(), nsRedlineType_t::REDLINE_DELETE ); in MoveParagraph()
2113 SwPosition aStPos( *pStt ), aEndPos( *pEnd ); in MoveParagraph()
2160 SwNodeIndex aIdx( nOffset > 0 ? pEnd->nNode : pStt->nNode, nOffs ); in MoveParagraph()
2161 SwNodeRange aMvRg( pStt->nNode, 0, pEnd->nNode, +1 ); in MoveParagraph()
2168 … sal_uInt16 nRedlPos = GetRedlinePos( pStt->nNode.GetNode(), nsRedlineType_t::REDLINE_INSERT ); in MoveParagraph()
2177 (pRStt->nNode < pStt->nNode || in MoveParagraph()
2178 (pRStt->nNode == pStt->nNode && !pRStt->nContent.GetIndex()) ) && in MoveParagraph()
2210 SwPaM aPam( pStt->nNode, aMvRg.aEnd ); in MoveParagraph()
/AOO41X/main/sw/source/core/undo/
H A Dundobj.cxx94 const SwPosition *pStt = rPam.Start(); in SetValues() local
97 const SwPosition *pEnd = rPam.GetPoint() == pStt in SetValues()
107 nSttNode = pStt->nNode.GetIndex(); in SetValues()
108 nSttCntnt = pStt->nContent.GetIndex(); in SetValues()
370 const SwPosition* pStt = rPaM.Start(), *pEnd = rPaM.End(); in MoveToUndoNds() local
373 (!pStt->nContent.GetIndex() && (pStt->nNode != pEnd->nNode || in MoveToUndoNds()
374 (!pStt->nNode.GetNode().GetCntntNode() || in MoveToUndoNds()
375 pStt->nNode.GetNode().GetCntntNode()->Len() == in MoveToUndoNds()
390 SwNodeRange aRg( pStt->nNode, 0, pEnd->nNode, 1 ); in MoveToUndoNds()
561 const SwPosition *pStt = rMark < rPoint ? &rMark : &rPoint, in DelCntntIndex() local
[all …]
H A Dundel.cxx151 const SwPosition *pStt = rPam.Start(), in SwUndoDelete() local
152 *pEnd = rPam.GetPoint() == pStt in SwUndoDelete()
164 _DelBookmarks(pStt->nNode, pEnd->nNode); in SwUndoDelete()
172 nNdDiff = nSttNode - pStt->nNode.GetIndex(); in SwUndoDelete()
180 pSttTxtNd = pStt->nNode.GetNode().GetTxtNode(); in SwUndoDelete()
186 sal_Bool bMoveNds = *pStt == *pEnd // noch ein Bereich vorhanden ?? in SwUndoDelete()
188 : ( SaveCntnt( pStt, pEnd, pSttTxtNd, pEndTxtNd ) || bFromTableCopy ); in SwUndoDelete()
194 pHistory->Add( pSttTxtNd->GetTxtColl(),pStt->nNode.GetIndex(), ND_TEXTNODE ); in SwUndoDelete()
367 sal_Bool SwUndoDelete::SaveCntnt( const SwPosition* pStt, const SwPosition* pEnd, in SaveCntnt() argument
370 sal_uLong nNdIdx = pStt->nNode.GetIndex(); in SaveCntnt()
[all …]
H A Dunmove.cxx144 const SwPosition *pStt = rRange.Start(), in SetDestRange() local
145 *pEnd = rRange.GetPoint() == pStt in SetDestRange()
149 nDestSttNode = pStt->nNode.GetIndex(); in SetDestRange()
150 nDestSttCntnt = pStt->nContent.GetIndex(); in SetDestRange()
164 pStt->nNode.GetNode().GetTxtNode() && in SetDestRange()
H A Dunins.cxx593 const SwPosition * pStt( rPam.Start() ); in Impl() local
596 m_nSttNd = m_nEndNd = pStt->nNode.GetIndex(); in Impl()
597 m_nSttCnt = pStt->nContent.GetIndex(); in Impl()
602 SwTxtNode* pNd = pStt->nNode.GetNode().GetTxtNode(); in Impl()
610 sal_uLong nNewPos = pStt->nNode.GetIndex(); in Impl()
/AOO41X/main/sw/source/core/docnode/
H A Dndcopy.cxx606 const SwPosition *pStt = rPam.Start(), *pEnd = rPam.End(); in lcl_DeleteRedlines() local
609 SwNodeIndex aCorrIdx( pStt->nNode ); in lcl_DeleteRedlines()
612 pSrcDoc->GetRedline( *pStt, &n ); in lcl_DeleteRedlines()
620 SwComparePosition eCmpPos = ComparePosition( *pStt, *pEnd, *pRStt, *pREnd ); in lcl_DeleteRedlines()
635 if( *pStt < *pRStt ) in lcl_DeleteRedlines()
638 lcl_SetCpyPos( *pRStt, *pStt, *pCpyStt, in lcl_DeleteRedlines()
648 lcl_SetCpyPos( *pREnd, *pStt, *pCpyStt, in lcl_DeleteRedlines()
692 const SwPosition *pStt = rPam.Start(), *pEnd = rPam.End(); in CopyRange() local
698 if( !rPam.HasMark() || ( *pStt >= *pEnd && !bColumnSel ) ) in CopyRange()
705 sal_uLong nStt = pStt->nNode.GetIndex(), in CopyRange()
[all …]
H A Dnodes.cxx1741 SwPosition * const pStt = rPam.Start(); in MoveRange() local
1744 if( !rPam.HasMark() || *pStt >= *pEnd ) in MoveRange()
1747 if( this == &rNodes && *pStt <= rPos && rPos < *pEnd ) in MoveRange()
1751 SwNodeIndex aSttIdx( pStt->nNode ); in MoveRange()
1772 sal_Bool bOneNd = pStt->nNode == pEnd->nNode; in MoveRange()
1775 - pStt->nContent.GetIndex(); in MoveRange()
1780 sal_uLong nSttNdIdx = pStt->nNode.GetIndex() + 1; in MoveRange()
1821 pStt->nContent, nLen ); in MoveRange()
1826 pSrcNd->CutText( pDestNd, rPos.nContent, pStt->nContent, nLen ); in MoveRange()
1842 pEnd->nContent = pStt->nContent; in MoveRange()
[all …]
H A Dndsect.cxx174 const SwPosition *pStt = rRange.Start(), *pEnd = rRange.End(); in InsertSwSection() local
175 if( !pStt->nContent.GetIndex() && in InsertSwSection()
181 pStt->nNode.GetNode(), in InsertSwSection()
397 const SwPosition* pStt = rRange.Start(), in IsInsRegionAvailable() local
401 const SwNode* pNd = &pStt->nNode.GetNode(); in IsInsRegionAvailable()
410 if( !pStt->nContent.GetIndex() && pSectNd->GetIndex() in IsInsRegionAvailable()
411 == pStt->nNode.GetIndex() - 1 && pEnd->nContent.GetIndex() == in IsInsRegionAvailable()
414 SwNodeIndex aIdx( pStt->nNode, -1 ); in IsInsRegionAvailable()
429 nCmp = pStt->nNode.GetIndex(); in IsInsRegionAvailable()
479 if( !pStt->nContent.GetIndex() ) in IsInsRegionAvailable()
[all …]
H A Dndtbl.cxx666 const SwPosition *pStt = rRange.Start(), *pEnd = rRange.End(); in TextToTable() local
668 sal_uLong nCnt = pStt->nNode.GetIndex(); in TextToTable()
675 SwCntntNode * pSttCntntNd = pStt->nNode.GetNode().GetCntntNode(); in TextToTable()
677 SwPaM aOriginal( *pStt, *pEnd ); in TextToTable()
678 pStt = aOriginal.GetMark(); in TextToTable()
700 SwNodeRange aRg( pStt->nNode, pEnd->nNode ); in TextToTable()
701 if( pStt->nContent.GetIndex() ) in TextToTable()
702 SplitNode( *pStt, false ); in TextToTable()
716 if( pStt->nNode.GetIndex() >= pEnd->nNode.GetIndex() ) in TextToTable()
1135 const SwPosition *pStt = aOriginal.GetMark(); in TextToTable() local
[all …]
/AOO41X/main/sw/source/core/edit/
H A Dedattr.cxx504 const SwPosition *pStt = PCURCRSR->Start(), in GetScriptType()
505 *pEnd = pStt == PCURCRSR->GetMark() in GetScriptType()
508 if( pStt == pEnd || *pStt == *pEnd ) in GetScriptType()
510 const SwTxtNode* pTNd = pStt->nNode.GetNode().GetTxtNode(); in GetScriptType()
516 xub_StrLen nPos = pStt->nContent.GetIndex(); in GetScriptType()
521 SwIndex aIdx( pStt->nContent ); in GetScriptType()
544 SwNodeIndex aIdx( pStt->nNode ); in GetScriptType()
554 xub_StrLen nChg = aIdx == pStt->nNode in GetScriptType()
555 ? pStt->nContent.GetIndex() in GetScriptType()
633 const SwPosition* pStt = pCrsr->Start(); in GetScalingOfSelectedText() local
[all …]
H A Dedsect.cxx202 const SwPosition* pStt = PCURCRSR->Start(), in SetSectionAttr()
205 const SwSectionNode* pSttSectNd = pStt->nNode.GetNode().FindSectionNode(), in SetSectionAttr()
219 SwNodeIndex aSIdx( pStt->nNode ); in SetSectionAttr()
271 const SwPosition* pStt = PCURCRSR->Start(), in GetFullSelectedSectionCount()
275 if( pStt->nContent.GetIndex() || in GetFullSelectedSectionCount()
289 SwNodeIndex aSIdx( pStt->nNode, -1 ), aEIdx( pEnd->nNode, +1 ); in GetFullSelectedSectionCount()
H A Dedtox.cxx78 const SwPosition *pStt = PCURCRSR->Start(), in Insert()
82 SwPaM aTmp( *pStt ); in Insert()
85 else if( *pEnd != *pStt ) in Insert()
/AOO41X/main/sw/source/core/fields/
H A Dreffld.cxx787 sal_uInt16* pStt, sal_uInt16* pEnd ) in FindAnchor() argument
789 ASSERT( pStt, "warum wird keine StartPos abgefragt?" ); in FindAnchor()
800 *pStt = *pRef->GetTxtRefMark()->GetStart(); in FindAnchor()
821 *pStt = *pTxtFld->GetStart(); in FindAnchor()
823 *pEnd = (*pStt) + 1; in FindAnchor()
840 *pStt = pPos->nContent.GetIndex(); in FindAnchor()
845 *pEnd = *pStt; in FindAnchor()
882 *pStt = 0; in FindAnchor()
H A Dcellfml.cxx934 const SwLayoutFrm *pStt, *pEnd; in GetBoxes() local
936 pStt = pFrm ? pFrm->GetUpper() : 0; in GetBoxes()
938 if( !pStt || !pEnd ) in GetBoxes()
941 GetTblSel( pStt, pEnd, rBoxes, 0 ); in GetBoxes()
943 const SwTable* pTbl = pStt->FindTabFrm()->GetTable(); in GetBoxes()
964 const SwTabFrm *pTable = pStt->FindTabFrm(); in GetBoxes()
/AOO41X/main/sw/source/core/crsr/
H A Dtrvltbl.cxx155 const SwTableBox* pStt = 0; in _SelTblRowOrCol() local
173 pStt = aBoxes[0]; in _SelTblRowOrCol()
185 pStt = aBoxes[0]; in _SelTblRowOrCol()
223 pStt = aBoxes[0]; in _SelTblRowOrCol()
228pStt = aCells[ bVert ? (bRow ? 0 : 3) : (bRow ? 2 : 1) ]->GetTabBox(); // will become point of ta… in _SelTblRowOrCol()
248 pTblCrsr->GetPoint()->nNode = *pStt->GetSttNd()->EndOfSectionNode(); in _SelTblRowOrCol()
H A Dcrsrsh.cxx90 const SwPosition *pStt = pCurCrsr->Start(), in CheckRange() local
91 *pEnd = pCurCrsr->GetPoint() == pStt ? pCurCrsr->GetMark() : pCurCrsr->GetPoint(); in CheckRange()
102 if( *pStt <= *pTmpStt ) in CheckRange()
109 if( *pStt < *pTmpEnd ) in CheckRange()
2512 const SwPosition *pStt = pDelRg->Start(), in _ParkPams() local
2513 *pEnd = pDelRg->GetPoint() == pStt ? pDelRg->GetMark() : pDelRg->GetPoint(); in _ParkPams()
2529 if( *pStt <= *pTmpStt ) in _ParkPams()
2536 if( *pStt < *pTmpEnd ) in _ParkPams()
/AOO41X/main/sw/source/filter/ww8/
H A Dwrtw8nds.cxx359 const SwPosition* pStt = pRedl->Start(); in SearchNext() local
360 const SwPosition* pEnd = pStt == pRedl->GetPoint() in SearchNext()
364 if( pStt->nNode == rNd ) in SearchNext()
366 if( ( i = pStt->nContent.GetIndex() ) >= nStartPos && in SearchNext()
1283 const SwPosition* pStt = pRedl->Start(); in GetRedline() local
1284 const SwPosition* pEnd = pStt == pRedl->GetPoint() in GetRedline()
1288 if( pStt->nNode == rNd ) in GetRedline()
1290 if( pStt->nContent.GetIndex() >= nPos ) in GetRedline()
1292 if( pStt->nContent.GetIndex() == nPos ) in GetRedline()
1523 const SwPosition* pStt = pRedl->Start(); in lcl_getFormatCollection() local
[all …]

12