Lines Matching refs:pDoc
150 void SwHistorySetFmt::SetInDoc( SwDoc* pDoc, bool bTmpSet ) in SetInDoc() argument
152 SwNode * pNode = pDoc->GetNodes()[ m_nNodeIndex ]; in SetInDoc()
197 void SwHistoryResetFmt::SetInDoc( SwDoc* pDoc, bool ) in SetInDoc() argument
199 SwNode * pNode = pDoc->GetNodes()[ m_nNodeIndex ]; in SetInDoc()
241 void SwHistorySetTxt::SetInDoc( SwDoc* pDoc, bool ) in SetInDoc() argument
249 if ( USHRT_MAX == pDoc->GetCharFmts()->GetPos( in SetInDoc()
254 SwTxtNode * pTxtNd = pDoc->GetNodes()[ m_nNodeIndex ]->GetTxtNode(); in SetInDoc()
272 SwDoc* pDoc = pTxtFld->GetTxtNode().GetDoc(); in SwHistorySetTxtFld() local
279 !pDoc->GetSysFldType( m_nFldWhich )) in SwHistorySetTxtFld()
298 void SwHistorySetTxtFld::SetInDoc( SwDoc* pDoc, bool ) in SetInDoc() argument
306 pNewFldType = pDoc->GetSysFldType( m_nFldWhich ); in SetInDoc()
311 pNewFldType = pDoc->InsertFldType( *m_pFldType ); in SetInDoc()
316 SwTxtNode * pTxtNd = pDoc->GetNodes()[ m_nNodeIndex ]->GetTxtNode(); in SetInDoc()
338 void SwHistorySetRefMark::SetInDoc( SwDoc* pDoc, bool ) in SetInDoc() argument
340 SwTxtNode * pTxtNd = pDoc->GetNodes()[ m_nNodeIndex ]->GetTxtNode(); in SetInDoc()
370 void SwHistorySetTOXMark::SetInDoc( SwDoc* pDoc, bool ) in SetInDoc() argument
372 SwTxtNode * pTxtNd = pDoc->GetNodes()[ m_nNodeIndex ]->GetTxtNode(); in SetInDoc()
378 sal_uInt16 nCnt = pDoc->GetTOXTypeCount( m_eTOXTypes ); in SetInDoc()
382 pToxType = const_cast<SwTOXType*>(pDoc->GetTOXType( m_eTOXTypes, n )); in SetInDoc()
391 pDoc->InsertTOXType( SwTOXType( m_eTOXTypes, m_TOXName ))); in SetInDoc()
424 void SwHistoryResetTxt::SetInDoc( SwDoc* pDoc, bool ) in SetInDoc() argument
426 SwTxtNode * pTxtNd = pDoc->GetNodes()[ m_nNodeIndex ]->GetTxtNode(); in SetInDoc()
448 SwDoc* pDoc = const_cast<SwDoc*>(pTxtFtn->GetTxtNode().GetDoc()); in SwHistorySetFootnote() local
449 SwNode* pSaveNd = pDoc->GetNodes()[ m_nNodeIndex ]; in SwHistorySetFootnote()
456 m_pUndo->SaveSection( pDoc, aSttIdx ); in SwHistorySetFootnote()
482 void SwHistorySetFootnote::SetInDoc( SwDoc* pDoc, bool ) in SetInDoc() argument
484 SwTxtNode * pTxtNd = pDoc->GetNodes()[ m_nNodeIndex ]->GetTxtNode(); in SetInDoc()
494 static_cast<const SwFmtFtn&>(pDoc->GetAttrPool().Put(aTemp)) ); in SetInDoc()
503 m_pUndo->RestoreSection( pDoc, &aIdx, SwFootnoteStartNode ); in SetInDoc()
508 m_pUndo->GetHistory()->Rollback( pDoc ); in SetInDoc()
538 void SwHistoryChangeFmtColl::SetInDoc( SwDoc* pDoc, bool ) in SetInDoc() argument
540 SwCntntNode * pCntntNd = pDoc->GetNodes()[ m_nNodeIndex ]->GetCntntNode(); in SetInDoc()
549 if ( USHRT_MAX != pDoc->GetTxtFmtColls()->GetPos( in SetInDoc()
555 else if ( USHRT_MAX != pDoc->GetGrfFmtColls()->GetPos( in SetInDoc()
578 void SwHistoryTxtFlyCnt::SetInDoc( SwDoc* pDoc, bool ) in SetInDoc() argument
580 ::sw::IShellCursorSupplier *const pISCS(pDoc->GetIShellCursorSupplier()); in SetInDoc()
582 ::sw::UndoRedoContext context(*pDoc, *pISCS); in SetInDoc()
625 void SwHistoryBookmark::SetInDoc( SwDoc* pDoc, bool ) in SetInDoc() argument
627 ::sw::UndoGuard const undoGuard(pDoc->GetIDocumentUndoRedo()); in SetInDoc()
629 SwNodes& rNds = pDoc->GetNodes(); in SetInDoc()
630 IDocumentMarkAccess* pMarkAccess = pDoc->getIDocumentMarkAccess(); in SetInDoc()
792 void SwHistorySetAttrSet::SetInDoc( SwDoc* pDoc, bool ) in SetInDoc() argument
794 ::sw::UndoGuard const undoGuard(pDoc->GetIDocumentUndoRedo()); in SetInDoc()
796 SwNode * pNode = pDoc->GetNodes()[ m_nNodeIndex ]; in SetInDoc()
876 void SwHistoryResetAttrSet::SetInDoc( SwDoc* pDoc, bool ) in SetInDoc() argument
878 ::sw::UndoGuard const undoGuard(pDoc->GetIDocumentUndoRedo()); in SetInDoc()
880 SwCntntNode * pCntntNd = pDoc->GetNodes()[ m_nNodeIndex ]->GetCntntNode(); in SetInDoc()
921 void SwHistoryChangeFlyAnchor::SetInDoc( SwDoc* pDoc, bool ) in SetInDoc() argument
923 ::sw::UndoGuard const undoGuard(pDoc->GetIDocumentUndoRedo()); in SetInDoc()
925 sal_uInt16 nPos = pDoc->GetSpzFrmFmts()->GetPos( &m_rFmt ); in SetInDoc()
930 SwNode* pNd = pDoc->GetNodes()[ m_nOldNodeIndex ]; in SetInDoc()
944 if ( !pCNd || !pCNd->getLayoutFrm( pDoc->GetCurrentLayout(), 0, 0, sal_False ) ) in SetInDoc()
966 void SwHistoryChangeFlyChain::SetInDoc( SwDoc* pDoc, bool ) in SetInDoc() argument
968 if ( USHRT_MAX != pDoc->GetSpzFrmFmts()->GetPos( m_pFlyFmt ) ) in SetInDoc()
973 USHRT_MAX != pDoc->GetSpzFrmFmts()->GetPos( m_pPrevFmt ) ) in SetInDoc()
982 USHRT_MAX != pDoc->GetSpzFrmFmts()->GetPos( m_pNextFmt ) ) in SetInDoc()
1006 void SwHistoryChangeCharFmt::SetInDoc(SwDoc * pDoc, bool ) in SetInDoc() argument
1008 SwCharFmt * pCharFmt = pDoc->FindCharFmtByName(m_Fmt); in SetInDoc()
1212 bool SwHistory::Rollback( SwDoc* pDoc, sal_uInt16 nStart ) in Rollback() argument
1222 pHHt->SetInDoc( pDoc, false ); in Rollback()
1232 bool SwHistory::TmpRollback( SwDoc* pDoc, sal_uInt16 nStart, bool bToFirst ) in TmpRollback() argument
1244 pHHt->SetInDoc( pDoc, true ); in TmpRollback()
1252 pHHt->SetInDoc( pDoc, true ); in TmpRollback()