/aoo42x/main/sw/source/core/bastyp/ |
H A D | index.cxx | 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() 84 pPrev = pIdx; in ChkArr() 85 pIdx = pIdx->pNext; in ChkArr() 620 while( pIdx ) in MoveTo() 622 pNext = pIdx->pNext; in MoveTo() 623 pIdx->Assign( &rArr, pIdx->GetIndex() ); in MoveTo() [all …]
|
/aoo42x/main/sw/source/core/docnode/ |
H A D | section.cxx | 679 if( pIdx && &GetDoc()->GetNodes() == &pIdx->GetNodes() && in ~SwSectionFmt() 728 if( pIdx && &GetDoc()->GetNodes() == &pIdx->GetNodes() && in DelFrms() 751 if( pIdx ) in DelFrms() 758 SwNodeIndex aNextNd( *pIdx ); in DelFrms() 775 if( pIdx && &GetDoc()->GetNodes() == &pIdx->GetNodes() && in MakeFrms() 778 SwNodeIndex aIdx( *pIdx ); in MakeFrms() 977 const SwNodeIndex* pIdx; in GetChildSections() local 1017 return pIdx && &pIdx->GetNodes() == &GetDoc()->GetNodes(); in IsInNodesArr() 1113 if( pIdx && ( bAlways || &pIdx->GetNodes() == &GetDoc()->GetNodes() )) in GetSectionNode() 1114 return pIdx->GetNode().GetSectionNode(); in GetSectionNode() [all …]
|
H A D | ndsect.cxx | 540 if( bDelNodes && pIdx && &GetNodes() == &pIdx->GetNodes() && in DelSectionFmt() 543 SwNodeIndex aUpdIdx( *pIdx ); in DelSectionFmt() 555 else if( bDelNodes && pIdx && &GetNodes() == &pIdx->GetNodes() && in DelSectionFmt() 558 SwNodeIndex aUpdIdx( *pIdx ); in DelSectionFmt() 583 if( pIdx && &GetNodes() == &pIdx->GetNodes() && in DelSectionFmt() 663 const SwNodeIndex* pIdx = 0; in UpdateSection() local 667 pIdx = pFmt->GetCntnt().GetCntntIdx(); in UpdateSection() 668 if (pIdx) in UpdateSection() 726 if( !pIdx ) in UpdateSection() 727 pIdx = pFmt->GetCntnt().GetCntntIdx(); in UpdateSection() [all …]
|
H A D | node.cxx | 611 if( pIdx && pFlyNd == &pIdx->GetNode() ) in FindPageDesc() 1228 (*pIdx)++; in GoNext() 1254 *pIdx = nPos; in GoNext() 1259 (*pIdx)++; in GoNext() 1276 (*pIdx)--; in GoPrevious() 1302 *pIdx = nPos; in GoPrevious() 1307 (*pIdx)--; in GoPrevious() 1841 if( pIdx ) in CanJoinNext() 1842 *pIdx = aIdx; in CanJoinNext() 1862 if( pIdx ) in CanJoinPrev() [all …]
|
H A D | nodes.cxx | 1510 if( *pIdx <= aTmp ) in GoStartOfSection() 1513 if( *pIdx <= aTmp ) in GoStartOfSection() 1523 (*pIdx) = *pIdx->GetNode().EndOfSectionNode(); in GoEndOfSection() 1531 SwNodeIndex aTmp(*pIdx, +1); in GoNext() 1539 (*pIdx) = aTmp; in GoNext() 1545 if( !pIdx->GetIndex() ) in GoPrevious() 1556 (*pIdx) = aTmp; in GoPrevious() 2244 SwNodeIndex aTmp( *pIdx ); in GoNextSection() 2283 (*pIdx) = aTmp; in GoNextSection() 2297 SwNodeIndex aTmp( *pIdx ); in GoPrevSection() [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()
|
/aoo42x/main/sw/source/core/edit/ |
H A D | acorrect.cxx | 106 delete pIdx; in ~SwAutoCorrDoc() 298 if( bAtNormalPos || !pIdx ) 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() 405 (*pIdx)++; in ChgAutoCorrWord() 406 pTxtNd = pIdx->GetNode().GetTxtNode(); in ChgAutoCorrWord() 430 sal_uLong nNode = pIdx ? pIdx->GetIndex() : rCrsr.GetPoint()->nNode.GetIndex(); in SaveCpltSttWord() 440 SwTxtNode* pNd = (( bPrevPara && pIdx ) in GetLanguage() [all …]
|
/aoo42x/main/basic/source/sbx/ |
H A D | sbxarray.cxx | 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() 759 SbxArray::Put( p, Offset( pIdx ) ); in Put() 764 return SbxArray::GetRef32( Offset32( pIdx ) ); in GetRef32() 769 return SbxArray::Get32( Offset32( pIdx ) ); in Get32() [all …]
|
/aoo42x/main/sw/source/core/crsr/ |
H A D | pam.cxx | 335 return ((SwCntntNode*)pNd)->GoNext( pIdx, nMode ); in GoNext() 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() 366 SwNodeIndex aIdx( *pIdx ); in GoPreviousNds() 370 if( bChk && 1 != pIdx->GetIndex() - aIdx.GetIndex() && in GoPreviousNds() 371 !CheckNodesRange( *pIdx, aIdx, sal_True ) ) in GoPreviousNds() [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()
|
/aoo42x/main/sw/source/core/doc/ |
H A D | docbm.cxx | 69 return pIdx != NULL in lcl_GreaterThan() 79 || ( pIdx != NULL in lcl_Lower() 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() 1251 m_nCntnt1 -= pIdx->GetIndex(); in SaveBookmark() 1262 if(pIdx && !m_nNode2) in SaveBookmark() 1273 const SwIndex* pIdx) in SetInDoc() argument 1276 if(pIdx) in SetInDoc() 1286 if(pIdx && !m_nNode2) in SetInDoc() [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 2184 && pIdx->GetNode().GetNodes().IsDocNodes() ) in SetAllUniqueFlyNames() 2264 const SwNodeIndex* pIdx = pFmt->GetCntnt().GetCntntIdx(); in IsInHeaderFooter() local [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 | 2378 if( !pIdx->GetNode().IsCntntNode() && in SelNextRedline() 2381 if( *pIdx <= rPam.GetPoint()->nNode ) in SelNextRedline() 2389 pIdx = &rPam.GetPoint()->nNode; in SelNextRedline() 2390 if( !pIdx->GetNode().IsCntntNode() && in SelNextRedline() 2393 if( *pIdx >= rPam.GetMark()->nNode ) in SelNextRedline() 2497 if( !pIdx->GetNode().IsCntntNode() && in SelPrevRedline() 2500 if( *pIdx >= rPam.GetPoint()->nNode ) in SelPrevRedline() 2508 pIdx = &rPam.GetPoint()->nNode; in SelPrevRedline() 3705 if( pIdx && !pCntntSect ) in SetContentIdx() 3707 pCntntSect = new SwNodeIndex( *pIdx ); in SetContentIdx() [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()
|
/aoo42x/main/sw/source/core/unocore/ |
H A D | unoframe.cxx | 1395 if(pIdx) in setPropertyValue() 1558 if(pIdx) in setPropertyValue() 1581 if(pIdx) in setPropertyValue() 1973 if(pIdx) in getPropertyValue() 2020 if ( pIdx ) in getPropertyValue() 2045 if(pIdx) in getPropertyValue() 2073 if(pIdx) in getPropertyValue() 2124 if(pIdx) in getPropertyValue() 2424 if(pIdx) in getPropertyStates() 2488 if(pIdx) in setPropertyToDefault() [all …]
|
/aoo42x/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()
|
/aoo42x/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 );
|
/aoo42x/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
|
/aoo42x/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()
|
/aoo42x/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()
|