Lines Matching refs:pSearch
798 const SwXTextSearch* pSearch = reinterpret_cast<const SwXTextSearch*>( in replaceAll() local
804 pSearch->FillSearchOptions( aSearchOpt ); in replaceAll()
806 SwDocPositions eStart = pSearch->bBack ? DOCPOS_END : DOCPOS_START; in replaceAll()
807 SwDocPositions eEnd = pSearch->bBack ? DOCPOS_START : DOCPOS_END; in replaceAll()
814 if(pSearch->HasSearchAttributes()||pSearch->HasReplaceAttributes()) in replaceAll()
826 pSearch->FillSearchItemSet(aSearch); in replaceAll()
827 pSearch->FillReplaceItemSet(aReplace); in replaceAll()
829 nResult = (sal_Int32)pUnoCrsr->Find( aSearch, !pSearch->bStyles, in replaceAll()
832 pSearch->sSearchText.Len() ? &aSearchOpt : 0, in replaceAll()
835 else if(pSearch->bStyles) in replaceAll()
837 SwTxtFmtColl *pSearchColl = lcl_GetParaStyle(pSearch->sSearchText, pUnoCrsr->GetDoc()); in replaceAll()
838 SwTxtFmtColl *pReplaceColl = lcl_GetParaStyle(pSearch->sReplaceText, pUnoCrsr->GetDoc());; in replaceAll()
883 const SwXTextSearch* pSearch = reinterpret_cast<const SwXTextSearch*>( in FindAny() local
928 pSearch->FillSearchOptions( aSearchOpt ); in FindAny()
943 SwDocPositions eStart = !bAll ? DOCPOS_CURR : pSearch->bBack ? DOCPOS_END : DOCPOS_START; in FindAny()
944 SwDocPositions eEnd = pSearch->bBack ? DOCPOS_START : DOCPOS_END; in FindAny()
951 if(pSearch->HasSearchAttributes()) in FindAny()
959 pSearch->FillSearchItemSet(aSearch); in FindAny()
961 nResult = (sal_Int32)pUnoCrsr->Find( aSearch, !pSearch->bStyles, in FindAny()
964 pSearch->sSearchText.Len() ? &aSearchOpt : 0, in FindAny()
967 else if(pSearch->bStyles) in FindAny()
969 SwTxtFmtColl *pSearchColl = lcl_GetParaStyle(pSearch->sSearchText, pUnoCrsr->GetDoc()); in FindAny()