Lines Matching refs:pSectNd

107                     SwSectionNode* pSectNd = aChkIdx.GetNode().FindSectionNode();  in lcl_IsInSameTblBox()  local
108 if ( !pSectNd || in lcl_IsInSameTblBox()
109 pSectNd->GetIndex() < pTblNd->GetIndex() || in lcl_IsInSameTblBox()
110 !pSectNd->GetSection().IsHiddenFlag() ) in lcl_IsInSameTblBox()
402 const SwSectionNode* pSectNd = pNd->FindSectionNode(); in IsInsRegionAvailable() local
404 if( pSectNd && pEndSectNd && pSectNd != pEndSectNd ) in IsInsRegionAvailable()
410 if( !pStt->nContent.GetIndex() && pSectNd->GetIndex() in IsInsRegionAvailable()
449 else if( !pSectNd && pEndSectNd ) in IsInsRegionAvailable()
475 else if( pSectNd && !pEndSectNd ) in IsInsRegionAvailable()
505 const SwSectionNode* pSectNd = rPos.nNode.GetNode().FindSectionNode(); in GetCurrSection() local
506 if( pSectNd ) in GetCurrSection()
507 return (SwSection*)&pSectNd->GetSection(); in GetCurrSection()
536 const SwSectionNode* pSectNd; in DelSectionFmt() local
541 0 != (pSectNd = pIdx->GetNode().GetSectionNode() )) in DelSectionFmt()
544 SwPaM aPaM( *pSectNd->EndOfSectionNode(), *pSectNd ); in DelSectionFmt()
556 0 != (pSectNd = pIdx->GetNode().GetSectionNode() )) in DelSectionFmt()
559 DeleteSection( (SwNode*)pSectNd ); in DelSectionFmt()
584 0 != (pSectNd = pIdx->GetNode().GetSectionNode() )) in DelSectionFmt()
586 nSttNd = pSectNd->GetIndex(); in DelSectionFmt()
587 nCnt = pSectNd->EndOfSectionIndex() - nSttNd - 1; in DelSectionFmt()
670 const SwSectionNode* pSectNd = in UpdateSection() local
672 if (pSectNd) in UpdateSection()
675 *pSectNd, *pSectNd->EndOfSectionNode() ); in UpdateSection()
844 SwSectionNode *const pSectNd = in InsertTextSection() local
853 const SwNode* pLastNode = pSectNd->StartOfSectionNode()->EndOfSectionNode(); in InsertTextSection()
860 sal_uLong nMyIndex = pSectNd->GetIndex(); in InsertTextSection()
910 new SwEndNode( aInsPos, *pSectNd ); in InsertTextSection()
912 pSectNd->GetSection().SetSectionData(rSectionData); in InsertTextSection()
913 SwSectionFmt* pSectFmt = pSectNd->GetSection().GetFmt(); in InsertTextSection()
917 sal_Bool bInsFrm = bCreateFrms && !pSectNd->GetSection().IsHidden() && in InsertTextSection()
922 SwNodeIndex aTmp( *pSectNd ); in InsertTextSection()
923 if( !pSectNd->GetNodes().FindPrvNxtFrmNode( aTmp, pSectNd->EndOfSectionNode() ) ) in InsertTextSection()
925 pNode2Layout = new SwNode2Layout( *pSectNd ); in InsertTextSection()
929 sal_uLong nEnde = pSectNd->EndOfSectionIndex(); in InsertTextSection()
930 sal_uLong nStart = pSectNd->GetIndex()+1; in InsertTextSection()
939 pNd->pStartOfSection = pSectNd; in InsertTextSection()
966 lcl_DeleteFtn( pSectNd, nStart, nEnde ); in InsertTextSection()
972 sal_uLong nIdx = pSectNd->GetIndex(); in InsertTextSection()
973 pNode2Layout->RestoreUpperFrms( pSectNd->GetNodes(), nIdx, nIdx + 1 ); in InsertTextSection()
977 pSectNd->MakeFrms( &aInsPos ); in InsertTextSection()
980 return pSectNd; in InsertTextSection()
1280 SwSectionNode *const pSectNd = in MakeCopy() local
1282 SwEndNode* pEndNd = new SwEndNode( rIdx, *pSectNd ); in MakeCopy()
1286 SwSection *const pNewSect = pSectNd->m_pSection.get(); in MakeCopy()
1320 pSectNd->DelFrms(); in MakeCopy()
1338 return pSectNd; in MakeCopy()
1386 SwSectionNode* pSectNd = StartOfSectionNode()->FindSectionNode(); in NodesArrChgd() local
1388 pFmt->SetDerivedFrom( pSectNd ? pSectNd->GetSection().GetFmt() in NodesArrChgd()
1395 if( 0 != ( pSectNd = rNds[ n ]->GetSectionNode() ) ) in NodesArrChgd()
1397 pSectNd->GetSection().GetFmt()->SetDerivedFrom( pFmt ); in NodesArrChgd()
1398 n = pSectNd->EndOfSectionIndex(); in NodesArrChgd()
1441 const SwSectionNode* pSectNd; in GetUniqueSectionName() local
1445 if( 0 != ( pSectNd = (*pSectionFmtTbl)[ n ]->GetSectionNode( sal_False ) )) in GetUniqueSectionName()
1447 const String& rNm = pSectNd->GetSection().GetSectionName(); in GetUniqueSectionName()