/aoo4110/main/sw/source/core/undo/ |
H A D | unmove.cxx | 55 if( pTxtNd ) in SwUndoMove() 58 if ( pTxtNd->GetpSwpHints() ) in SwUndoMove() 63 if( pTxtNd->HasSwAttrSet() ) in SwUndoMove() 79 if (0 != pTxtNd) in SwUndoMove() 247 SwIndex( pTxtNd, pTxtNd->GetTxt().Len() ) ) ); in UndoImpl() 250 pTxtNd->JoinNext(); in UndoImpl() 259 SwIndex( pTxtNd, pTxtNd->GetTxt().Len() ) ) ); in UndoImpl() 261 pTxtNd->JoinNext(); in UndoImpl() 319 if( pTxtNd && pTxtNd->CanJoinNext() ) in RedoImpl() 323 SwIndex( pTxtNd, pTxtNd->GetTxt().Len() ) ) ); in RedoImpl() [all …]
|
H A D | unovwr.cxx | 87 SwRegHistory aRHst( *pTxtNd, pHistory ); in SwUndoOverwrite() 95 pTxtNd->SetIgnoreDontExpand( sal_True ); in SwUndoOverwrite() 104 pTxtNd->EraseText( aTmpIndex, 1 ); in SwUndoOverwrite() 106 pTxtNd->SetIgnoreDontExpand( bOldExpFlg ); in SwUndoOverwrite() 205 rIdx.Assign( pTxtNd, nSttCntnt ); in UndoImpl() 230 pTxtNd->SetIgnoreDontExpand( sal_True ); in UndoImpl() 239 pTxtNd->EraseText( rIdx, 1 ); in UndoImpl() 247 if( pTxtNd->GetpSwpHints() ) in UndoImpl() 291 rIdx.Assign( pTxtNd, nSttCntnt ); in RedoImpl() 300 pTxtNd->SetIgnoreDontExpand( sal_True ); in RedoImpl() [all …]
|
H A D | untblk.cxx | 52 if( pTxtNd ) in SwUndoInserts() 54 pTxtFmtColl = pTxtNd->GetTxtColl(); in SwUndoInserts() 57 if( pTxtNd->HasSwAttrSet() ) in SwUndoInserts() 152 if( pTxtNd ) // Robust in ~SwUndoInserts() 154 pTxtNd->EraseText( pPos->nContent ); in ~SwUndoInserts() 189 if( pTxtNd && pTxtNd->GetTxt().Len() == nEndCntnt ) in UndoImpl() 190 pLastNdColl = pTxtNd->GetTxtColl(); in UndoImpl() 299 if( pTxtNd ) in RedoImpl() 300 pTxtNd->ChgFmtColl( pTxtFmtColl ); in RedoImpl() 308 if( pTxtNd ) in RedoImpl() [all …]
|
H A D | rolbck.cxx | 257 if ( pTxtNd ) in SetInDoc() 259 pTxtNd->InsertItem( *m_pAttr, m_nStart, m_nEnd, in SetInDoc() 319 if ( pTxtNd ) in SetInDoc() 321 pTxtNd->InsertItem( *m_pFld, m_nPos, m_nPos, in SetInDoc() 342 if ( !pTxtNd ) in SetInDoc() 374 if ( !pTxtNd ) in SetInDoc() 397 pTxtNd->InsertItem( aNew, m_nStart, m_nEnd, in SetInDoc() 428 if ( pTxtNd ) in SetInDoc() 486 if ( !pTxtNd ) in SetInDoc() 502 SwNodeIndex aIdx( *pTxtNd ); in SetInDoc() [all …]
|
H A D | undel.cxx | 699 SwTxtNode* pTxtNd = aPos.nNode.GetNode().GetTxtNode(); in UndoImpl() local 701 if( pTxtNd && pTxtNd->HasSwAttrSet() ) in UndoImpl() 702 pTxtNd->ResetAllAttr(); in UndoImpl() 704 if( pTxtNd && pTxtNd->GetpSwpHints() ) in UndoImpl() 705 pTxtNd->ClearSwpHintsArr( true ); in UndoImpl() 716 pTxtNd = aPos.nNode.GetNode().GetTxtNode(); in UndoImpl() 718 if( pTxtNd ) in UndoImpl() 803 if (pTxtNd != NULL) in UndoImpl() 806 pTxtNd->ResetAllAttr(); in UndoImpl() 808 if( pTxtNd->GetpSwpHints() ) in UndoImpl() [all …]
|
H A D | unsect.cxx | 238 SwTxtNode* pTxtNd = aIdx.GetNode().GetTxtNode(); in Join() local 239 ASSERT( pTxtNd, "wo ist mein TextNode?" ); in Join() 244 SwPosition( aIdx, SwIndex( pTxtNd, pTxtNd->GetTxt().Len() ) ) ); in Join() 246 pTxtNd->JoinNext(); in Join() 250 SwIndex aCntIdx( pTxtNd, 0 ); in Join() 251 pTxtNd->RstTxtAttr( aCntIdx, pTxtNd->Len(), 0, 0, true ); in Join() 257 SwUndoInsSection::SaveSplitNode(SwTxtNode *const pTxtNd, bool const bAtStart) in SaveSplitNode() argument 259 if( pTxtNd->GetpSwpHints() ) in SaveSplitNode() 265 m_pHistory->CopyAttr( pTxtNd->GetpSwpHints(), pTxtNd->GetIndex(), 0, in SaveSplitNode() 266 pTxtNd->GetTxt().Len(), false ); in SaveSplitNode()
|
H A D | undobj.cxx | 409 String& rStr = (String&)pTxtNd->GetTxt(); in MoveToUndoNds() 463 SwTxtNode* pTxtNd = aPaM.GetNode()->GetTxtNode(); in MoveFromUndoNds() local 468 if( pTxtNd->GetTxt().Len() ) in MoveFromUndoNds() 496 else if( pEndNdIdx || !pTxtNd ) in MoveFromUndoNds() 598 SwTxtNode* pTxtNd = (SwTxtNode*)pFtnNd; in DelCntntIndex() local 604 SwIndex aIdx( pTxtNd, nFtnSttIdx ); in DelCntntIndex() 606 pTxtNd->EraseText( aIdx, 1 ); in DelCntntIndex() 622 SwTxtNode* pTxtNd = (SwTxtNode*)pFtnNd; in DelCntntIndex() local 628 SwIndex aIdx( pTxtNd, nFtnSttIdx ); in DelCntntIndex() 630 pTxtNd->EraseText( aIdx, 1 ); in DelCntntIndex() [all …]
|
H A D | unnum.cxx | 357 SwTxtNode * pTxtNd = aIdx.GetNode().GetTxtNode(); in UndoImpl() local 359 if (NULL != pTxtNd) in UndoImpl() 361 pTxtNd->SetCountedInList(mbOldNum); in UndoImpl() 369 SwTxtNode * pTxtNd = aIdx.GetNode().GetTxtNode(); in RedoImpl() local 371 if (NULL != pTxtNd) in RedoImpl() 373 pTxtNd->SetCountedInList(mbNewNum); in RedoImpl() 405 SwTxtNode* pTxtNd = rPos.nNode.GetNode().GetTxtNode(); in SwUndoNumRuleStart() local 406 if ( pTxtNd ) in SwUndoNumRuleStart() 409 if ( pTxtNd->HasAttrListRestartValue() ) in SwUndoNumRuleStart() 411 nOldStt = static_cast<sal_uInt16>(pTxtNd->GetAttrListRestartValue()); in SwUndoNumRuleStart()
|
H A D | untbl.cxx | 602 if( pTxtNd ) in UndoTableToText() 607 if( pTxtNd ) in UndoTableToText() 612 pTxtNd->ResetAllAttr(); in UndoTableToText() 614 if( pTxtNd->GetpSwpHints() ) in UndoTableToText() 810 if( pTxtNd && pTxtNd->CanJoinNext() ) in UndoImpl() 816 pPos->nContent.Assign( pTxtNd, pTxtNd->GetTxt().Len() ); in UndoImpl() 819 pTxtNd->JoinNext(); in UndoImpl() 2086 SwTxtNode* pTxtNd = 0; in UndoImpl() local 2113 if( pTxtNd->GetpSwpHints() && pTxtNd->GetpSwpHints()->Count() ) in UndoImpl() 2114 pTxtNd->RstTxtAttr( aTmpIdx, pTxtNd->GetTxt().Len() - nDelPos + 1 ); in UndoImpl() [all …]
|
/aoo4110/main/sw/source/core/edit/ |
H A D | ednumber.cxx | 170 const SwTxtNode * pTxtNd = in SelectionHasNumber() local 172 if (!bResult && pTxtNd && pTxtNd->Len()==0 && !pTxtNd->GetNumRule()) { in SelectionHasNumber() 187 if (pTxtNd && pTxtNd->Len()!=0) in SelectionHasNumber() 218 if (!bResult && pTxtNd && pTxtNd->Len()==0 && !pTxtNd->GetNumRule()) { in SelectionHasBullet() 233 if (pTxtNd && pTxtNd->Len()!=0) in SelectionHasBullet() 257 if (pTxtNd) in HasNumber() 282 if (pTxtNd) in HasBullet() 477 if( pTxtNd ) in GetCurrentParaOutlineLevel() 745 if ( pTxtNd == NULL ) in GetNumLevel() 847 if( pTxtNd ) in IsNumRuleStart() [all …]
|
H A D | acorrect.cxx | 329 ASSERT( pTxtNd, "wo ist denn der TextNode?" ); in ChgAutoCorrWord() 406 pTxtNd = pIdx->GetNode().GetTxtNode(); in ChgAutoCorrWord() 414 if( bRet && ppPara && pTxtNd ) in ChgAutoCorrWord() 415 *ppPara = &pTxtNd->GetTxt(); in ChgAutoCorrWord() 487 if( pTxtNd ) in SaveDontExpandItems() 492 if( !pTxtNd->GetAttr( *pDontExpItems, n, n, in SaveDontExpandItems() 493 n != pTxtNd->GetTxt().Len() )) in SaveDontExpandItems() 501 if( pTxtNd ) in RestoreDontExpandItems() 504 if( nStart == pTxtNd->GetTxt().Len() ) in RestoreDontExpandItems() 505 pTxtNd->FmtToTxtAttr( pTxtNd ); in RestoreDontExpandItems() [all …]
|
H A D | editsh.cxx | 589 if( pTxtNd ) in GetDropTxt() 591 xub_StrLen nDropLen = pTxtNd->GetDropLen( nChars ); in GetDropTxt() 593 aTxt = pTxtNd->GetTxt().Copy( 0, nDropLen ); in GetDropTxt() 634 SwTxtNode* pTxtNd = pPaM->GetNode()->GetTxtNode(); in Calculate() local 635 if(pTxtNd) in Calculate() 639 String aStr = pTxtNd->GetExpandTxt( nStt, pEnd->nContent. in Calculate() 806 const SwTxtNode* pTxtNd; in GetINetAttrs() local 813 if( 0 != ( pTxtNd = pFnd->GetpTxtNode()) && in GetINetAttrs() 814 pTxtNd->GetNodes().IsDocNodes() ) in GetINetAttrs() 817 String sTxt( pTxtNd->GetExpandTxt( *rAttr.GetStart(), in GetINetAttrs() [all …]
|
H A D | edattr.cxx | 89 SwTxtNode * pTxtNd = in GetCurAttr() local 92 if (pTxtNd) in GetCurAttr() 94 SwNumRule * pNumRule = pTxtNd->GetNumRule(); in GetCurAttr() 221 SwTxtNode* pTxtNd = pCrsr->GetNode()->GetTxtNode(); in GetCurFtn() local 222 if( !pTxtNd ) in GetCurFtn() 225 SwTxtAttr *const pFtn = pTxtNd->GetTxtAttrForCharAt( in GetCurFtn() 302 SwTxtNode* pTxtNd = aIdx.GetNode().GetTxtNode(); in GetSeqFtnList() local 303 if( !pTxtNd ) in GetSeqFtnList() 304 pTxtNd = (SwTxtNode*)pDoc->GetNodes().GoNext( &aIdx ); in GetSeqFtnList() 306 if( pTxtNd ) in GetSeqFtnList() [all …]
|
/aoo4110/main/sw/source/core/doc/ |
H A D | docnum.cxx | 113 pTxtNd->NumRuleChgd(); in SetOutlineNumRule() 119 pTxtNd->SetAttrListLevel( pTxtNd->GetTxtColl()->GetAssignedOutlineStyleLevel() ); in SetOutlineNumRule() 1045 if ( pTxtNd ) in SetNumRule() 1142 if (pTxtNd) in SetNumRuleStart() 1164 if (pTxtNd) in SetNodeNumStart() 1442 aRegH.RegisterInModify( pTxtNd, *pTxtNd ); in ReplaceNumRule() 1829 if (pTxtNd) in SearchNumRule() 1866 else if (pTxtNd->Len() > 0 || NULL != pTxtNd->GetNumRule()) in SearchNumRule() 1921 if (pTxtNd) in NumUpDown() 2368 if (pTxtNd && pTxtNd->GetNumRule() != NULL && in NumOrNoNum() [all …]
|
H A D | doc.cxx | 753 if( pTxtNd ) in SplitNode() 2110 const SwTxtNode* pTxtNd; in FindINetAttr() local 2208 SwTxtNode* pTxtNd; in RemoveInvisibleContent() local 2214 pTxtNd->GetpSwpHints() && pTxtNd->HasHiddenParaField() && in RemoveInvisibleContent() 2218 SwPaM aPam( *pTxtNd, 0, *pTxtNd, pTxtNd->GetTxt().Len() ); in RemoveInvisibleContent() 2226 ( 1 == pTxtNd->EndOfSectionIndex() - pTxtNd->GetIndex() && in RemoveInvisibleContent() 2246 if ( pTxtNd ) in RemoveInvisibleContent() 2249 SwPaM aPam( *pTxtNd, 0, *pTxtNd, pTxtNd->GetTxt().Len() ); in RemoveInvisibleContent() 2262 ( 1 == pTxtNd->EndOfSectionIndex() - pTxtNd->GetIndex() && in RemoveInvisibleContent() 2390 if ( pTxtNd ) in HasInvisibleContent() [all …]
|
H A D | docedt.cxx | 884 if( pTxtNd && pTxtNd->CanJoinNext( &aNxtIdx ) ) in MoveAndJoin() 890 pTxtNd->JoinNext(); in MoveAndJoin() 1357 SwTxtNode *pOldTxtNd = pTxtNd; in lcl_JoinText() 1359 if( pTxtNd && pTxtNd->CanJoinNext( &aIdx ) ) in lcl_JoinText() 1413 SwIndex aAlphaIdx(pTxtNd); in lcl_JoinText() 1436 if( pTxtNd->Len() ) in lcl_JoinText() 1437 pDelNd->FmtToTxtAttr( pTxtNd ); in lcl_JoinText() 1477 pTxtNd->JoinNext(); in lcl_JoinText() 1673 if( pTxtNd && 0 != ( pHts = pTxtNd->GetpSwpHints()) && pHts->Count() ) in DeleteRangeImplImpl() 2332 : pTxtNd->GetTxt().Len(); in ReplaceRangeImpl() [all …]
|
/aoo4110/main/sw/source/core/crsr/ |
H A D | crstrvl.cxx | 552 const SwTxtNode* pTxtNd; in GotoNxtPrvTOXMark() local 935 pCrsr->GetPoint()->nNode = *pTxtNd; in GotoOutline() 1119 if( pTxtNd && pTxtNd->GetNodes().IsDocNodes() ) in GotoRefMark() 1153 SwTxtNode* pTxtNd; in GetContentAtPos() local 1170 if( pTxtNd in GetContentAtPos() 1187 else if( pTxtNd in GetContentAtPos() 1673 if ( pTxtNd ) in GetPostItFieldAtCursor() 1792 pTxtAttr = (pTxtNd) in SelectTxtAttr() 2245 const SwTxtNode* pTxtNd; in SelectNxtPrvHyperlink() local 2253 pTxtNd->GetNodes().IsDocNodes() ) in SelectNxtPrvHyperlink() [all …]
|
H A D | swcrsr.cxx | 1231 pTxtNd->GetTxt(), nPtPos, in IsStartWordWT() 1246 pTxtNd->GetTxt(), nPtPos, in IsEndWordWT() 1262 pTxtNd->GetTxt(), nPtPos, in IsInWordWT() 1305 pTxtNd->GetTxt(), nPtPos, in GoStartWordWT() 1329 pTxtNd->GetTxt(), nPtPos, in GoEndWordWT() 1355 pTxtNd->GetTxt(), nPtPos, in GoNextWordWT() 1416 pTxtNd->GetTxt(), nPtPos, in SelectWordWT() 1447 if (pTxtNd) in lcl_MaskDeletedRedlines() 1450 String sNodeText(pTxtNd->GetTxt()); in lcl_MaskDeletedRedlines() 1493 pTxtNd->GetLang( nPtPos ) )); in GoSentence() [all …]
|
H A D | crsrsh.cxx | 374 const SwTxtNode* pTxtNd = 0; in LeftRight() local 509 if ( pTxtNd ) in UpdateMarkedListLevel() 587 if ( pTxtNd && pTxtNd->HasVisibleNumberingOrBullet() ) in LRMargin() 1366 while( pTxtNd && pTxtNd->HasHiddenCharAttribute( true ) ) in lcl_CheckHiddenPara() 1372 pTxtNd = 0; in lcl_CheckHiddenPara() 1375 if ( pTxtNd ) in lcl_CheckHiddenPara() 2281 if( pTxtNd ) in GetSelTxt() 2301 if( pTxtNd ) in GetText() 2302 aTxt = pTxtNd->GetTxt().Copy( in GetText() 2317 if( !pTxtNd ) in GetChar() [all …]
|
/aoo4110/main/sw/source/core/fields/ |
H A D | chpfld.cxx | 171 const SwTxtNode *pTxtNd = rTxtNd.FindOutlineNodeOfLevel( nLevel ); in ChangeExpansion() local 172 if( pTxtNd ) in ChangeExpansion() 176 const SwTxtNode* pONd = pTxtNd; in ChangeExpansion() 198 pTxtNd = pONd; in ChangeExpansion() 204 pONd = pTxtNd->FindOutlineNodeOfLevel( nLevel ); in ChangeExpansion() 213 if ( pTxtNd->IsOutline() ) in ChangeExpansion() 219 sNumber = pTxtNd->GetNumString( false ); in ChangeExpansion() 222 SwNumRule* pRule( pTxtNd->GetNumRule() ); in ChangeExpansion() 223 if ( pTxtNd->IsCountedInList() && pRule ) in ChangeExpansion() 225 … const SwNumFmt& rNFmt = pRule->Get( static_cast<sal_uInt16>(pTxtNd->GetActualListLevel()) ); in ChangeExpansion() [all …]
|
H A D | reffld.cxx | 288 if ( !pTxtNd ) in UpdateField() 304 nEnd = pTxtNd->GetTxt().Len(); in UpdateField() 339 nEnd = pTxtNd->GetTxt().Len(); in UpdateField() 414 aFld.ChangeExpansion( pFrm, pTxtNd, sal_True ); in UpdateField() 430 if( pFldTxtAttr->GetpTxtNode() == pTxtNd ) in UpdateField() 791 SwTxtNode* pTxtNd = 0; in FindAnchor() local 820 pTxtNd = (SwTxtNode*)pTxtFld->GetpTxtNode(); in FindAnchor() 849 ASSERT( pTxtNd, in FindAnchor() 851 *pEnd = pTxtNd->Len(); in FindAnchor() 879 if( 0 == ( pTxtNd = aIdx.GetNode().GetTxtNode())) in FindAnchor() [all …]
|
/aoo4110/main/sw/source/core/docnode/ |
H A D | ndnum.cxx | 86 SwTxtNode * pTxtNd = rNd.GetTxtNode(); in UpdateOutlineNode() local 88 if (pTxtNd && pTxtNd->IsOutlineStateChanged()) in UpdateOutlineNode() 90 sal_Bool bFound = pOutlineNds->Seek_Entry(pTxtNd); in UpdateOutlineNode() 92 if (pTxtNd->IsOutline()) in UpdateOutlineNode() 98 if ( &(pTxtNd->GetNodes()) == this ) in UpdateOutlineNode() 100 pOutlineNds->Insert(pTxtNd); in UpdateOutlineNode() 113 pOutlineNds->Remove(pTxtNd); in UpdateOutlineNode() 116 pTxtNd->UpdateOutlineState(); in UpdateOutlineNode()
|
/aoo4110/main/sw/source/core/unocore/ |
H A D | unocrsrhelper.cxx | 256 const SwTxtNode* pTxtNd = rPam.GetNode()->GetTxtNode(); in getCrsrPropertyValue() local 257 if ( pTxtNd && pTxtNd->IsInList() ) in getCrsrPropertyValue() 270 const String sListId = pTxtNd->GetListId(); in getCrsrPropertyValue() 361 const SwTxtNode *pTxtNd = in getCrsrPropertyValue() local 363 const SwTxtAttr* pTxtAttr = (pTxtNd) in getCrsrPropertyValue() 585 const SwTxtNode* pTxtNd = rPam.GetNode()->GetTxtNode(); in IsNodeNumStart() local 589 if ( pTxtNd && pTxtNd->GetNumRule() && pTxtNd->IsListRestart() && in IsNodeNumStart() 590 pTxtNd->HasAttrListRestartValue() ) in IsNodeNumStart() 995 SwTxtNode* const pTxtNd = in DocInsertStringSplitCR() local 997 const xub_StrLen nMaxLength = ( pTxtNd ) in DocInsertStringSplitCR() [all …]
|
/aoo4110/main/sw/source/core/txtnode/ |
H A D | atrfld.cxx | 232 SwTxtNode* pTxtNd = (SwTxtNode*) &mpTxtFld->GetTxtNode(); in Modify() local 233 ASSERT( pTxtNd, "wo ist denn mein Node?" ); in Modify() 241 pTxtNd->ModifyNotification( this, this ); in Modify() 254 pTxtNd->ModifyNotification( pNew, this ); in Modify() 259 pTxtNd->ModifyNotification( pOld, pNew ); in Modify() 276 pTxtNd->ModifyNotification( 0, pNew ); in Modify() 285 SwCalc aCalc( *pTxtNd->GetDoc() ); in Modify() 296 const SwTxtNode* pTxtNd; in GetInfo() local 298 !mpTxtFld || 0 == ( pTxtNd = mpTxtFld->GetpTxtNode() ) || in GetInfo() 299 &pTxtNd->GetNodes() != ((SwAutoFmtGetDocNode&)rInfo).pNodes ) in GetInfo() [all …]
|
/aoo4110/main/sw/source/core/text/ |
H A D | txtfld.cxx | 475 const SwTxtNode* pTxtNd = GetTxtFrm()->GetTxtNode(); in NewNumberPortion() local 476 const SwNumRule* pNumRule = pTxtNd->GetNumRule(); in NewNumberPortion() 479 if( pTxtNd->IsNumbered() && pTxtNd->IsCountedInList()) in NewNumberPortion() 481 … const SwNumFmt &rNumFmt = pNumRule->Get( static_cast<sal_uInt16>(pTxtNd->GetActualListLevel()) ); in NewNumberPortion() 495 pTxtNd->GetLabelFollowedBy(), in NewNumberPortion() 516 const IDocumentSettingAccess* pIDSA = pTxtNd->getIDocumentSettingAccess(); in NewNumberPortion() 568 pTxtNd->GetLabelFollowedBy(), in NewNumberPortion() 576 XubString aTxt( pTxtNd->GetNumString() ); in NewNumberPortion() 580 aTxt.Insert( pTxtNd->GetLabelFollowedBy() ); in NewNumberPortion()
|