Lines Matching refs:mpCurTheme
466 mpCurTheme ( NULL ), in DBG_NAME()
537 if( mpCurTheme ) in ~GalleryBrowser2()
538 mpGallery->ReleaseTheme( mpCurTheme, *this ); in ~GalleryBrowser2()
634 if( mpCurTheme && !mpCurTheme->IsReadOnly() && !mpCurTheme ->IsImported() ) in AcceptDrop()
636 if( !mpCurTheme->IsDragging() ) in AcceptDrop()
661 if( mpCurTheme ) in ExecuteDrop()
667 if( mpCurTheme->IsDragging() ) in ExecuteDrop()
668 mpCurTheme->ChangeObjectPos( mpCurTheme->GetDragPos(), nInsertPos ); in ExecuteDrop()
670 nRet = mpCurTheme->InsertTransferable( rEvt.maDropEvent.Transferable, nInsertPos ); in ExecuteDrop()
680 if( mpCurTheme ) in StartDrag()
686 mpCurTheme->StartDrag( this, nItemId - 1 ); in StartDrag()
705 if( mpCurTheme && nItemId && ( nItemId <= mpCurTheme->GetObjectCount() ) ) in ShowContextMenu()
715 mpCurTheme, in ShowContextMenu()
741 if( !bRet && !maViewBox.HasFocus() && nItemId && mpCurTheme ) in KeyInput()
744 const SgaObjKind eObjKind = mpCurTheme->GetObjectKind( nItemId - 1 ); in KeyInput()
747 const_cast< GalleryTheme* >( mpCurTheme )->GetURL( nItemId - 1, aURL ); in KeyInput()
756 if( !mpCurTheme->IsReadOnly() && mpCurTheme->GetObjectCount() ) in KeyInput()
829 if( mpCurTheme ) in SelectTheme()
830 mpGallery->ReleaseTheme( mpCurTheme, *this ); in SelectTheme()
832 mpCurTheme = mpGallery->AcquireTheme( rThemeName, *this ); in SelectTheme()
834 mpIconView = new GalleryIconView( this, mpCurTheme ); in SelectTheme()
835 mpListView = new GalleryListView( this, mpCurTheme ); in SelectTheme()
836 mpPreview = new GalleryPreview( this, mpCurTheme ); in SelectTheme()
923 if( mpCurTheme ) in SetMode()
924 mpCurTheme->GetGraphic( nPos, aGraphic ); in SetMode()
929 if( mpCurTheme && mpCurTheme->GetObjectKind( nPos ) == SGA_OBJ_SOUND ) in SetMode()
930 mpPreview->PreviewMedia( mpCurTheme->GetObjectURL( nPos ) ); in SetMode()
969 if( mpCurTheme ) in Travel()
981 … case( GALLERYBROWSERTRAVEL_LAST ): nNewItemId = mpCurTheme->GetObjectCount(); break; in Travel()
990 else if( nNewItemId > mpCurTheme->GetObjectCount() ) in Travel()
991 nNewItemId = mpCurTheme->GetObjectCount(); in Travel()
1003 mpCurTheme->GetGraphic( nPos, aGraphic ); in Travel()
1006 if( SGA_OBJ_SOUND == mpCurTheme->GetObjectKind( nPos ) ) in Travel()
1007 mpPreview->PreviewMedia( mpCurTheme->GetObjectURL( nPos ) ); in Travel()
1027 if( mpCurTheme ) in ImplUpdateViews()
1029 for( sal_uIntPtr i = 0, nCount = mpCurTheme->GetObjectCount(); i < nCount; ) in ImplUpdateViews()
1035 …ImplSelectItemId( ( ( nSelectionId > mpCurTheme->GetObjectCount() ) ? mpCurTheme->GetObjectCount()… in ImplUpdateViews()
1057 if( mpCurTheme ) in ImplUpdateInfoBar()
1066 aInfoText = mpCurTheme->GetName(); in ImplUpdateInfoBar()
1068 if( nPos < mpCurTheme->GetObjectCount() ) in ImplUpdateInfoBar()
1070 SgaObject* pObj = mpCurTheme->AcquireObject( nPos ); in ImplUpdateInfoBar()
1074 …aInfoText = GetItemText( *mpCurTheme, *pObj, GALLERY_ITEM_THEMENAME | GALLERY_ITEM_TITLE | GALLERY… in ImplUpdateInfoBar()
1075 mpCurTheme->ReleaseObject( pObj ); in ImplUpdateInfoBar()
1130 if( nRet && ( !mpCurTheme || ( nRet > mpCurTheme->GetObjectCount() ) ) ) in ImplGetSelectedItemId()
1174 if( !mpCurTheme || !nItemId ) in Dispatch()
1213 switch( mpCurTheme->GetObjectKind( mnCurActionPos ) ) in Dispatch()
1234 … aFileURL = mpCurTheme->GetObjectURL( mnCurActionPos ).GetMainURL( INetURLObject::NO_DECODE ); in Dispatch()
1239 sal_Bool bGraphic = mpCurTheme->GetGraphic( mnCurActionPos, aGraphic ); in Dispatch()
1284 if( mpCurTheme && nItemId ) in Execute()
1296 if( !mpCurTheme->IsReadOnly() && in Execute()
1299 mpCurTheme->RemoveObject( mnCurActionPos ); in Execute()
1306 SgaObject* pObj = mpCurTheme->AcquireObject( mnCurActionPos ); in Execute()
1310 … const String aOldTitle( GetItemText( *mpCurTheme, *pObj, GALLERY_ITEM_TITLE ) ); in Execute()
1327 mpCurTheme->InsertObject( *pObj ); in Execute()
1331 mpCurTheme->ReleaseObject( pObj ); in Execute()
1353 mpCurTheme->CopyToClipboard( pWindow, mnCurActionPos ); in Execute()
1359 if( !mpCurTheme->IsReadOnly() ) in Execute()
1362 mpCurTheme->InsertTransferable( aDataHelper.GetTransferable(), mnCurActionPos ); in Execute()
1434 if( mpCurTheme && mnCurActionPos != 0xffffffff ) in GetURL()
1435 aURL = mpCurTheme->GetObjectURL( mnCurActionPos ); in GetURL()
1446 if( mpCurTheme && mnCurActionPos != 0xffffffff ) in GetFilterName()
1448 const SgaObjKind eObjKind = mpCurTheme->GetObjectKind( mnCurActionPos ); in GetFilterName()
1453 INetURLObject aURL; mpCurTheme->GetURL( mnCurActionPos, aURL ); in GetFilterName()
1470 if( mpCurTheme && mnCurActionPos != 0xffffffff ) in GetGraphic()
1471 mpCurTheme->GetGraphic( mnCurActionPos, aGraphic ); in GetGraphic()
1482 if( mpCurTheme && mnCurActionPos != 0xffffffff ) in GetVCDrawModel()
1483 bRet = mpCurTheme->GetModel( mnCurActionPos, rModel ); in GetVCDrawModel()