Lines Matching refs:pGlosGroup

346 	SwTextBlocks* pGlosGroup = pGlossaries ? pGlossaries->GetGroupDoc(m_sGroupName, sal_False) : 0;  in getTitles()  local
347 if(pGlosGroup && !pGlosGroup->GetError()) in getTitles()
348 nCount = pGlosGroup->GetCount(); in getTitles()
356 pArr[i] = pGlosGroup->GetLongName(i); in getTitles()
357 delete pGlosGroup; in getTitles()
372 SwTextBlocks* pGlosGroup = pGlossaries ? pGlossaries->GetGroupDoc(m_sGroupName, sal_False) : 0; in renameByName() local
373 if(pGlosGroup && !pGlosGroup->GetError()) in renameByName()
375 sal_uInt16 nIdx = pGlosGroup->GetIndex( aElementName); in renameByName()
380 sal_uInt16 nOldLongIdx = pGlosGroup->GetLongIndex( aNewShort ); in renameByName()
381 sal_uInt16 nOldIdx = pGlosGroup->GetIndex( aNewName ); in renameByName()
387 pGlosGroup->Rename( nIdx, &aNewShort, &aNewName ); in renameByName()
388 if(pGlosGroup->GetError() != 0) in renameByName()
391 delete pGlosGroup; in renameByName()
447 SwTextBlocks* pGlosGroup = pGlossaries ? pGlossaries->GetGroupDoc(m_sGroupName, sal_False) : 0; in insertNewByName() local
450 if(pGlosGroup && !pGlosGroup->GetError()) in insertNewByName()
478 SwDoc* pGDoc = pGlosGroup->GetDoc(); in insertNewByName()
483 INetURLObject aTemp(pGlosGroup->GetFileName()); in insertNewByName()
484 pGlosGroup->SetBaseURL( aTemp.GetMainURL(INetURLObject::NO_DECODE)); in insertNewByName()
487 pGlosGroup->SetBaseURL( aEmptyStr ); in insertNewByName()
491 nRet = pGlosGroup->PutText( sShortName, sLongName, *pOnlyTxt ); in insertNewByName()
494 pGlosGroup->ClearDoc(); in insertNewByName()
495 if( pGlosGroup->BeginPutDoc( sShortName, sLongName ) ) in insertNewByName()
500 nRet = pGlosGroup->PutDoc(); in insertNewByName()
510 pGlossaries->PutGroupDoc( pGlosGroup ); in insertNewByName()
525 SwTextBlocks* pGlosGroup = pGlossaries ? pGlossaries->GetGroupDoc(m_sGroupName, sal_False) : 0; in removeByName() local
526 if(pGlosGroup && !pGlosGroup->GetError()) in removeByName()
528 sal_uInt16 nIdx = pGlosGroup->GetIndex(aEntryName); in removeByName()
530 pGlosGroup->Delete(nIdx); in removeByName()
531 delete pGlosGroup; in removeByName()
599 SwTextBlocks* pGlosGroup = pGlossaries ? pGlossaries->GetGroupDoc(m_sGroupName, sal_False) : 0; in getCount() local
600 if(pGlosGroup && !pGlosGroup->GetError()) in getCount()
601 nCount = pGlosGroup->GetCount(); in getCount()
604 delete pGlosGroup; in getCount()
616 SwTextBlocks* pGlosGroup = pGlossaries ? pGlossaries->GetGroupDoc(m_sGroupName, sal_False) : 0; in getByIndex() local
617 if(pGlosGroup && !pGlosGroup->GetError()) in getByIndex()
618 nCount = pGlosGroup->GetCount(); in getByIndex()
622 aRet = getByName(pGlosGroup->GetShortName((sal_uInt16) nIndex)); in getByIndex()
625 delete pGlosGroup; in getByIndex()
642 SwTextBlocks* pGlosGroup = pGlossaries ? pGlossaries->GetGroupDoc(m_sGroupName, sal_False) : 0; in hasElements() local
644 if(pGlosGroup && !pGlosGroup->GetError()) in hasElements()
645 nCount = pGlosGroup->GetCount(); in hasElements()
648 delete pGlosGroup; in hasElements()
672 SwTextBlocks* pGlosGroup = pGlossaries ? pGlossaries->GetGroupDoc(m_sGroupName, sal_False) : 0; in getElementNames() local
673 if(pGlosGroup && !pGlosGroup->GetError()) in getElementNames()
674 nCount = pGlosGroup->GetCount(); in getElementNames()
682 pArr[i] = pGlosGroup->GetShortName(i); in getElementNames()
683 delete pGlosGroup; in getElementNames()
695 SwTextBlocks* pGlosGroup = pGlossaries ? pGlossaries->GetGroupDoc(m_sGroupName, sal_False) : 0; in hasByName() local
696 if(pGlosGroup && !pGlosGroup->GetError()) in hasByName()
697 nCount = pGlosGroup->GetCount(); in hasByName()
703 String sCompare(pGlosGroup->GetShortName(i)); in hasByName()
710 delete pGlosGroup; in hasByName()
737 SwTextBlocks* pGlosGroup = pGlossaries ? pGlossaries->GetGroupDoc(m_sGroupName, sal_False) : 0; in setPropertyValue() local
738 if(!pGlosGroup || pGlosGroup->GetError()) in setPropertyValue()
748 sal_Bool bChanged = !sNewTitle.equals(pGlosGroup->GetName()); in setPropertyValue()
749 pGlosGroup->SetName(sNewTitle); in setPropertyValue()
755 delete pGlosGroup; in setPropertyValue()
768 SwTextBlocks* pGlosGroup = pGlossaries ? pGlossaries->GetGroupDoc(m_sGroupName, sal_False) : 0; in getPropertyValue() local
769 if(!pGlosGroup || pGlosGroup->GetError()) in getPropertyValue()
776 aAny <<= OUString(pGlosGroup->GetFileName()); in getPropertyValue()
779 aAny <<= OUString(pGlosGroup->GetName()); in getPropertyValue()
782 delete pGlosGroup; in getPropertyValue()