Lines Matching refs:pFamily
99 …XMLFamilyData_Impl *pFamily = new XMLFamilyData_Impl( nFamily, rStrName, rMapper, aPrefix, bAsFami… in AddFamily() local
100 if( !maFamilyList.Seek_Entry( pFamily, &nPos ) ) in AddFamily()
101 maFamilyList.Insert( pFamily ); in AddFamily()
103 delete pFamily; in AddFamily()
147 XMLFamilyData_Impl* pFamily = maFamilyList.GetObject( i ); in GetRegisteredNames() local
150 SvXMLAutoStylePoolNamesP_Impl* pNames = pFamily->mpNameList; in GetRegisteredNames()
154 aFamilies.push_back( pFamily->mnFamily ); in GetRegisteredNames()
188 XMLFamilyData_Impl *pFamily = 0; in Add() local
192 pFamily = maFamilyList.GetObject( nPos ); in Add()
195 DBG_ASSERT( pFamily, "SvXMLAutoStylePool_Impl::Add: unknown family" ); in Add()
196 if( pFamily ) in Add()
201 SvXMLAutoStylePoolParentsP_Impl *pParents = pFamily->mpParentList; in Add()
212 if( pParent->Add( pFamily, rProperties, rName, bDontSeek ) ) in Add()
214 pFamily->mnCount++; in Add()
220 if( !pFamily->pCache ) in Add()
221 pFamily->pCache = new SvXMLAutoStylePoolCache_Impl( 256, 256 ); in Add()
222 if( pFamily->pCache->Count() < MAX_CACHE_SIZE ) in Add()
223 pFamily->pCache->Insert( new OUString( rName ), in Add()
224 pFamily->pCache->Count() ); in Add()
238 XMLFamilyData_Impl *pFamily = 0; in AddNamed() local
242 pFamily = maFamilyList.GetObject( nPos ); in AddNamed()
245 DBG_ASSERT( pFamily, "SvXMLAutoStylePool_Impl::Add: unknown family" ); in AddNamed()
246 if( pFamily ) in AddNamed()
251 SvXMLAutoStylePoolParentsP_Impl *pParents = pFamily->mpParentList; in AddNamed()
262 if( pParent->AddNamed( pFamily, rProperties, rName ) ) in AddNamed()
264 pFamily->mnCount++; in AddNamed()
277 XMLFamilyData_Impl *pFamily = 0; in AddToCache() local
281 pFamily = maFamilyList.GetObject( nPos ); in AddToCache()
284 DBG_ASSERT( pFamily, "SvXMLAutoStylePool_Impl::Add: unknown family" ); in AddToCache()
285 if( pFamily ) in AddToCache()
287 if( !pFamily->pCache ) in AddToCache()
288 pFamily->pCache = new SvXMLAutoStylePoolCache_Impl( 256, 256 ); in AddToCache()
289 if( pFamily->pCache->Count() < MAX_CACHE_SIZE ) in AddToCache()
290 pFamily->pCache->Insert( new OUString( rParent ), in AddToCache()
291 pFamily->pCache->Count() ); in AddToCache()
309 XMLFamilyData_Impl *pFamily = 0; in Find() local
312 pFamily = maFamilyList.GetObject( nPos ); in Find()
315 DBG_ASSERT( pFamily, "SvXMLAutoStylePool_Impl::Find: unknown family" ); in Find()
317 if( pFamily ) in Find()
322 pFamily->mpParentList; in Find()
324 sName = pParents->GetObject( nPos )->Find( pFamily, rProperties ); in Find()
336 XMLFamilyData_Impl *pFamily = 0; in FindAndRemoveCached() local
339 pFamily = maFamilyList.GetObject( nPos ); in FindAndRemoveCached()
342 DBG_ASSERT( pFamily, "SvXMLAutoStylePool_Impl::Find: unknown family" ); in FindAndRemoveCached()
344 if( pFamily ) in FindAndRemoveCached()
346 DBG_ASSERT( pFamily->pCache, "family doesn't have a cache" ); in FindAndRemoveCached()
350 if( pFamily->pCache && pFamily->pCache->Count() ) in FindAndRemoveCached()
352 OUString *pName = pFamily->pCache->Remove( 0UL ); in FindAndRemoveCached()
378 XMLFamilyData_Impl *pFamily = 0; in exportXML() local
381 pFamily = maFamilyList.GetObject( nPos ); in exportXML()
382 nCount = pFamily->mnCount; in exportXML()
385 DBG_ASSERT( pFamily, in exportXML()
387 if( pFamily && nCount > 0 ) in exportXML()
394 pFamily->mpParentList; in exportXML()
433 OUString aStrFamilyName = pFamily->maStrFamilyName; in exportXML()
446 if( pFamily->bAsFamily ) in exportXML()
461 if( pFamily->bAsFamily ) in exportXML()
464 sName = pFamily->maStrFamilyName; in exportXML()
470 *pFamily->mxMapper.get() in exportXML()
486 pFamily->mxMapper->getPropertySetMapper(); in exportXML()
499 pFamily->mxMapper->exportXML( in exportXML()
508 *pFamily->mxMapper.get(), in exportXML()