/aoo42x/main/sw/source/core/crsr/ |
H A D | trvlreg.cxx | 67 if( !pCNd ) in GotoPrevRegion() 79 if( !pCNd ) in GotoPrevRegion() 84 rCurCrsr.GetPoint()->nContent.Assign( pCNd, pCNd->Len() ); in GotoPrevRegion() 123 if( !pCNd ) in GotoNextRegion() 135 if( !pCNd ) in GotoNextRegion() 140 rCurCrsr.GetPoint()->nContent.Assign( pCNd, pCNd->Len() ); in GotoNextRegion() 161 SwCntntNode* pCNd; in GotoCurrRegion() local 173 if( pCNd ) in GotoCurrRegion() 179 return 0 != pCNd; in GotoCurrRegion() 201 if( !pCNd ) in GotoCurrRegionAndSkip() [all …]
|
H A D | trvltbl.cxx | 373 if( !pCNd ) in lcl_FindNextCell() 377 if ( !pCNd ) in lcl_FindNextCell() 408 if ( !pCNd ) in lcl_FindNextCell() 412 pFrm = pCNd->getLayoutFrm( pCNd->GetDoc()->GetCurrentLayout() ); in lcl_FindNextCell() 427 rIdx = *pCNd; in lcl_FindNextCell() 448 if( !pCNd ) in lcl_FindPrevCell() 451 if ( !pCNd ) in lcl_FindPrevCell() 475 pFrm = pCNd->getLayoutFrm( pCNd->GetDoc()->GetCurrentLayout() ); in lcl_FindPrevCell() 487 rIdx = *pCNd; in lcl_FindPrevCell() 746 pFrm = pCNd ? pCNd->getLayoutFrm( GetLayout() ) : 0; in GetBoxNms() [all …]
|
H A D | crstrvl.cxx | 270 if( !pCNd ) in SetCrsrInHdFt() 322 if( !pCNd ) in GotoNextTOXBase() 325 if( pCNd && in GotoNextTOXBase() 330 pFnd = pCNd; in GotoNextTOXBase() 372 if( !pCNd ) in GotoPrevTOXBase() 375 if( pCNd && in GotoPrevTOXBase() 380 pFnd = pCNd; in GotoPrevTOXBase() 424 if( !pCNd ) in GotoTOXMarkBase() 427 if( pCNd && in GotoTOXMarkBase() 1891 pCNd && pCNd->Len() ) in SetShadowCrsrPos() [all …]
|
H A D | swcrsr.cxx | 377 pNd = pCNd; in IsSelOvr() 578 if( !pCNd ) in IsInProtectTable() 928 SwCntntNode* pCNd; in lcl_MakeSelFwrd() local 933 if( !pCNd ) in lcl_MakeSelFwrd() 944 if( !pCNd ) in lcl_MakeSelFwrd() 960 SwCntntNode* pCNd; in lcl_MakeSelBkwrd() local 965 if( !pCNd ) in lcl_MakeSelBkwrd() 976 if( !pCNd ) in lcl_MakeSelBkwrd() 1148 SwCntntNode* pCNd = 0; in FillFindPos() local 1180 if( pCNd ) in FillFindPos() [all …]
|
H A D | unocrsr.cxx | 185 SwCntntNode* pCNd = GetCntntNode(); in IsSelOvr() local 187 if( pCNd && !bMoveDown ) in IsSelOvr() 188 nCnt = pCNd->Len(); in IsSelOvr() 189 GetPoint()->nContent.Assign( pCNd, nCnt ); in IsSelOvr() 240 const SwCntntNode* pCNd; in MakeBoxSels() local 243 0 != ( pCNd = GetCntntNode() ) && pCNd->getLayoutFrm( pCNd->GetDoc()->GetCurrentLayout() ) && in MakeBoxSels() 244 …0 != ( pCNd = GetCntntNode(sal_False) ) && pCNd->getLayoutFrm( pCNd->GetDoc()->GetCurrentLayout() … in MakeBoxSels()
|
H A D | crsrsh.cxx | 197 const SwCntntNode* pCNd; in GetCrsr() local 200 0 != ( pCNd = pTblCrsr->GetCntntNode() ) && pCNd->getLayoutFrm( GetLayout() ) && in GetCrsr() 201 0 != ( pCNd = pTblCrsr->GetCntntNode(sal_False) ) && pCNd->getLayoutFrm( GetLayout() ) ) in GetCrsr() 639 pPos->nContent.Assign( pCNd, pCNd ? pCNd->Len() : 0 ); in ExtendedSelectAll() 699 if( pCNd ) in lcl_IsInHeaderFooter() 2479 if( !pCNd ) in IsEndOfDoc() 2705 pCNd->Add( this ); in SwCrsrShell() 2874 else if( bOnlyText && pCNd && pCNd->IsNoTxtNode() ) in FindValidCntntNode() 2938 if( pCNd->FindTableNode() ) in FindValidCntntNode() 2998 if( !pCNd || !pCNd->getLayoutFrm( GetLayout(),0,0,sal_False) ) in FindValidCntntNode() [all …]
|
H A D | callnk.cxx | 92 SwCntntNode * pCNd = pCurCrsr->GetCntntNode(); in ~SwCallLink() local 93 if( !pCNd ) in ~SwCallLink() 97 sal_uInt16 nNdWhich = pCNd->GetNodeType(); in ~SwCallLink() 102 pCNd->Add( &rShell ); in ~SwCallLink() 123 if( nLeftFrmPos == SwCallLink::getLayoutFrm( rShell.GetLayout(), (SwTxtNode&)*pCNd, nAktCntnt, in ~SwCallLink() 130 if ( ((SwTxtNode*)pCNd)->HasHints() ) in ~SwCallLink() 133 const SwpHints &rHts = ((SwTxtNode*)pCNd)->GetSwpHints(); in ~SwCallLink() 169 const String& rTxt = ((SwTxtNode*)pCNd)->GetTxt(); in ~SwCallLink() 190 if( !rShell.ActionPend() && 0 != ( pFrm = pCNd->getLayoutFrm(rShell.GetLayout(),0,0,sal_False) ) && in ~SwCallLink()
|
/aoo42x/main/sw/source/filter/ww8/ |
H A D | ww8glsy.cxx | 120 SwCntntNode* pCNd = 0; in MakeEntries() local 126 if( 0 == ( pCNd = rIdx.GetNode().GetTxtNode() ) ) in MakeEntries() 128 pCNd = pD->GetNodes().MakeTxtNode( rIdx, pColl ); in MakeEntries() 129 rIdx = *pCNd; in MakeEntries() 132 aPam.GetPoint()->nContent.Assign( pCNd, 0 ); in MakeEntries() 137 if(( 0 == ( pCNd = rIdx.GetNode().GetCntntNode() ) ) in MakeEntries() 141 pCNd = pD->GetNodes().MakeTxtNode( rIdx, pColl ); in MakeEntries() 142 rIdx = *pCNd; in MakeEntries() 145 aPam.GetPoint()->nContent.Assign( pCNd, pCNd->Len() ); in MakeEntries() 178 pCNd = aIdx.GetNode().GetCntntNode(); in MakeEntries() [all …]
|
/aoo42x/main/sw/source/core/undo/ |
H A D | unmove.cxx | 122 SwCntntNode* pCNd = rRg.aEnd.GetNode().GetCntntNode(); in SwUndoMove() local 123 if( pCNd ) in SwUndoMove() 124 aPtPos.nContent.Assign( pCNd, pCNd->Len() ); in SwUndoMove() 126 if( 0 != ( pCNd = aMkPos.nNode.GetNode().GetCntntNode() )) in SwUndoMove() 127 aMkPos.nContent.Assign( pCNd, 0 ); in SwUndoMove() 218 SwCntntNode* pCNd = aPos.nNode.GetNode().GetCntntNode(); in UndoImpl() local 219 aPos.nContent.Assign( pCNd, nInsPosCntnt ); in UndoImpl() 221 if( pCNd->HasSwAttrSet() ) in UndoImpl() 222 pCNd->ResetAllAttr(); in UndoImpl() 224 if( pCNd->IsTxtNode() && ((SwTxtNode*)pCNd)->GetpSwpHints() ) in UndoImpl() [all …]
|
H A D | unins.cxx | 75 SwCntntNode* pCNd = aNd.GetNode().GetCntntNode(); in GetTxtFromDoc() local 76 SwPaM aPaM( *pCNd, nCntnt ); in GetTxtFromDoc() 80 if( pCNd->IsTxtNode() ) in GetTxtFromDoc() 246 SwPaM aPaM( *pCNd, nCntnt ); in UndoImpl() 323 SwCntntNode *const pCNd = in RedoImpl() local 381 SwPaM aPaM( *pCNd, nCntnt ); in RepeatImpl() 384 pCNd = aPaM.GetCntntNode(); in RepeatImpl() 389 switch( pCNd->GetNodeType() ) in RepeatImpl() 398 String aTxt( ((SwTxtNode*)pCNd)->GetTxt() ); in RepeatImpl() 406 SwGrfNode* pGrfNd = (SwGrfNode*)pCNd; in RepeatImpl() [all …]
|
H A D | unredln.cxx | 283 SwCntntNode* pCNd = pPam->GetCntntNode(); in UndoRedlineImpl() local 284 pPam->GetPoint()->nContent.Assign(pCNd, 0 ); in UndoRedlineImpl() 288 pCNd = pPam->GetCntntNode(); in UndoRedlineImpl() 289 pPam->GetPoint()->nContent.Assign( pCNd, pCNd->Len() ); in UndoRedlineImpl() 310 SwCntntNode* pCNd = pPam->GetCntntNode(); in RedoRedlineImpl() local 311 xub_StrLen nLen = pCNd->Len(); in RedoRedlineImpl() 314 pPam->GetPoint()->nContent.Assign(pCNd, nLen ); in RedoRedlineImpl() 318 pCNd = pPam->GetCntntNode(); in RedoRedlineImpl() 319 pPam->GetPoint()->nContent.Assign( pCNd, pCNd->Len() ); in RedoRedlineImpl()
|
H A D | untblk.cxx | 230 SwCntntNode* pCNd = rIdx.GetNode().GetCntntNode(); in UndoImpl() local 231 xub_StrLen nCnt = 0; if( pCNd ) nCnt = pCNd->Len(); in UndoImpl() 232 pPam->GetPoint()->nContent.Assign( pCNd, nCnt ); in UndoImpl() 272 SwCntntNode* pCNd = pPam->GetCntntNode(); in RedoImpl() local 273 pPam->GetPoint()->nContent.Assign( pCNd, nSttCntnt ); in RedoImpl() 276 if( pTxtFmtColl && pCNd && pCNd->IsTxtNode() ) in RedoImpl() 277 pSavTxtFmtColl = ((SwTxtNode*)pCNd)->GetTxtColl(); in RedoImpl()
|
H A D | untbl.cxx | 351 if( pCNd ) in RedoImpl() 680 if( !pCNd && 0 == ( pCNd = rDoc.GetNodes().GoNext( &aSaveIdx ) ) && in RedoImpl() 1328 if( pCNd ) in RestoreAttr() 1339 pCNd->SetAttr( *pSet ); in RestoreAttr() 1342 pCNd->ResetAllAttr(); in RestoreAttr() 1368 if( pCNd ) in SaveCntntAttrs() 1375 pSet->Put( *pCNd->GetpSwAttrSet() ); in SaveCntntAttrs() 2100 if( pCNd ) in UndoImpl() 2219 if( !pCNd ) in SaveCollection() 2222 pHistory->Add( pCNd->GetFmtColl(), aIdx.GetIndex(), pCNd->GetNodeType()); in SaveCollection() [all …]
|
/aoo42x/main/sw/source/core/docnode/ |
H A D | ndsect.cxx | 250 const SwCntntNode* pCNd; in InsertSwSection() local 268 pCNd = pEndPos->nNode.GetNode().GetCntntNode(); in InsertSwSection() 269 if( pCNd && pCNd->Len() != pEndPos->nContent.GetIndex() ) in InsertSwSection() 312 if( pUndoInsSect && pCNd->IsTxtNode() ) in InsertSwSection() 403 const SwSectionNode* pEndSectNd = pCNd ? pCNd->FindSectionNode() : 0; in IsInsRegionAvailable() 412 pCNd->Len() ) in IsInsRegionAvailable() 453 if( pEnd->nContent.GetIndex() == pCNd->Len() ) in IsInsRegionAvailable() 600 SwCntntNode* pCNd; in DelSectionFmt() local 604 pCNd->ChkCondColl(); in DelSectionFmt() 1099 if( !pCNd ) in MakeFrms() [all …]
|
/aoo42x/main/sw/source/core/attr/ |
H A D | swatrset.cxx | 321 SwCntntNode* pCNd = PTR_CAST( SwCntntNode, &rMod ); in CopyToModify() local 324 if( pCNd || pFmt ) in CopyToModify() 334 SwDoc *pDstDoc = pCNd ? pCNd->GetDoc() : pFmt->GetDoc(); in CopyToModify() 356 pCNd && pCNd->IsTxtNode() && in CopyToModify() 426 if( pCNd ) in CopyToModify() 434 pCNd->SetAttr( aTmpSet ); in CopyToModify() 439 else if( pCNd ) in CopyToModify() 446 pCNd->SetAttr( aTmpSet ); in CopyToModify() 450 pCNd->SetAttr( *this ); in CopyToModify()
|
/aoo42x/main/sw/source/core/doc/ |
H A D | docbm.cxx | 1378 if( !pCNd && 0 == ( pCNd = pDoc->GetNodes().GoNext( &pRStt->nNode )) ) in _DelBookmarks() 1388 xub_StrLen nTmp = bStt ? 0 : pCNd->Len(); in _DelBookmarks() 1389 pRStt->nContent.Assign( pCNd, nTmp ); in _DelBookmarks() 1401 if( !pCNd && 0 == ( pCNd = pDoc->GetNodes().GoPrevious( &pREnd->nNode )) ) in _DelBookmarks() 1411 xub_StrLen nTmp = bStt ? 0 : pCNd->Len(); in _DelBookmarks() 1412 pREnd->nContent.Assign( pCNd, nTmp ); in _DelBookmarks() 1652 aNewPos.nNode = *pCNd; in _RestoreCntntIdx() 1661 aNewPos.nNode = *pCNd; in _RestoreCntntIdx() 1680 aNewPos.nNode = *pCNd; in _RestoreCntntIdx() 1787 pPos->nNode = *pCNd; in _RestoreCntntIdx() [all …]
|
H A D | doctxm.cxx | 770 SwCntntNode* pCNd; in SetPosAtStartEnd() local 781 if( pCNd ) nC = pCNd->Len(); in SetPosAtStartEnd() 907 if( !pCNd ) in Update() 1478 SwCntntNode* pCNd = 0; in UpdateCntnt() local 1484 pCNd = pNd->GetCntntNode(); in UpdateCntnt() 1485 if( !pCNd ) in UpdateCntnt() 1494 pCNd = (SwCntntNode*)pNd; in UpdateCntnt() 1521 pCNd = (SwCntntNode*)pNd; in UpdateCntnt() 1527 if( pCNd ) in UpdateCntnt() 1554 *pCNd, in UpdateCntnt() [all …]
|
H A D | docsort.cxx | 374 if( pCNd ) in SortText() 375 pRedlPam->GetMark()->nContent = pCNd->Len(); in SortText() 393 pCNd = pRedlPam->GetCntntNode( sal_False ); in SortText() 394 pRedlPam->GetMark()->nContent.Assign( pCNd, 0 ); in SortText() 397 pCNd = pRedlPam->GetCntntNode( sal_True ); in SortText() 399 if( !pCNd && in SortText() 402 nCLen = pCNd->Len(); in SortText() 403 pRedlPam->GetPoint()->nNode.Assign( *pCNd ); in SortText() 405 pRedlPam->GetPoint()->nContent.Assign( pCNd, nCLen ); in SortText() 482 SwCntntNode* pCNd = aSttIdx.GetNode().GetCntntNode(); in SortText() local [all …]
|
H A D | docredln.cxx | 243 const SwCntntNode* pCNd; in IsPrevPos() local 2376 SwCntntNode* pCNd; in SelNextRedline() local 2394 rPam.GetPoint()->nContent.Assign( pCNd, pCNd->Len() ); in SelNextRedline() 2495 SwCntntNode* pCNd; in SelPrevRedline() local 2501 rPam.GetMark()->nContent.Assign( pCNd, pCNd->Len() ); in SelPrevRedline() 3633 if( pCNd ) in MoveFromSection() 3634 aPam.GetPoint()->nContent.Assign( pCNd, pCNd->Len() ); in MoveFromSection() 3638 SwFmtColl* pColl = pCNd && pCNd->Len() && aPam.GetPoint()->nNode != in MoveFromSection() 3671 pCNd = GetCntntNode(); in MoveFromSection() 3673 if( pColl && pCNd ) in MoveFromSection() [all …]
|
H A D | docnum.cxx | 1409 SwTxtNode * pCNd = GetNodes()[n]->GetTxtNode(); in MakeUniqueNumRules() local 1411 if (pCNd) in MakeUniqueNumRules() 1413 SwNumRule * pRule = pCNd->GetNumRule(); in MakeUniqueNumRules() 1423 SwPosition aPos(*pCNd); in MakeUniqueNumRules() 1441 SwPaM aPam(*pCNd); in MakeUniqueNumRules() 2024 aEndPos.nContent = pCNd ? pCNd->Len() : 1; in MoveParagraph() 2157 xub_StrLen nCLen = 0; if( pCNd ) nCLen = pCNd->Len(); in MoveParagraph() 2158 aInsPos.nContent.Assign( pCNd, nCLen ); in MoveParagraph() 2179 pCNd->JoinNext(); in MoveParagraph() 2262 xub_StrLen nL = 0; if( pCNd ) nL = pCNd->Len(); in MoveParagraph() [all …]
|
/aoo42x/main/sw/source/filter/html/ |
H A D | htmlgrin.cxx | 1331 if( pCNd && pCNd->StartOfSectionIndex()+2 < in StripTrailingPara() 1332 pCNd->EndOfSectionIndex() ) in StripTrailingPara() 1356 if( pCNd->Len() && pCNd->IsTxtNode() ) in StripTrailingPara() 1363 SwIndex aSrc( pCNd, 0 ); in StripTrailingPara() 1364 pCNd->GetTxtNode()->CutText( pPrvNd, aSrc, pCNd->Len() ); in StripTrailingPara() 1403 else if( pCNd && pCNd->IsTxtNode() && pTable ) in StripTrailingPara() 1411 else if( pCNd && pCNd->IsTxtNode() && pTable && in StripTrailingPara() 1413 pCNd->EndOfSectionIndex() ) in StripTrailingPara() 1433 pCNd->SetAttr( aFontHeight ); in StripTrailingPara() 1435 pCNd->SetAttr( aFontHeight ); in StripTrailingPara() [all …]
|
/aoo42x/main/sw/source/filter/basflt/ |
H A D | shellio.cxx | 183 SwCntntNode* pCNd = pPam->GetCntntNode(); in Read() local 184 xub_StrLen nEndCntnt = pCNd ? pCNd->Len() - nSttCntnt : 0; in Read() 199 pCNd = aEndPos.GetNode().GetCntntNode(); in Read() 200 if( !pCNd && 0 == ( pCNd = pDoc->GetNodes().GoPrevious( &aEndPos ) )) in Read() 201 pCNd = pDoc->GetNodes().GoNext( &aEndPos ); in Read() 204 xub_StrLen nLen = pCNd->Len(); in Read() 209 pPam->GetPoint()->nContent.Assign( pCNd, nEndCntnt ); in Read() 997 SwCntntNode* pCNd = rNds.GoNext( &aIdx ); in SetHTMLTemplate() local 998 if( pCNd ) in SetHTMLTemplate() 1000 pCNd->SetAttr in SetHTMLTemplate() [all …]
|
/aoo42x/main/sw/source/core/frmedt/ |
H A D | tblsel.cxx | 493 if( !pCNd ) in ChkChartSel() 502 if ( !pCNd || pCNd->getLayoutFrm( pCNd->GetDoc()->GetCurrentLayout() ) == NULL ) in ChkChartSel() 505 …const SwLayoutFrm *pStart = pCNd ? pCNd->getLayoutFrm( pCNd->GetDoc()->GetCurrentLayout(), &aNullP… in ChkChartSel() 509 pCNd = aIdx.GetNode().GetCntntNode(); in ChkChartSel() 510 if( !pCNd ) in ChkChartSel() 514 if ( !pCNd || pCNd->getLayoutFrm( pCNd->GetDoc()->GetCurrentLayout() ) == NULL ) in ChkChartSel() 519 …const SwLayoutFrm *pEnd = pCNd ? pCNd->getLayoutFrm( pCNd->GetDoc()->GetCurrentLayout(), &aNullPos… in ChkChartSel() 950 if( pCNd && pCNd->IsTxtNode() ) in lcl_InsTblBox() 953 ((SwTxtNode*)pCNd)->GetTxtColl(), in lcl_InsTblBox() 954 pCNd->GetpSwAttrSet(), in lcl_InsTblBox() [all …]
|
/aoo42x/main/sw/source/core/txtnode/ |
H A D | atrftn.cxx | 104 SwCntntNode* pCNd = aIdx.GetNode().GetTxtNode(); in GetFtnText() local 105 if( !pCNd ) in GetFtnText() 106 pCNd = aIdx.GetNodes().GoNext( &aIdx ); in GetFtnText() 108 if( pCNd->IsTxtNode() ) in GetFtnText() 109 rStr = ((SwTxtNode*)pCNd)->GetExpandTxt(); in GetFtnText() 388 SwCntntNode* pCNd = m_pTxtNode->GetNodes().GoNext( &aIdx ); in DelFrms() local 389 if( pCNd ) in DelFrms() 391 SwIterator<SwCntntFrm,SwCntntNode> aIter( *pCNd ); in DelFrms()
|
/aoo42x/main/sw/source/core/edit/ |
H A D | edfmt.cxx | 83 const SwCntntNode* pCNd = pPam->GetCntntNode(); in FillByEx() local 84 if( pCNd->IsTxtNode() ) in FillByEx() 111 nEnd = ((SwTxtNode*)pCNd)->GetTxt().Len(); in FillByEx() 119 ((SwTxtNode*)pCNd)->GetAttr( aSet, nStt, nEnd ); in FillByEx() 122 else if( pCNd->HasSwAttrSet() ) in FillByEx() 123 pCharFmt->SetFmtAttr( *pCNd->GetpSwAttrSet() ); in FillByEx()
|