| /trunk/main/sw/source/core/bastyp/ |
| H A D | index.cxx | 59 const SwIndex* pIdx = pFirst, *pPrev = 0; in ChkArr() local 60 if ( ! (!pIdx->pPrev)) in ChkArr() 65 while( pIdx != pLast ) in ChkArr() 67 if ( ! (pIdx->pPrev != pIdx && pIdx->pNext != pIdx)) in ChkArr() 72 if ( ! (pIdx->nIndex >= nVal)) in ChkArr() 76 if ( ! (pPrev == pIdx->pPrev)) in ChkArr() 80 if ( ! (this == pIdx->pArray)) in ChkArr() 84 pPrev = pIdx; in ChkArr() 85 pIdx = pIdx->pNext; in ChkArr() 619 SwIndex* pIdx = (SwIndex*)pFirst, *pNext; in MoveTo() local [all …]
|
| /trunk/main/sw/source/core/docnode/ |
| H A D | section.cxx | 678 const SwNodeIndex* pIdx = GetCntnt( sal_False ).GetCntntIdx(); in ~SwSectionFmt() local 679 if( pIdx && &GetDoc()->GetNodes() == &pIdx->GetNodes() && in ~SwSectionFmt() 680 0 != (pSectNd = pIdx->GetNode().GetSectionNode() )) in ~SwSectionFmt() 727 const SwNodeIndex* pIdx = GetCntnt(sal_False).GetCntntIdx(); in DelFrms() local 728 if( pIdx && &GetDoc()->GetNodes() == &pIdx->GetNodes() && in DelFrms() 729 0 != (pSectNd = pIdx->GetNode().GetSectionNode() )) in DelFrms() 751 if( pIdx ) in DelFrms() 758 SwNodeIndex aNextNd( *pIdx ); in DelFrms() 773 const SwNodeIndex* pIdx = GetCntnt(sal_False).GetCntntIdx(); in MakeFrms() local 775 if( pIdx && &GetDoc()->GetNodes() == &pIdx->GetNodes() && in MakeFrms() [all …]
|
| H A D | ndsect.cxx | 528 const SwNodeIndex* pIdx = pFmt->GetCntnt( sal_False ).GetCntntIdx(); in DelSectionFmt() local 540 if( bDelNodes && pIdx && &GetNodes() == &pIdx->GetNodes() && in DelSectionFmt() 541 0 != (pSectNd = pIdx->GetNode().GetSectionNode() )) in DelSectionFmt() 543 SwNodeIndex aUpdIdx( *pIdx ); in DelSectionFmt() 555 else if( bDelNodes && pIdx && &GetNodes() == &pIdx->GetNodes() && in DelSectionFmt() 556 0 != (pSectNd = pIdx->GetNode().GetSectionNode() )) in DelSectionFmt() 558 SwNodeIndex aUpdIdx( *pIdx ); in DelSectionFmt() 583 if( pIdx && &GetNodes() == &pIdx->GetNodes() && in DelSectionFmt() 584 0 != (pSectNd = pIdx->GetNode().GetSectionNode() )) in DelSectionFmt() 663 const SwNodeIndex* pIdx = 0; in UpdateSection() local [all …]
|
| H A D | node.cxx | 609 const SwNodeIndex* pIdx = pFrmFmt->GetCntnt(). in FindPageDesc() local 611 if( pIdx && pFlyNd == &pIdx->GetNode() ) in FindPageDesc() 1222 sal_Bool SwCntntNode::GoNext(SwIndex * pIdx, sal_uInt16 nMode ) const in GoNext() argument 1225 if( pIdx->GetIndex() < Len() ) in GoNext() 1228 (*pIdx)++; in GoNext() 1232 xub_StrLen nPos = pIdx->GetIndex(); in GoNext() 1254 *pIdx = nPos; in GoNext() 1259 (*pIdx)++; in GoNext() 1270 sal_Bool SwCntntNode::GoPrevious(SwIndex * pIdx, sal_uInt16 nMode ) const in GoPrevious() argument 1273 if( pIdx->GetIndex() > 0 ) in GoPrevious() [all …]
|
| H A D | nodes.cxx | 1500 void SwNodes::GoStartOfSection(SwNodeIndex *pIdx) const in GoStartOfSection() 1503 SwNodeIndex aTmp( *pIdx->GetNode().StartOfSectionNode(), +1 ); in GoStartOfSection() 1510 if( *pIdx <= aTmp ) in GoStartOfSection() 1513 if( *pIdx <= aTmp ) in GoStartOfSection() 1516 (*pIdx) = aTmp; // steht auf einem ContentNode in GoStartOfSection() 1519 void SwNodes::GoEndOfSection(SwNodeIndex *pIdx) const in GoEndOfSection() 1522 if( !pIdx->GetNode().IsEndNode() ) in GoEndOfSection() 1523 (*pIdx) = *pIdx->GetNode().EndOfSectionNode(); in GoEndOfSection() 1526 SwCntntNode* SwNodes::GoNext(SwNodeIndex *pIdx) const in GoNext() 1528 if( pIdx->GetIndex() >= Count() - 1 ) in GoNext() [all …]
|
| H A D | node2lay.cxx | 76 SwNode* GoNextWithFrm(const SwNodes& rNodes, SwNodeIndex *pIdx) in GoNextWithFrm() argument 78 if( pIdx->GetIndex() >= rNodes.Count() - 1 ) in GoNextWithFrm() 81 SwNodeIndex aTmp(*pIdx, +1); in GoNextWithFrm() 104 (*pIdx) = aTmp; in GoNextWithFrm() 108 SwNode* GoPreviousWithFrm(SwNodeIndex *pIdx) in GoPreviousWithFrm() argument 110 if( !pIdx->GetIndex() ) in GoPreviousWithFrm() 113 SwNodeIndex aTmp( *pIdx, -1 ); in GoPreviousWithFrm() 136 (*pIdx) = aTmp; in GoPreviousWithFrm()
|
| /trunk/main/sw/source/core/edit/ |
| H A D | acorrect.cxx | 93 : rEditSh( rEditShell ), rCrsr( rPam ), pIdx( 0 ) in SwAutoCorrDoc() 106 delete pIdx; in ~SwAutoCorrDoc() 298 if( bAtNormalPos || !pIdx ) in GetPrevPara() 299 pIdx = new SwNodeIndex( rCrsr.GetPoint()->nNode, -1 ); in GetPrevPara() 301 (*pIdx)--; in GetPrevPara() 303 SwTxtNode* pTNd = pIdx->GetNode().GetTxtNode(); in GetPrevPara() 306 (*pIdx)--; in GetPrevPara() 307 pTNd = pIdx->GetNode().GetTxtNode(); in GetPrevPara() 373 ASSERT( !pIdx, "wer hat seinen Index nicht geloescht?" ); in ChgAutoCorrWord() 374 pIdx = new SwNodeIndex( rCrsr.GetPoint()->nNode, -1 ); in ChgAutoCorrWord() [all …]
|
| /trunk/main/basic/source/sbx/ |
| H A D | sbxarray.cxx | 709 sal_uInt32 SbxDimArray::Offset32( const sal_Int32* pIdx ) in Offset32() argument 714 sal_Int32 nIdx = *pIdx++; in Offset32() 728 sal_uInt16 SbxDimArray::Offset( const short* pIdx ) in Offset() argument 733 short nIdx = *pIdx++; in Offset() 747 SbxVariableRef& SbxDimArray::GetRef( const short* pIdx ) in GetRef() argument 749 return SbxArray::GetRef( Offset( pIdx ) ); in GetRef() 752 SbxVariable* SbxDimArray::Get( const short* pIdx ) in Get() argument 754 return SbxArray::Get( Offset( pIdx ) ); in Get() 757 void SbxDimArray::Put( SbxVariable* p, const short* pIdx ) in Put() argument 759 SbxArray::Put( p, Offset( pIdx ) ); in Put() [all …]
|
| /trunk/main/sw/source/core/crsr/ |
| H A D | pam.cxx | 332 sal_Bool GoNext(SwNode* pNd, SwIndex * pIdx, sal_uInt16 nMode ) in GoNext() argument 335 return ((SwCntntNode*)pNd)->GoNext( pIdx, nMode ); in GoNext() 340 sal_Bool GoPrevious( SwNode* pNd, SwIndex * pIdx, sal_uInt16 nMode ) in GoPrevious() argument 343 return ((SwCntntNode*)pNd)->GoPrevious( pIdx, nMode ); in GoPrevious() 348 SwCntntNode* GoNextNds( SwNodeIndex* pIdx, sal_Bool bChk ) in GoNextNds() argument 350 SwNodeIndex aIdx( *pIdx ); in GoNextNds() 354 if( bChk && 1 != aIdx.GetIndex() - pIdx->GetIndex() && in GoNextNds() 355 !CheckNodesRange( *pIdx, aIdx, sal_True ) ) in GoNextNds() 358 *pIdx = aIdx; in GoNextNds() 364 SwCntntNode* GoPreviousNds( SwNodeIndex * pIdx, sal_Bool bChk ) in GoPreviousNds() argument [all …]
|
| H A D | trvlreg.cxx | 258 const SwNodeIndex* pIdx; in GotoRegion() local 262 0 != ( pIdx = pFmt->GetCntnt().GetCntntIdx() ) && in GotoRegion() 263 pIdx->GetNode().GetNodes().IsDocNodes() ) in GotoRegion() 268 GetPoint()->nNode = *pIdx; in GotoRegion()
|
| H A D | crstrvl.cxx | 2057 SwNodeIndex* pIdx = &pCurCrsr->GetPoint()->nNode; in _GotoRedline() local 2058 if( !pIdx->GetNode().IsCntntNode() && in _GotoRedline() 2059 0 != ( pCNd = GetDoc()->GetNodes().GoNextSection( pIdx, in _GotoRedline() 2062 if( *pIdx <= pFnd->End()->nNode ) in _GotoRedline() 2073 pCNd = pIdx->GetNode().GetCntntNode(); in _GotoRedline() 2080 pIdx = &pCurCrsr->GetPoint()->nNode; in _GotoRedline() 2081 if( !pIdx->GetNode().IsCntntNode() && in _GotoRedline() 2082 0 != ( pCNd = GetDoc()->GetNodes().GoPrevSection( pIdx, in _GotoRedline() 2085 if( *pIdx >= pCurCrsr->GetMark()->nNode ) in _GotoRedline()
|
| /trunk/main/sw/source/core/doc/ |
| H A D | docbm.cxx | 67 …atic bool lcl_GreaterThan( const SwPosition& rPos, const SwNodeIndex& rNdIdx, const SwIndex* pIdx ) in lcl_GreaterThan() argument 69 return pIdx != NULL in lcl_GreaterThan() 72 && rPos.nContent >= pIdx->GetIndex() ) ) in lcl_GreaterThan() 76 static bool lcl_Lower( const SwPosition& rPos, const SwNodeIndex& rNdIdx, const SwIndex* pIdx ) in lcl_Lower() argument 79 || ( pIdx != NULL in lcl_Lower() 81 && rPos.nContent < pIdx->GetIndex() ); in lcl_Lower() 1168 …ic inline int lcl_Greater( const SwPosition& rPos, const SwNodeIndex& rNdIdx, const SwIndex* pIdx ) in lcl_Greater() argument 1170 …return rPos.nNode > rNdIdx || ( pIdx && rPos.nNode == rNdIdx && rPos.nContent > pIdx->GetIndex() ); in lcl_Greater() 1223 const SwIndex* pIdx) in SaveBookmark() argument 1250 if(pIdx && !m_nNode1) in SaveBookmark() [all …]
|
| H A D | docdde.cxx | 111 const SwNodeIndex* pIdx; in lcl_FindSection() local 112 if( 0 != (pIdx = rpSectFmt->GetCntnt().GetCntntIdx() ) && in lcl_FindSection() 113 &rpSectFmt->GetDoc()->GetNodes() == &pIdx->GetNodes() ) in lcl_FindSection() 116 pItem->pSectNd = pIdx->GetNode().GetSectionNode(); in lcl_FindSection() 332 SwNodeIndex* pIdx; in SelectServerObj() local 336 0 != ( pIdx = (SwNodeIndex*)pFlyFmt->GetCntnt().GetCntntIdx() ) && in SelectServerObj() 337 !( pNd = &pIdx->GetNode())->IsNoTxtNode() ) in SelectServerObj()
|
| H A D | doclay.cxx | 2087 const SwNodeIndex* pIdx; in FindFlyByName() local 2089 0 != ( pIdx = pFlyFmt->GetCntnt().GetCntntIdx() ) && in FindFlyByName() 2090 pIdx->GetNode().GetNodes().IsDocNodes() ) in FindFlyByName() 2095 const SwNode* pNd = GetNodes()[ pIdx->GetIndex()+1 ]; in FindFlyByName() 2114 const SwNodeIndex* pIdx = rFmt.GetCntnt().GetCntntIdx(); in SetFlyName() local 2115 if( pIdx && pIdx->GetNode().GetNodes().IsDocNodes() ) in SetFlyName() 2116 switch( GetNodes()[ pIdx->GetIndex() + 1 ]->GetNodeType() ) in SetFlyName() 2180 const SwNodeIndex* pIdx; in SetAllUniqueFlyNames() local 2183 if( 0 != ( pIdx = ( pFlyFmt = aArr[ --n ])->GetCntnt().GetCntntIdx() ) in SetAllUniqueFlyNames() 2184 && pIdx->GetNode().GetNodes().IsDocNodes() ) in SetAllUniqueFlyNames() [all …]
|
| H A D | docfly.cxx | 80 const SwNodeIndex* pIdx; in GetFlyCount() local 85 && 0 != ( pIdx = pFlyFmt->GetCntnt().GetCntntIdx() ) in GetFlyCount() 86 && pIdx->GetNodes().IsDocNodes() in GetFlyCount() 89 const SwNode* pNd = GetNodes()[ pIdx->GetIndex() + 1 ]; in GetFlyCount() 122 const SwNodeIndex* pIdx; in GetFlyNum() local 128 && 0 != ( pIdx = pFlyFmt->GetCntnt().GetCntntIdx() ) in GetFlyNum() 129 && pIdx->GetNodes().IsDocNodes() in GetFlyNum() 132 const SwNode* pNd = GetNodes()[ pIdx->GetIndex() + 1 ]; in GetFlyNum()
|
| H A D | docredln.cxx | 2377 SwNodeIndex* pIdx = &rPam.GetMark()->nNode; in SelNextRedline() local 2378 if( !pIdx->GetNode().IsCntntNode() && in SelNextRedline() 2379 0 != ( pCNd = GetNodes().GoNextSection( pIdx )) ) in SelNextRedline() 2381 if( *pIdx <= rPam.GetPoint()->nNode ) in SelNextRedline() 2389 pIdx = &rPam.GetPoint()->nNode; in SelNextRedline() 2390 if( !pIdx->GetNode().IsCntntNode() && in SelNextRedline() 2391 0 != ( pCNd = GetNodes().GoPrevSection( pIdx )) ) in SelNextRedline() 2393 if( *pIdx >= rPam.GetMark()->nNode ) in SelNextRedline() 2496 SwNodeIndex* pIdx = &rPam.GetMark()->nNode; in SelPrevRedline() local 2497 if( !pIdx->GetNode().IsCntntNode() && in SelPrevRedline() [all …]
|
| H A D | docfld.cxx | 761 const SwIndex* pIdx ) in _SetGetExpFld() argument 766 if( pIdx ) in _SetGetExpFld() 767 nCntnt = pIdx->GetIndex(); in _SetGetExpFld() 775 const SwTxtINetFmt& rINet, const SwIndex* pIdx ) in _SetGetExpFld() argument 780 if( pIdx ) in _SetGetExpFld() 781 nCntnt = pIdx->GetIndex(); in _SetGetExpFld() 833 const SwIndex* pIdx ) in _SetGetExpFld() argument 838 if( pIdx ) in _SetGetExpFld() 839 nCntnt = pIdx->GetIndex(); in _SetGetExpFld()
|
| /trunk/main/sw/source/core/unocore/ |
| H A D | unoframe.cxx | 1394 const :: SwNodeIndex* pIdx = pFmt->GetCntnt().GetCntntIdx(); in setPropertyValue() local 1395 if(pIdx) in setPropertyValue() 1397 SwNodeIndex aIdx(*pIdx, 1); in setPropertyValue() 1557 const :: SwNodeIndex* pIdx = pFmt->GetCntnt().GetCntntIdx(); in setPropertyValue() local 1558 if(pIdx) in setPropertyValue() 1560 SwNodeIndex aIdx(*pIdx, 1); in setPropertyValue() 1580 const :: SwNodeIndex* pIdx = pFmt->GetCntnt().GetCntntIdx(); in setPropertyValue() local 1581 if(pIdx) in setPropertyValue() 1583 SwNodeIndex aIdx(*pIdx, 1); in setPropertyValue() 1972 const SwNodeIndex* pIdx = pFmt->GetCntnt().GetCntntIdx(); in getPropertyValue() local [all …]
|
| /trunk/main/connectivity/source/inc/ado/ |
| H A D | ACollection.hxx | 174 SimT* pIdx = NULL; in getElementNames() local 175 m_pCollection->get_Item(aVar,&pIdx); in getElementNames() 176 pIdx->AddRef(); in getElementNames() 178 pIdx->get_Name(&sBSTR); in getElementNames() 180 pIdx->Release(); in getElementNames()
|
| /trunk/main/sw/source/core/inc/ |
| H A D | pamtyp.hxx | 53 sal_Bool GoNext(SwNode* pNd, SwIndex * pIdx, sal_uInt16 nMode ); 54 sal_Bool GoPrevious(SwNode* pNd, SwIndex * pIdx, sal_uInt16 nMode ); 55 SW_DLLPUBLIC SwCntntNode* GoNextNds( SwNodeIndex * pIdx, sal_Bool ); 56 SwCntntNode* GoPreviousNds( SwNodeIndex * pIdx, sal_Bool );
|
| H A D | docfld.hxx | 65 const SwIndex* pIdx = 0 ); 68 const SwIndex* pIdx = 0 ); 77 const SwIndex* pIdx );
|
| /trunk/main/sw/inc/ |
| H A D | node.hxx | 417 int CanJoinNext( SwNodeIndex* pIdx =0 ) const; 418 int CanJoinPrev( SwNodeIndex* pIdx =0 ) const; 420 void MakeStartIndex( SwIndex * pIdx ) { pIdx->Assign( this, 0 ); } in MakeStartIndex() argument 421 void MakeEndIndex( SwIndex * pIdx ) { pIdx->Assign( this, Len() ); } in MakeEndIndex() argument
|
| /trunk/main/sw/source/filter/ascii/ |
| H A D | wrtasc.cxx | 159 const SwNodeIndex* pIdx = pFmt->GetCntnt().GetCntntIdx(); in WriteStream() local 160 if( pIdx ) in WriteStream() 163 pCurPam = NewSwPaM( *pDoc, pIdx->GetIndex(), in WriteStream() 164 pIdx->GetNode().EndOfSectionIndex() ); in WriteStream()
|
| /trunk/main/sw/source/core/undo/ |
| H A D | unsort.cxx | 151 SwNodeIndex* pIdx = new SwNodeIndex( rDoc.GetNodes(), in UndoImpl() local 153 aIdxList.C40_INSERT(SwNodeIndex, pIdx, i ); in UndoImpl() 228 SwNodeIndex* pIdx = new SwNodeIndex( rDoc.GetNodes(), in RedoImpl() local 230 aIdxList.C40_INSERT( SwNodeIndex, pIdx, i ); in RedoImpl()
|
| H A D | unovwr.cxx | 424 sal_Int32* pIdx = pNew->pOffsets->getArray(); in AddChanges() local 433 *(pIdx-1) = nNewVal++; in AddChanges() 438 *pIdx++ = nNewVal; in AddChanges() 444 *pIdx++ = nNewVal++; in AddChanges()
|