Lines Matching refs:pGlossary
454 SwTextBlocks *pGlossary = pCurGrp ? pCurGrp in DelGlossary() local
457 if(!pGlossary || !ConvertToNew(*pGlossary)) in DelGlossary()
460 sal_uInt16 nIdx = pGlossary->GetIndex( rShortName ); in DelGlossary()
462 pGlossary->Delete( nIdx ); in DelGlossary()
464 rStatGlossaries.PutGroupDoc( pGlossary ); in DelGlossary()
476 SwTextBlocks *pGlossary; in ExpandGlossary() local
484 pGlossary = rStatGlossaries.GetGroupDoc(sGroupName); in ExpandGlossary()
507 return pGlossary ? Expand( aShortName, &rStatGlossaries, pGlossary ) : sal_False; in ExpandGlossary()
512 SwTextBlocks *pGlossary ) in Expand() argument
520 sal_uInt16 nFound = !pCfg->IsSearchInAllCategories() ? pGlossary->GetIndex( aShortName ) : -1; in Expand()
532 if(sGroupName == pGlossary->GetName()) in Expand()
554 pGlossaries->PutGroupDoc(pGlossary); in Expand()
558 pGlossary = (SwTextBlocks *)pGlossaries->GetGroupDoc(pData->sGroupName); in Expand()
559 nFound = pGlossary->GetIndex( aShortName ); in Expand()
581 pGlossary = (SwTextBlocks *)pGlossaries->GetGroupDoc(pData->sGroupName); in Expand()
582 nFound = pGlossary->GetIndex( aShortName ); in Expand()
598 pGlossaries->PutGroupDoc(pGlossary); in Expand()
615 String aLongName = pGlossary->GetLongName( nFound ); in Expand()
618 GetMacros( aShortName, aStartMacro, aEndMacro, pGlossary ); in Expand()
634 pWrtShell->InsertGlossary(*pGlossary, aShortName); in Expand()
646 pGlossaries->PutGroupDoc(pGlossary); in Expand()
706 SwTextBlocks *pGlossary ) in SetMacros() argument
708 SwTextBlocks *pGlos = pGlossary ? pGlossary : in SetMacros()
720 if(!pCurGrp && !pGlossary) in SetMacros()
727 SwTextBlocks *pGlossary ) in GetMacros() argument
729 SwTextBlocks *pGlos = pGlossary ? pGlossary in GetMacros()
748 if( !pCurGrp && !pGlossary ) in GetMacros()
783 SwTextBlocks *pGlossary = pCurGrp ? pCurGrp in Rename() local
785 if(pGlossary) in Rename()
787 if(!ConvertToNew(*pGlossary)) in Rename()
790 sal_uInt16 nIdx = pGlossary->GetIndex( rOldShort ); in Rename()
791 sal_uInt16 nOldLongIdx = pGlossary->GetLongIndex( rNewName ); in Rename()
792 sal_uInt16 nOldIdx = pGlossary->GetIndex( rNewShortName ); in Rename()
800 pGlossary->Rename( nIdx, &aNewShort, &aNewName ); in Rename()
801 bRet = pGlossary->GetError() == 0; in Rename()
804 rStatGlossaries.PutGroupDoc(pGlossary); in Rename()
812 SwTextBlocks *pGlossary = 0; in IsReadOnly() local
815 pGlossary = rStatGlossaries.GetGroupDoc( *pGrpNm ); in IsReadOnly()
817 pGlossary = pCurGrp; in IsReadOnly()
819 pGlossary = rStatGlossaries.GetGroupDoc(aCurGrp); in IsReadOnly()
821 sal_Bool bRet = pGlossary ? pGlossary->IsReadOnly() : sal_True; in IsReadOnly()
823 delete pGlossary; in IsReadOnly()
830 SwTextBlocks *pGlossary = pCurGrp ? pCurGrp in IsOld() local
832 sal_Bool bRet = pGlossary ? pGlossary->IsOld() : sal_False; in IsOld()
834 delete pGlossary; in IsOld()
851 SwTextBlocks *pGlossary = pCurGrp ? pCurGrp in CopyToClipboard() local
858 int nRet = pTransfer->CopyGlossary( *pGlossary, rShortName ); in CopyToClipboard()
860 rStatGlossaries.PutGroupDoc( pGlossary ); in CopyToClipboard()
875 SwTextBlocks *pGlossary; in ImportGlossaries() local
878 if( pR && 0 != ( pGlossary = pCurGrp ? pCurGrp in ImportGlossaries()
885 bRet = aReader.ReadGlossaries( *pR, *pGlossary, in ImportGlossaries()