/aoo42x/main/sw/source/core/crsr/ |
H A D | pam.cxx | 281 pNd = pNd->StartOfSectionNode(); in lcl_ChkOneRange() 292 pNd = pTmp; in lcl_ChkOneRange() 352 if( pNd ) in GoNextNds() 360 return pNd; in GoNextNds() 368 if( pNd ) in GoPreviousNds() 376 return pNd; in GoPreviousNds() 863 if( pNd ) in GetNode() 928 return pNd; in GetNode() 1006 if( pNd ) in GoInNode() 1009 return 0 != pNd; in GoInNode() [all …]
|
H A D | trvlreg.cxx | 45 if( pNd ) in GotoPrevRegion() 46 aIdx.Assign( *pNd, - 1 ); in GotoPrevRegion() 64 aIdx = *pNd; in GotoPrevRegion() 90 } while( pNd ); in GotoPrevRegion() 100 if( pNd ) in GotoNextRegion() 120 aIdx = *pNd; in GotoNextRegion() 146 } while( pNd ); in GotoNextRegion() 155 if( !pNd ) in GotoCurrRegion() 169 SwNodeIndex aIdx( *pNd ); in GotoCurrRegion() 188 if( !pNd ) in GotoCurrRegionAndSkip() [all …]
|
H A D | swcrsr.cxx | 377 pNd = pCNd; in IsSelOvr() 665 SwNode* pNd; in IsInProtectTable() local 694 SwNode* pNd; in IsInProtectTable() local 2101 pNd->GetNodes()[ pNd->GetIndex() + in MovePara() 2229 pPos->nNode = *pNd; in MakeBoxSels() 2238 pPos->nNode = *pNd; in MakeBoxSels() 2239 pPos->nContent.Assign( (SwCntntNode*)pNd, ((SwCntntNode*)pNd)->Len() ); in MakeBoxSels() 2302 pPos->nContent.Assign( (SwCntntNode*)pNd, ((SwCntntNode*)pNd)->Len() ); in MakeBoxSels() 2386 pNd = pNd->StartOfSectionNode(); in ParkCrsr() 2392 pNd = pNd->StartOfSectionNode(); in ParkCrsr() [all …]
|
/aoo42x/main/sw/source/core/docnode/ |
H A D | node2lay.cxx | 93 pNd = 0; in GoNextWithFrm() 102 pNd = 0; in GoNextWithFrm() 103 else if( pNd ) in GoNextWithFrm() 105 return pNd; in GoNextWithFrm() 123 else if( pNd->IsStartNode() && !pNd->IsSectionNode() ) in GoPreviousWithFrm() 125 pNd = 0; in GoPreviousWithFrm() 134 pNd = 0; in GoPreviousWithFrm() 135 else if( pNd ) in GoPreviousWithFrm() 137 return pNd; in GoPreviousWithFrm() 171 if( pNd ) in SwNode2LayImpl() [all …]
|
H A D | ndindex.cxx | 79 pNd = rIdx.pNd; in SwNodeIndex() 94 pNd = (SwNode*)&rNd; in SwNodeIndex() 110 if( &pNd->GetNodes() != &rIdx.pNd->GetNodes() ) in operator =() 113 pNd = rIdx.pNd; in operator =() 117 pNd = rIdx.pNd; in operator =() 126 pNd = (SwNode*)&rNd; in operator =() 130 pNd = (SwNode*)&rNd; in operator =() 139 pNd = rNds[ nIdx ]; in Assign() 143 pNd = rNds[ nIdx ]; in Assign() 152 pNd = (SwNode*)&rNd; in Assign() [all …]
|
H A D | nodes.cxx | 237 if( pNd->IsNoTxtNode() ) in ChgNode() 1532 SwNode* pNd = 0; in GoNext() local 1537 pNd = 0; in GoNext() 1540 return (SwCntntNode*)pNd; in GoNext() 1549 SwNode* pNd = 0; in GoPrevious() local 1554 pNd = 0; in GoPrevious() 1557 return (SwCntntNode*)pNd; in GoPrevious() 2245 const SwNode* pNd; in GoNextSection() local 2298 const SwNode* pNd; in GoPrevSection() local 2378 SwNode* pNd; in FindPrvNxtFrmNode() local [all …]
|
H A D | node.cxx | 350 pNd = pStartOfSection; in SwNode() 383 pNd = pStartOfSection; in SwNode() 427 const SwCntntNode* pNd; in IsInVisibleArea() local 440 pNd = GetCntntNode(); in IsInVisibleArea() 649 pNd = 0; in FindPageDesc() 729 if( pNd ) in FindPageDesc() 1824 const SwNode* pNd = this; in CanJoinNext() local 1827 ( pNd->IsEndNode() && pNd->StartOfSectionNode()->IsSectionNode() ))) in CanJoinNext() 1854 const SwNode* pNd = this; in CanJoinPrev() local 1857 ( pNd->IsEndNode() && pNd->StartOfSectionNode()->IsSectionNode() ))) in CanJoinPrev() [all …]
|
H A D | ndsect.cxx | 125 if ( pNd->GetIndex() < nIdx && nIdx < pNd->EndOfSectionIndex() ) in lcl_IsInSameTblBox() 129 return pNd->GetIndex() < nIdx && nIdx < pNd->EndOfSectionIndex(); in lcl_IsInSameTblBox() 425 pPrvNd = pNd->IsStartNode() ? (SwStartNode*)pNd in IsInsRegionAvailable() 830 SwNode* pNd; in InsertTextSection() local 934 SwNode* pNd = (*this)[n]; in InsertTextSection() local 939 pNd->pStartOfSection = pSectNd; in InsertTextSection() 943 if( pNd->IsStartNode() ) in InsertTextSection() 946 if( pNd->IsSectionNode() ) in InsertTextSection() 951 n = pNd->EndOfSectionIndex(); in InsertTextSection() 955 if( pNd->IsTableNode() ) in InsertTextSection() [all …]
|
/aoo42x/main/sw/inc/ |
H A D | ndindex.hxx | 47 SwNode* pNd; member in SwNodeIndex 134 return pNd->GetIndex(); in GetIndex() 138 return pNd->GetNodes(); in GetNodes() 142 return pNd->GetNodes(); in GetNodes() 186 return pNd == rIdx.pNd; in operator ==() 190 return pNd != rIdx.pNd; in operator !=() 195 return ( pNd = GetNodes()[ pNd->GetIndex()+1 ] )->GetIndex(); in operator ++() 199 return ( pNd = GetNodes()[ pNd->GetIndex()-1 ] )->GetIndex(); in operator --() 218 return ( pNd = GetNodes()[ pNd->GetIndex() + nWert ] )->GetIndex(); in operator +=() 222 return ( pNd = GetNodes()[ pNd->GetIndex() - nWert ] )->GetIndex(); in operator -=() [all …]
|
/aoo42x/main/basic/source/comp/ |
H A D | exprtree.cxx | 193 if( pNd ) in Term() 196 if( !pNd ) in Term() 201 return pNd; in Term() 380 return pNd; in Term() 484 return pNd; in ObjTerm() 619 return pNd; in Unary() 632 return pNd; in Exp() 646 pNd = new SbiExprNode( pParser, pNd, eTok, Exp() ); in MulDiv() 649 return pNd; in MulDiv() 662 return pNd; in IntDiv() [all …]
|
/aoo42x/main/sw/source/core/tox/ |
H A D | txmsrt.cxx | 158 if( pNd ) in SwTOXSortTabBase() 167 nPos = pNd->GetIndex(); in SwTOXSortTabBase() 223 (!aTOXSources[0].pNd || !rCmp.aTOXSources[0].pNd || in operator ==() 224 aTOXSources[0].pNd == rCmp.aTOXSources[0].pNd ); in operator ==() 611 const SwCntntNode* pNd = aTOXSources[0].pNd; in GetText_Impl() local 686 const SwCntntNode* pNd = aTOXSources[0].pNd; in GetLevel() local 704 const SwCntntNode* pNd = aTOXSources[0].pNd; in GetURL() local 800 const SwNode* pNd = aTOXSources[0].pNd; in GetText_Impl() local 801 if( pNd && 0 != ( pNd = pNd->FindTableNode() ) ) in GetText_Impl() 821 const SwNode* pNd = aTOXSources[0].pNd; in GetURL() local [all …]
|
/aoo42x/main/sw/source/core/undo/ |
H A D | unins.cxx | 613 if ( pNd->GetpSwpHints() ) in Impl() 621 if( pNd->HasSwAttrSet() ) in Impl() 659 SwPosition aPos( *pNd ); aPos.nContent.Assign( pNd, m_nSttCnt ); in UndoImpl() 672 rPam.GetPoint()->nNode = *pNd; in UndoImpl() 680 pNd = rPam.GetNode()->GetTxtNode(); in UndoImpl() 682 aIdx.Assign( pNd, m_nSttCnt ); in UndoImpl() 687 SwPosition aPos( *pNd, aIdx ); in UndoImpl() 691 aIdx.Assign( pNd, m_nSttCnt ); in UndoImpl() 703 if( pNd->GetpSwpHints() ) in UndoImpl() 931 if ( pNd ) in UndoImpl() [all …]
|
H A D | unattr.cxx | 266 SwNode* pNd = pDoc->GetNodes()[ m_nNodeIndex ]; in IsFmtInDoc() local 267 if ( pNd->IsTableNode() ) in IsFmtInDoc() 274 else if ( pNd->IsSectionNode() ) in IsFmtInDoc() 345 SwNoTxtNode *const pNd = in RepeatImpl() local 347 if( pNd ) in RepeatImpl() 356 SwTxtNode *const pNd = in RepeatImpl() local 358 if( pNd ) in RepeatImpl() 476 SwNode* pNd = pDoc->GetNodes()[ m_nNodeIndex ]; in RestoreFlyAnchor() local 479 ? ( !pNd->IsStartNode() || (SwFlyStartNode != in RestoreFlyAnchor() 481 : !pNd->IsTxtNode() ) in RestoreFlyAnchor() [all …]
|
H A D | unnum.cxx | 96 SwTxtNode* pNd; in UndoImpl() local 99 pNd->SetListRestart( sal_True ); in UndoImpl() 101 pNd = 0; in UndoImpl() 109 if( !pNd && nSttNode ) in UndoImpl() 110 pNd = rDoc.GetNodes()[ nSttNode ]->GetTxtNode(); in UndoImpl() 116 if( pNd ) in UndoImpl() 117 pNdRule = pNd->GetNumRule(); in UndoImpl() 215 ASSERT( pNd, "Where is TextNode gone?" ); in UndoImpl() 216 pNd->SetAttrListLevel(aLevels[ n ] ); in UndoImpl() 218 if( pNd->GetCondFmtColl() ) in UndoImpl() [all …]
|
H A D | undobj1.cxx | 433 SwNode *const pNd = & pIdx->GetNode(); in GetRewriter() local 435 if ( pNd->IsNoTxtNode() && pNd->IsOLENode()) in GetRewriter() 437 SwOLENode * pOLENd = pNd->GetOLENode(); in GetRewriter() 517 ? ( !pNd->IsStartNode() || SwFlyStartNode != in GetAnchor() 518 ((SwStartNode*)pNd)->GetStartNodeType() ) in GetAnchor() 519 : !pNd->IsTxtNode() ) in GetAnchor() 521 pNd = 0; // invalid position in GetAnchor() 525 SwPosition aPos( *pNd ); in GetAnchor() 531 pNd = 0; // invalid position in GetAnchor() 538 if ( pNd ) in GetAnchor() [all …]
|
/aoo42x/main/sw/source/core/doc/ |
H A D | swserv.cxx | 134 const SwStartNode* pNd = 0; in SendDataChanged() local 149 if( pNd ) in SendDataChanged() 152 bCall = pNd->GetIndex() < nNd && nNd < pNd->EndOfSectionIndex(); in SendDataChanged() 175 const SwStartNode* pNd = 0; in SendDataChanged() local 191 if( pNd ) in SendDataChanged() 195 pEnd->nNode.GetIndex() >= pNd->GetIndex(); in SendDataChanged() 217 const SwNode* pNd = 0; in IsLinkInServer() local 243 if( pNd ) in IsLinkInServer() 245 nSttNd = pNd->GetIndex(); in IsLinkInServer() 246 nEndNd = pNd->EndOfSectionIndex(); in IsLinkInServer() [all …]
|
H A D | docnum.cxx | 491 const SwNode* pNd; in MoveOutlinePara() local 563 pNd = &aInsertPos.GetNode(); in MoveOutlinePara() 564 if( pNd->IsTableNode() ) in MoveOutlinePara() 565 pNd = pNd->StartOfSectionNode(); in MoveOutlinePara() 566 if( pNd->FindTableNode() ) in MoveOutlinePara() 661 SwTxtNode* pNd; in lcl_FindOutlineNum() local 758 rPos.nNode = *pNd; in GotoOutline() 767 rPos.nNode = *pNd; in GotoOutline() 1612 if( !pNd || 0 == ( pRule = pNd->GetNumRule())) in lcl_GotoNextPrevNum() 1655 aIdx++, pLast = pNd; in lcl_GotoNextPrevNum() [all …]
|
H A D | doctxm.cxx | 726 const SwNode* pNd = &rNd; in lcl_FindChapterNode() local 727 if( pNd->GetNodes().GetEndOfExtras().GetIndex() > pNd->GetIndex() ) in lcl_FindChapterNode() 731 SwNode2Layout aNode2Layout( *pNd, pNd->GetIndex() ); in lcl_FindChapterNode() 736 SwPosition aPos( *pNd ); in lcl_FindChapterNode() 737 pNd = GetBodyTxtNode( *pNd->GetDoc(), aPos, *pFrm ); in lcl_FindChapterNode() 741 return pNd ? pNd->FindOutlineNodeOfLevel( nLvl ) : 0; in lcl_FindChapterNode() 1493 if( pNd->IsGrfNode() ) in UpdateCntnt() 1497 if( pNd->IsOLENode() ) in UpdateCntnt() 1627 const SwTxtNode* pNd = rBase.aTOXSources[0].pNd->GetTxtNode(); in lcl_GetNumString() local 1628 if( pNd ) in lcl_GetNumString() [all …]
|
H A D | docglbl.cxx | 210 SwNodePtr pNd; in SplitDoc() local 214 !pNd->FindTableNode() ) in SplitDoc() 216 pSttNd = pNd; in SplitDoc() 225 pNd = pOutlNds->GetObject( nOutl ); in SplitDoc() 240 pEndNd = pNd; in SplitDoc() 571 SwNodePtr pNd; in SplitDoc() local 574 !pNd->FindTableNode() ) in SplitDoc() 576 pSttNd = pNd; in SplitDoc() 585 pNd = pOutlNds->GetObject( nOutl ); in SplitDoc() 590 !pNd->FindTableNode() ) in SplitDoc() [all …]
|
H A D | doccomp.cxx | 942 const SwNode* pNd = &rNode; in GetEndNode() local 958 return *pNd; in GetEndNode() 1264 if( pNd->IsStartNode() ) in NextIdx() 1267 if( pNd->IsTableNode() || in NextIdx() 1271 pNd = pNd->EndOfSectionNode(); in NextIdx() 1273 return pNd->GetIndex() + 1; in NextIdx() 1278 if( pNd->IsEndNode() ) in PrevIdx() 1285 pNd = pNd->StartOfSectionNode(); in PrevIdx() 1287 return pNd->GetIndex() - 1; in PrevIdx() 1333 nSrcSttIdx = NextIdx( pNd ); in CheckRanges() [all …]
|
/aoo42x/main/sw/source/core/fields/ |
H A D | cellfml.cxx | 394 SwNode* pNd = (SwNode*)pPara; in RelNmsToBoxNms() local 424 SwNode* pNd = (SwNode*)pPara; in RelBoxNmsToPtr() local 455 SwNode* pNd = (SwNode*)pPara; in BoxNmsToRelNm() local 544 const SwNode* pNd = 0; in PtrToBoxNm() local 556 pNd = GetNodeOfFormula(); in PtrToBoxNm() 569 const SwNode* pNd = 0; in BoxNmToPtr() local 581 pNd = GetNodeOfFormula(); in BoxNmToPtr() 594 const SwNode* pNd = 0; in ToRelBoxNm() local 603 pNd = GetNodeOfFormula(); in ToRelBoxNm() 1037 if( pNd && 0 != ( pNd = pNd->FindTableNode() ) ) in HasValidBoxes() [all …]
|
/aoo42x/main/sw/source/core/edit/ |
H A D | editsh.cxx | 413 return pNd->HasContour(); in GetGraphicPolygon() 421 pNd->SetContour( pPoly ); in SetGraphicPolygon() 432 ASSERT( pNd, "is no NoTxtNode!" ); in ClearAutomaticContour() 433 if( pNd->HasAutomaticContour() ) in ClearAutomaticContour() 436 pNd->SetContour( NULL, sal_False ); in ClearAutomaticContour() 515 String aString = pNd ? in GetCurWord() 715 SwNode *pNd =pCrsr->GetNode(); in GetIMapGraphic() local 716 if( pNd->IsGrfNode() ) in GetIMapGraphic() 730 else if ( pNd->IsOLENode() ) in GetIMapGraphic() 732 aRet = *((SwOLENode*)pNd)->GetGraphic(); in GetIMapGraphic() [all …]
|
H A D | edglss.cxx | 125 const SwNode* pNd = pCntntNd->FindTableNode(); in SaveGlossaryDoc() local 126 if( !pNd ) in SaveGlossaryDoc() 127 pNd = pCntntNd; in SaveGlossaryDoc() 129 pCrsr->GetPoint()->nNode = *pNd; in SaveGlossaryDoc() 130 if( pNd == pCntntNd ) in SaveGlossaryDoc() 151 const SwNode* pNd = pCntntNd->FindTableNode(); in SaveGlossaryDoc() local 152 if( !pNd ) pNd = pCntntNd; in SaveGlossaryDoc() 153 SwPaM aCpyPam( *pNd ); in SaveGlossaryDoc() 185 SwCntntNode * pNd = aIdx.GetNode().GetCntntNode(); in _CopySelToDoc() local 186 SwPosition aPos( aIdx, SwIndex( pNd, pNd->Len() )); in _CopySelToDoc() [all …]
|
H A D | ednumber.cxx | 477 const SwNode* pNd; in MoveNumParas() local 489 ( pNd = GetDoc()->GetNodes()[ nIdx ])->IsSectionNode() || in MoveNumParas() 490 ( pNd->IsEndNode() && pNd->StartOfSectionNode()->IsSectionNode()))) in MoveNumParas() 506 pNd = GetDoc()->GetNodes()[ nIdx ]; in MoveNumParas() 508 if (pNd->IsSectionNode() || in MoveNumParas() 509 ( pNd->IsEndNode() && pNd->StartOfSectionNode()->IsSectionNode()) || in MoveNumParas() 510 ( pNd->IsTxtNode() && pOrig == ((SwTxtNode*)pNd)->GetNumRule() && in MoveNumParas() 590 SwNodePtr pNd = (SwNodePtr)&rNd; in IsProtectedOutlinePara() local 594 if( !rOutlNd.Seek_Entry( pNd, &nPos ) && nPos ) in IsProtectedOutlinePara() 644 const SwNode* pNd = rNds.GetOutLineNds()[ nIdx ]; in lcl_IsOutlineMoveAndCopyable() local [all …]
|
/aoo42x/main/sw/source/filter/rtf/ |
H A D | rtffly.cxx | 261 if( bJoined && pNd != NULL) in SetFlysInDoc() 269 pNd->SetAttr( aDropCap ); in SetFlysInDoc() 303 if( pNd->IsNoTxtNode() ) in SetFlysInDoc() 311 if( 0 != ( pNd = pNd->FindTableNode() ) ) in SetFlysInDoc() 312 pFlySave->SetFlySize( *(SwTableNode*)pNd ); in SetFlysInDoc() 317 pNd = pNd->GetNodes()[ pNd->GetIndex() - 2 ]->GetTableNode(); in SetFlysInDoc() 319 aRg.aStart = *pNd; in SetFlysInDoc() 323 pNd = &aRg.aEnd.GetNode(); in SetFlysInDoc() 326 if (!pNd->IsTableNode() && 0 !=(pNd = pNd->FindTableNode()) in SetFlysInDoc() 342 aRg.aEnd = *pNd; in SetFlysInDoc() [all …]
|