/aoo4110/main/sw/source/filter/ascii/ |
H A D | parasc.cxx | 397 switch( *pStt ) in ReadChars() 409 *pStt = 0; in ReadChars() 410 ++pStt; in ReadChars() 421 *pStt = 0; in ReadChars() 422 ++pStt; in ReadChars() 431 ++pStt; in ReadChars() 465 *pStt = 0; in ReadChars() 475 *pStt = '#'; in ReadChars() 485 *pStt = 0; in ReadChars() 490 *pStt = c; in ReadChars() [all …]
|
/aoo4110/main/sw/source/core/bastyp/ |
H A D | index.cxx | 371 while( pStt && pStt->nIndex == nNewVal ) in Update() 374 pStt = pStt->pPrev; in Update() 377 while( pStt && pStt->nIndex >= nNewVal && in Update() 381 pStt = pStt->pNext; in Update() 385 pStt->nIndex = pStt->nIndex - nDiff; in Update() 386 pStt = pStt->pNext; in Update() 391 while( pStt && pStt->nIndex == nNewVal ) in Update() 393 pStt->nIndex = pStt->nIndex + nDiff; in Update() 394 pStt = pStt->pPrev; in Update() 399 pStt->nIndex = pStt->nIndex + nDiff; in Update() [all …]
|
/aoo4110/main/sw/source/core/doc/ |
H A D | docredln.cxx | 459 *pStt = *pREnd; in AppendRedline() 1334 GetRedline( *pStt, &n ); in SplitRedline() 1341 if( *pTStt <= *pStt && *pStt <= *pTEnd && in SplitRedline() 1346 if( *pStt == *pTStt ) in SplitRedline() 1365 *pTEnd = *pStt; in SplitRedline() 1413 GetRedline( *pStt, &n ); in DeleteRedline() 1446 if( *pStt == *pRStt ) in DeleteRedline() 1466 if( *pRStt == *pStt ) in DeleteRedline() 1562 if( pEnd == pStt in GetRedline() 1563 ? *pStt == rPos in GetRedline() [all …]
|
H A D | docedt.cxx | 106 nSttCnt = pStt->nContent.GetIndex(); in _SaveRedline() 903 if( !rPaM.HasMark() || *pStt >= *pEnd || (*pStt <= rPos && rPos < *pEnd)) in MoveRange() 922 pStt->nNode, in MoveRange() 925 &pStt->nContent, in MoveRange() 1004 pStt->nNode, in MoveRange() 1007 &pStt->nContent, in MoveRange() 1731 pStt->nNode, in DeleteRangeImplImpl() 1734 &pStt->nContent, in DeleteRangeImplImpl() 1817 pStt->nContent.Assign( pStt->nNode.GetNode().GetCntntNode(), in DeleteRangeImplImpl() 1823 *pEnd = *pStt; in DeleteRangeImplImpl() [all …]
|
H A D | docruby.cxx | 66 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 D | docfmt.cxx | 127 pSttNd(pStt), in ParaRstFmt() 327 ParaRstFmt aPara( pStt, pEnd, pHst ); in RstTxtAttrs() 416 ParaRstFmt aPara( pStt, pEnd, pHst ); in ResetAttrs() 446 SwNodeIndex aTmpStt( pStt->nNode ); in ResetAttrs() 470 else if( pStt->nNode != pEnd->nNode || !pStt->nContent.GetIndex() ) in ResetAttrs() 648 SwPaM aPam( pStt->nNode, pStt->nContent.GetIndex()-1, in lcl_InsAttr() 649 pStt->nNode, pStt->nContent.GetIndex() ); in lcl_InsAttr() 910 if( pStt->nNode != pEnd->nNode ) in lcl_InsAttr() 960 aSt = pStt->nNode; in lcl_InsAttr() 971 if( pStt->nNode < pEnd->nNode ) in lcl_InsAttr() [all …]
|
H A D | swserv.cxx | 176 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 D | docftn.cxx | 415 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 D | docnum.cxx | 2010 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()
|
/aoo4110/main/sw/source/core/undo/ |
H A D | undobj.cxx | 94 const SwPosition *pStt = rPam.Start(); in SetValues() local 107 nSttNode = pStt->nNode.GetIndex(); in SetValues() 108 nSttCntnt = pStt->nContent.GetIndex(); in SetValues() 373 (!pStt->nContent.GetIndex() && (pStt->nNode != pEnd->nNode || in MoveToUndoNds() 374 (!pStt->nNode.GetNode().GetCntntNode() || in MoveToUndoNds() 576 rFtnArr.SeekEntry( pStt->nNode, &nPos ); in DelCntntIndex() 587 : (( &pStt->nNode.GetNode() == pFtnNd && in DelCntntIndex() 614 ( &pStt->nNode.GetNode() == pFtnNd && in DelCntntIndex() 657 ? ( pStt->nNode <= pAPos->nNode && in DelCntntIndex() 755 pStt->nNode == pAPos->nNode ) in DelCntntIndex() [all …]
|
H A D | undel.cxx | 151 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() 370 sal_uLong nNdIdx = pStt->nNode.GetIndex(); in SaveCntnt() 387 - pStt->nContent.GetIndex(); in SaveCntnt() 461 const SwPosition *pStt = rDelPam.Start(), in CanGrouping() local 462 *pEnd = rDelPam.GetPoint() == pStt in CanGrouping() 466 if( pStt->nNode != pEnd->nNode || in CanGrouping() 478 else if( pStt->nContent == nSttCntnt ) in CanGrouping() [all …]
|
H A D | unmove.cxx | 144 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 D | unins.cxx | 593 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()
|
/aoo4110/main/sw/source/core/docnode/ |
H A D | ndcopy.cxx | 609 SwNodeIndex aCorrIdx( pStt->nNode ); in lcl_DeleteRedlines() 612 pSrcDoc->GetRedline( *pStt, &n ); in lcl_DeleteRedlines() 635 if( *pStt < *pRStt ) in lcl_DeleteRedlines() 705 sal_uLong nStt = pStt->nNode.GetIndex(), in CopyRange() 737 ( pStt->nNode != pEnd->nNode || in CopyRange() 738 !pStt->nNode.GetNode().IsTxtNode() )) ) in CopyRange() 825 const SwPosition* pStt = rPam.Start(); in lcl_MarksWholeNode() local 828 if (NULL != pStt && NULL != pEnd) in lcl_MarksWholeNode() 834 pStt->nContent.GetIndex() == 0 && in lcl_MarksWholeNode() 882 SwPosition* pStt = rPam.Start(); in CopyImpl() local [all …]
|
H A D | nodes.cxx | 1741 SwPosition * const pStt = rPam.Start(); in MoveRange() local 1744 if( !rPam.HasMark() || *pStt >= *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() 1821 pStt->nContent, nLen ); in MoveRange() 1842 pEnd->nContent = pStt->nContent; in MoveRange() 1951 pStt->nNode = aRg.aEnd.GetIndex() - nSttDiff; in MoveRange() 1963 pStt->nContent.Assign( pStt->nNode.GetNode().GetCntntNode(), in MoveRange() 1964 pStt->nContent.GetIndex() ); in MoveRange() [all …]
|
H A D | ndsect.cxx | 174 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 D | ndtbl.cxx | 668 sal_uLong nCnt = pStt->nNode.GetIndex(); 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() 1153 SwNodeRange aRg( pStt->nNode, pEnd->nNode ); in TextToTable() 1154 if( pStt->nContent.GetIndex() ) in TextToTable() 1155 SplitNode( *pStt, false ); in TextToTable() 4572 const SwPosition *pStt = pTmp->Start(), in UnProtectTbls() local [all …]
|
/aoo4110/main/sw/source/core/edit/ |
H A D | edattr.cxx | 504 const SwPosition *pStt = PCURCRSR->Start(), in GetScriptType() 505 *pEnd = pStt == PCURCRSR->GetMark() in GetScriptType() 508 if( pStt == pEnd || *pStt == *pEnd ) 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 640 xub_StrLen nStt = pStt->nContent.GetIndex(), nEnd; in GetScalingOfSelectedText() [all …]
|
H A D | edsect.cxx | 202 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 D | edtox.cxx | 78 const SwPosition *pStt = PCURCRSR->Start(), in Insert() 82 SwPaM aTmp( *pStt ); in Insert() 85 else if( *pEnd != *pStt ) in Insert()
|
/aoo4110/main/sw/source/core/fields/ |
H A D | reffld.cxx | 787 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 D | cellfml.cxx | 934 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()
|
/aoo4110/main/sw/source/core/crsr/ |
H A D | trvltbl.cxx | 155 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() 228 …pStt = 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 D | crsrsh.cxx | 90 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()
|
/aoo4110/main/sw/source/filter/ww8/ |
H A D | wrtw8nds.cxx | 359 const SwPosition* pStt = pRedl->Start(); in SearchNext() local 360 const SwPosition* pEnd = pStt == pRedl->GetPoint() in SearchNext() 364 if( pStt->nNode == rNd ) in SearchNext() 1283 const SwPosition* pStt = pRedl->Start(); in GetRedline() local 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 1524 const SwPosition* pEnd = pStt == pRedl->GetPoint() in lcl_getFormatCollection() 1530 pStt->nNode.GetNode().IsTxtNode() ) in lcl_getFormatCollection() [all …]
|