Lines Matching refs:pSh

148             SwWrtShell *pSh = GetWrtShell();  in SaveSelectedTxtNode()  local
149 if ( !pSh ) in SaveSelectedTxtNode()
151 pSh = ::GetActiveWrtShell(); in SaveSelectedTxtNode()
232 SwWrtShell *pSh = GetWrtShell(); in Reset() local
233 if(!pSh) in Reset()
234 pSh = ::GetActiveWrtShell(); in Reset()
236 sal_uInt16 nFldTypeCnt = pSh->GetFldTypeCount(RES_SETEXPFLD); in Reset()
240 SwSetExpFieldType* pType = (SwSetExpFieldType*)pSh->GetFldType(n, RES_SETEXPFLD); in Reset()
242 … if ((nsSwGetSetExpType::GSE_SEQ & pType->GetType()) && pType->GetDepends() && pSh->IsUsed(*pType)) in Reset()
254 if( pSh->HasFtns() ) in Reset()
261 if ( pSh->HasFtns(true) ) in Reset()
471 SwWrtShell *pSh = GetWrtShell(); in IMPL_LINK() local
472 if(!pSh) in IMPL_LINK()
473 pSh = ::GetActiveWrtShell(); in IMPL_LINK()
474 if(pSh) in IMPL_LINK()
476 aValueED.SetText(pSh->GetSelTxt()); in IMPL_LINK()
509 SwWrtShell *pSh = GetWrtShell(); in UpdateSubType() local
510 if(!pSh) in UpdateSubType()
511 pSh = ::GetActiveWrtShell(); in UpdateSubType()
539 IDocumentMarkAccess* const pMarkAccess = pSh->getIDocumentMarkAccess(); in UpdateSubType()
555 sal_uInt16 nCnt = pSh->GetSeqFtnList( aArr ); in UpdateSubType()
568 sal_uInt16 nCnt = pSh->GetSeqFtnList( aArr, true ); in UpdateSubType()
581 const IDocumentOutlineNodes* pIDoc( pSh->getIDocumentOutlineNodesAccess() ); in UpdateSubType()
611 const IDocumentListItems* pIDoc( pSh->getIDocumentListItemsAccess() ); in UpdateSubType()
642 SwSetExpFieldType* pType = (SwSetExpFieldType*)pSh->GetFldType( in UpdateSubType()
883 SwWrtShell *pSh = GetWrtShell(); in FillItemSet() local
884 if(!pSh) in FillItemSet()
886 pSh = ::GetActiveWrtShell(); in FillItemSet()
905 if (pSh->GetSeqFtnList(aArr) && aArr.SeekEntry(aElem, &nPos)) in FillItemSet()
926 if (pSh->GetSeqFtnList(aArr, true) && aArr.SeekEntry(aElem, &nPos)) in FillItemSet()
945 pSh->getIDocumentOutlineNodesAccess()->getOutlineNodes( maOutlineNodes ); in FillItemSet()
948 … ::sw::mark::IMark const * const pMark = pSh->getIDocumentMarkAccess()->getMarkForTxtNode( in FillItemSet()
965 pSh->getIDocumentListItemsAccess()->getNumItems( maNumItems ); in FillItemSet()
968 … ::sw::mark::IMark const * const pMark = pSh->getIDocumentMarkAccess()->getMarkForTxtNode( in FillItemSet()
981 SwSetExpFieldType* pType = (SwSetExpFieldType*)pSh->GetFldType( in FillItemSet()