diff options
Diffstat (limited to 'sw/source/core/docnode/ndnum.cxx')
-rw-r--r-- | sw/source/core/docnode/ndnum.cxx | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/sw/source/core/docnode/ndnum.cxx b/sw/source/core/docnode/ndnum.cxx index ade8161b8a..c88a5fdfa3 100644 --- a/sw/source/core/docnode/ndnum.cxx +++ b/sw/source/core/docnode/ndnum.cxx @@ -125,83 +125,6 @@ void SwNodes::UpdateOutlineNode(SwNode & rNd) } } -//void SwNodes::UpdateOutlineNode( const SwNode& rNd, BYTE nOldLevel, //#outline level,removed by zhaojianwei -// BYTE nNewLevel ) -//{ -// const SwNodePtr pSrch = (SwNodePtr)&rNd; -// USHORT nSttPos; -// BOOL bSeekIdx = pOutlineNds->Seek_Entry( pSrch, &nSttPos ); -// -// //if( NO_NUMBERING == nOldLevel ) //#outline level,zhaojianwei -// if( 0 == nOldLevel ) //<-end, zhaojianwei -// { -// // nicht vorhanden, also einfuegen -// //ASSERT( !bSeekIdx, "Der Node ist schon als OutlineNode vorhanden" ); -// -// //JP 12.03.99: 63293 - Nodes vom RedlineBereich NIE aufnehmen -// ULONG nNd = rNd.GetIndex(); -// if( nNd < GetEndOfRedlines().GetIndex() && -// nNd > GetEndOfRedlines().StartOfSectionNode()->GetIndex() ) -// return ; -// -// // jetzt noch alle nachfolgende Outline-Nodes updaten -// if (! bSeekIdx) -// { -// // --> OD 2005-11-03 #125329# -// // assure that node <pSrch> is in the correct nodes array -// if ( &(pSrch->GetNodes()) == this ) -// { -// pOutlineNds->Insert( pSrch ); -// } -// else -// { -// ASSERT( false, -// "<SwNodes::UpdateOutlineNode(..)> - node <pSrch> isn't in correct nodes array. This is a serious defect -> inform OD" ); -// } -// // <-- -// } -// -// } -// //else if( NO_NUMBERING == nNewLevel ) //#outline level,removed by zhaojianwei -// else if( 0 == nNewLevel ) //<-end,added by zhaojianwei // Level entfernen -// { -// if( !bSeekIdx ) -// return; -// -// // jetzt noch alle nachfolgende Outline-Nodes updaten -// pOutlineNds->Remove( nSttPos ); -// } -// else if( !bSeekIdx ) // Update und Index nicht gefunden ?? -// return ; -// -// { -// SwTxtNode & rTxtNd = (SwTxtNode &) rNd; -// SwPaM aPam(rTxtNd); // #115901# -// -// //if (nNewLevel != NO_NUMBERING) //#outline level,zhaojianwei // #115901# -// if (nNewLevel != 0) //<-end,zhaojianwei // #115901# -// { -// //rTxtNd.SetLevel(rTxtNd.GetTxtColl()->GetOutlineLevel()); //#outline level,zhaojianwei -// //rTxtNd.NumRuleChgd(); -// if(rTxtNd.GetTxtColl()->IsAssignedToListLevelOfOutlineStyle()) -// { -// rTxtNd.SetLevel(rTxtNd.GetTxtColl()->GetAssignedOutlineStyleLevel()); -// rTxtNd.NumRuleChgd(); -// }//<-end,zhaojianwei -// -// //GetDoc()->SetNumRule(aPam, *GetDoc()->GetOutlineNumRule()); -// } -// else -// { -// GetDoc()->DelNumRules(aPam); -// } -// } -// -// // die Gliederungs-Felder Updaten -// GetDoc()->GetSysFldType( RES_CHAPTERFLD )->UpdateFlds(); -// GetDoc()->ChkCondColls(); -//}//<-end,zhaojianwei - void SwNodes::UpdtOutlineIdx( const SwNode& rNd ) { if( !pOutlineNds->Count() ) // keine OutlineNodes vorhanden ? |