Lines Matching refs:pTheme
72 GalleryTheme* pTheme = pGal->AcquireTheme( rThemeName, aListener ); in FillObjList() local
74 if( pTheme ) in FillObjList()
76 for( sal_uIntPtr i = 0, nCount = pTheme->GetObjectCount(); i < nCount; i++ ) in FillObjList()
77 …rObjList.Insert( new String( pTheme->GetObjectURL( i ).GetMainURL( INetURLObject::NO_DECODE ) ), L… in FillObjList()
79 pGal->ReleaseTheme( pTheme, aListener ); in FillObjList()
102 GalleryTheme* pTheme = pGal->AcquireTheme( pGal->GetThemeName( nThemeId ), aListener ); in FillObjListTitle() local
104 if( pTheme ) in FillObjListTitle()
106 for( sal_uIntPtr i = 0, nCount = pTheme->GetObjectCount(); i < nCount; i++ ) in FillObjListTitle()
108 SgaObject* pObj = pTheme->AcquireObject( i ); in FillObjListTitle()
113 pTheme->ReleaseObject( pObj ); in FillObjListTitle()
116 pGal->ReleaseTheme( pTheme, aListener ); in FillObjListTitle()
132 GalleryTheme* pTheme = pGal->AcquireTheme( rThemeName, aListener ); in InsertURL() local
134 if( pTheme ) in InsertURL()
138 bRet = pTheme->InsertURL( aURL ); in InsertURL()
139 pGal->ReleaseTheme( pTheme, aListener ); in InsertURL()
164 GalleryTheme* pTheme = pGal->AcquireTheme( rThemeName, aListener ); in GetObjCount() local
166 if( pTheme ) in GetObjCount()
168 nRet = pTheme->GetObjectCount(); in GetObjCount()
169 pGal->ReleaseTheme( pTheme, aListener ); in GetObjCount()
196 GalleryTheme* pTheme = pGal->AcquireTheme( rThemeName, aListener ); in GetGraphicObj() local
198 if( pTheme ) in GetGraphicObj()
201 bRet = bRet || pTheme->GetGraphic( nPos, *pGraphic, bProgress ); in GetGraphicObj()
204 bRet = bRet || pTheme->GetThumb( nPos, *pThumb, bProgress ); in GetGraphicObj()
206 pGal->ReleaseTheme( pTheme, aListener ); in GetGraphicObj()
233 GalleryTheme* pTheme = pGal->AcquireTheme( rThemeName, aListener ); in InsertGraphicObj() local
235 if( pTheme ) in InsertGraphicObj()
237 bRet = pTheme->InsertGraphic( rGraphic ); in InsertGraphicObj()
238 pGal->ReleaseTheme( pTheme, aListener ); in InsertGraphicObj()
263 GalleryTheme* pTheme = pGal->AcquireTheme( rThemeName, aListener ); in GetSdrObjCount() local
265 if( pTheme ) in GetSdrObjCount()
267 for( sal_uIntPtr i = 0, nCount = pTheme->GetObjectCount(); i < nCount; i++ ) in GetSdrObjCount()
268 if( SGA_OBJ_SVDRAW == pTheme->GetObjectKind( i ) ) in GetSdrObjCount()
271 pGal->ReleaseTheme( pTheme, aListener ); in GetSdrObjCount()
297 GalleryTheme* pTheme = pGal->AcquireTheme( rThemeName, aListener ); in GetSdrObj() local
299 if( pTheme ) in GetSdrObj()
301 …for( sal_uIntPtr i = 0, nCount = pTheme->GetObjectCount(), nActPos = 0; ( i < nCount ) && !bRet; i… in GetSdrObj()
303 if( SGA_OBJ_SVDRAW == pTheme->GetObjectKind( i ) ) in GetSdrObj()
308 bRet = bRet || pTheme->GetModel( i, *pModel, sal_False ); in GetSdrObj()
311 bRet = bRet || pTheme->GetThumb( i, *pThumb ); in GetSdrObj()
316 pGal->ReleaseTheme( pTheme, aListener ); in GetSdrObj()
342 GalleryTheme* pTheme = pGal->AcquireTheme( rThemeName, aListener ); in InsertSdrObj() local
344 if( pTheme ) in InsertSdrObj()
346 bRet = pTheme->InsertModel( rModel ); in InsertSdrObj()
347 pGal->ReleaseTheme( pTheme, aListener ); in InsertSdrObj()
371 GalleryTheme* pTheme = pGal->AcquireTheme( rThemeName, aLockListener ); in BeginLocking() local
373 if( pTheme ) in BeginLocking()
375 pTheme->LockTheme(); in BeginLocking()
401 GalleryTheme* pTheme = pGal->AcquireTheme( rThemeName, aListener ); in EndLocking() local
403 if( pTheme ) in EndLocking()
405 const sal_Bool bReleaseLockedTheme = pTheme->UnlockTheme(); in EndLocking()
408 pGal->ReleaseTheme( pTheme, aListener ); in EndLocking()
413 pGal->ReleaseTheme( pTheme, aLockListener ); in EndLocking()